Changeset 4868 for branches/erijo-dev
- Timestamp:
- 03/20/07 05:15:42 (20 months ago)
- Location:
- branches/erijo-dev/licq/licq/interface
- Files:
-
- 2 modified
-
plugin.h (modified) (2 diffs)
-
plugininformation.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/erijo-dev/licq/licq/interface/plugin.h
r4852 r4868 36 36 { 37 37 public: 38 enum PluginType39 {40 PluginTypeInvalid = 0x0,41 PluginTypeProtocol = 0x1,42 PluginTypeGeneral = 0x2,43 PluginTypeUi = 0x444 };45 46 38 /// Destroy this plugin. 47 39 virtual ~IPlugin(); … … 54 46 virtual TPluginId getPluginId() const = 0; 55 47 56 virtual bool init(const TStringList& args, int readPipe,IEventQueue* eventQueue) = 0;48 virtual bool init(const TStringList& args, IEventQueue* eventQueue) = 0; 57 49 virtual long run() = 0; 58 50 }; -
branches/erijo-dev/licq/licq/interface/plugininformation.h
r4852 r4868 21 21 #define LICQ_TPLUGININFORMATION_H 22 22 23 #include "licq/interface/plugin.h"24 25 23 #include <string> 26 24 #include <vector> … … 28 26 namespace Licq 29 27 { 28 29 enum TPluginType 30 { 31 PLUGIN_TYPE_INVALID = 0x0, 32 PLUGIN_TYPE_PROTOCOL = 0x1, 33 PLUGIN_TYPE_GENERAL = 0x2, 34 PLUGIN_TYPE_UI = 0x4 35 }; 30 36 31 37 struct TPluginAuthor … … 39 45 { 40 46 unsigned int IntVersion; 41 IPlugin::PluginType Type;47 TPluginType Type; 42 48 43 49 std::string Name; 44 50 std::string Version; 45 51 std::string Description; 52 std::string Homepage; 46 53 47 54 std::vector<TPluginAuthor> Authors;
