|
CLAM-Development
1.3
|
00001 #include "RunTimeLibraryLoader.hxx" 00002 00003 class RunTimeProcessingLibraryLoader : public RunTimeLibraryLoader 00004 { 00005 00006 protected: 00007 00008 const bool needReleaseHandlerOnReload() const { return true; } 00009 const char ** standardPaths() const 00010 { 00011 static const char * result[] = 00012 { 00013 "/usr/local/lib/clam", 00014 "/usr/lib/clam", 00015 "/opt/lib/clam", 00016 "c:/Program Files/CLAM/NetworkEditor/lib/clam", 00017 0 00018 }; 00019 return result; 00020 } 00021 00022 const char * homePath() const { return "/.clam/plugins"; } 00023 const char * pathEnvironmentVar() const { return "CLAM_PLUGIN_PATH"; } 00024 const char * libraryType() const { return "CLAM"; } 00025 }; 00026 00027 class AutomaticRunTimeProcessingLibraryLoader 00028 { 00029 public: 00030 AutomaticRunTimeProcessingLibraryLoader() 00031 { 00032 RunTimeProcessingLibraryLoader loader; 00033 loader.Load(); 00034 } 00035 }; 00036 00037 static AutomaticRunTimeProcessingLibraryLoader dllLoader; 00038
1.7.6.1