Changeset 4868 for branches/erijo-dev

Show
Ignore:
Timestamp:
03/20/07 05:15:42 (20 months ago)
Author:
erijo
Message:

Move plugin type to plugininformation.h

Location:
branches/erijo-dev/licq/licq/interface
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • branches/erijo-dev/licq/licq/interface/plugin.h

    r4852 r4868  
    3636{ 
    3737public: 
    38   enum PluginType 
    39   { 
    40     PluginTypeInvalid  = 0x0, 
    41     PluginTypeProtocol = 0x1, 
    42     PluginTypeGeneral  = 0x2, 
    43     PluginTypeUi       = 0x4 
    44   }; 
    45  
    4638  /// Destroy this plugin. 
    4739  virtual ~IPlugin(); 
     
    5446  virtual TPluginId getPluginId() const = 0; 
    5547 
    56   virtual bool init(const TStringList& args, int readPipe, IEventQueue* eventQueue) = 0; 
     48  virtual bool init(const TStringList& args, IEventQueue* eventQueue) = 0; 
    5749  virtual long run() = 0; 
    5850}; 
  • branches/erijo-dev/licq/licq/interface/plugininformation.h

    r4852 r4868  
    2121#define LICQ_TPLUGININFORMATION_H 
    2222 
    23 #include "licq/interface/plugin.h" 
    24  
    2523#include <string> 
    2624#include <vector> 
     
    2826namespace Licq 
    2927{ 
     28 
     29enum TPluginType 
     30{ 
     31  PLUGIN_TYPE_INVALID  = 0x0, 
     32  PLUGIN_TYPE_PROTOCOL = 0x1, 
     33  PLUGIN_TYPE_GENERAL  = 0x2, 
     34  PLUGIN_TYPE_UI       = 0x4 
     35}; 
    3036 
    3137struct TPluginAuthor 
     
    3945{ 
    4046  unsigned int IntVersion; 
    41   IPlugin::PluginType Type; 
     47  TPluginType Type; 
    4248 
    4349  std::string Name; 
    4450  std::string Version; 
    4551  std::string Description; 
     52  std::string Homepage; 
    4653 
    4754  std::vector<TPluginAuthor> Authors;