#include <ax_resource/ax_fallbacks.h>
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 AxResource * | LoadResource (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 AxActivator * | CreateActivator (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 |
AxFallbackModule::AxFallbackModule | ( | ) |
Constructor.
AxFallbackModule::~AxFallbackModule | ( | ) | [inline] |
Destructor.
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] |
bool AxFallbackModule::OnInit | ( | ) | [virtual] |
bool AxFallbackModule::OnInitUI | ( | ) | [virtual] |
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.
bool AxFallbackModule::sm_fallbacksEnabled = true [static, protected] |