infoInterface.h File Reference

#include "interface.h"
#include <util/net.h>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  Spm
namespace  Spm::Plugin

Classes

class  Spm::Plugin::InfoInterface
 Base class for all Information Plugin. More...
class  Spm::Plugin::InfoInterface::version
 Version of an element. More...
class  Spm::Plugin::InfoInterface::element
 Base struct for set and package. More...
class  Spm::Plugin::InfoInterface::set
 A group of element. More...
class  Spm::Plugin::InfoInterface::package
 A package is an object that can be installed. More...

Defines

#define SPM_INFO_PLUGIN(plugin)


Define Documentation

#define SPM_INFO_PLUGIN ( plugin   ) 

Value:

extern "C"                                                              \
  {                                                                     \
    Spm::Plugin::pluginDescription_t getSpmPluginDescription ()         \
    {                                                                   \
      return plugin ().getDescription ();                               \
    }                                                                   \
                                                                        \
    plugin * getSpmPlugin (const miniXml::ustring & url)                \
    {                                                                   \
      return new plugin (url);                                          \
    }                                                                   \
                                                                        \
    plugin * getSpmPluginInfo ()                                        \
    {                                                                   \
      return new plugin ();                                             \
    }                                                                   \
  }


Generated on Sat Mar 21 17:00:14 2009 for libSpm by  doxygen 1.5.2