AxFallbackModule Class Reference
[AxTk resource classes]

A module for dealing with files not dealt with by other modules. More...

#include <ax_resource/ax_fallbacks.h>

Inheritance diagram for AxFallbackModule:

AxModule

List of all members.

Public Member Functions

 AxFallbackModule ()
 Constructor.
 ~AxFallbackModule ()
 Destructor.
virtual bool OnInit ()
 Called on IDE startup, before the main window has been created.
virtual bool OnInitUI ()
 Called on application startup, after the main window has been created.
virtual void OnExit ()
 Called just before program termination, but only if OnInit().
virtual bool LoadConfig (wxConfigBase &config)
 Read config settings.
virtual bool SaveConfig (wxConfigBase &config)
 Write config settings.
virtual bool OnCloseMainWindow ()
virtual bool OnSearch (const wxString &WXUNUSED(searchString), int WXUNUSED(flags), AxResourceLibrary *WXUNUSED(library))
virtual bool IsFileSupported (const wxString &filename)
 Is this file supported?
virtual AxResourceLoadResource (const wxString &filename)
 Load the file into a new AxResource.
virtual bool AggregateFiles (AxResourceLibrary *library, wxArrayString &files, bool checkIfFileLoaded)
 Aggregate any files that belong together and add to resources.
virtual AxActivatorCreateActivator (AxResourceLibrary *library, AxResource *resource)
 Create an activator for the resource, for creating views and further menu items.

Static Public Member Functions

static bool GetFallbacksEnabled ()
 Fallbacks enabled.
static void EnableFallbacks (bool enabled)
 Enable fallbacks.

Static Protected Attributes

static bool sm_fallbacksEnabled = true


Detailed Description

A module for dealing with files not dealt with by other modules.

Constructor & Destructor Documentation

AxFallbackModule::AxFallbackModule (  ) 

Constructor.

AxFallbackModule::~AxFallbackModule (  )  [inline]

Destructor.


Member Function Documentation

virtual bool AxFallbackModule::AggregateFiles ( AxResourceLibrary library,
wxArrayString &  files,
bool  checkIfFileLoaded 
) [virtual]

Aggregate any files that belong together and add to resources.

Return false if you don't aggregate any files.

virtual AxActivator* AxFallbackModule::CreateActivator ( AxResourceLibrary library,
AxResource resource 
) [virtual]

Create an activator for the resource, for creating views and further menu items.

static void AxFallbackModule::EnableFallbacks ( bool  enabled  )  [inline, static]

Enable fallbacks.

static bool AxFallbackModule::GetFallbacksEnabled (  )  [inline, static]

Fallbacks enabled.

bool AxFallbackModule::IsFileSupported ( const wxString &  filename  )  [virtual]

Is this file supported?

bool AxFallbackModule::LoadConfig ( wxConfigBase &  config  )  [virtual]

Read config settings.

AxResource * AxFallbackModule::LoadResource ( const wxString &  filename  )  [virtual]

Load the file into a new AxResource.

virtual bool AxFallbackModule::OnCloseMainWindow (  )  [inline, virtual]

Reimplemented from AxModule.

void AxFallbackModule::OnExit (  )  [virtual]

Called just before program termination, but only if OnInit().

succeeded.

Implements AxModule.

bool AxFallbackModule::OnInit (  )  [virtual]

Called on IDE startup, before the main window has been created.

Implements AxModule.

bool AxFallbackModule::OnInitUI (  )  [virtual]

Called on application startup, after the main window has been created.

Implements AxModule.

virtual bool AxFallbackModule::OnSearch ( const wxString &  WXUNUSEDsearchString,
int   WXUNUSEDflags,
AxResourceLibrary WXUNUSEDlibrary 
) [inline, virtual]

Reimplemented from AxModule.

bool AxFallbackModule::SaveConfig ( wxConfigBase &  config  )  [virtual]

Write config settings.


Member Data Documentation

bool AxFallbackModule::sm_fallbacksEnabled = true [static, protected]


The documentation for this class was generated from the following files:

Generated on Wed May 6 19:22:07 2009 for AxTk by  doxygen 1.5.8