~ubuntu-branches/ubuntu/saucy/sflphone/saucy

« back to all changes in this revision

Viewing changes to sflphone-common/src/plug-in/pluginmanager.h

  • Committer: Bazaar Package Importer
  • Author(s): Francois Marier
  • Date: 2010-12-24 16:33:55 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20101224163355-tkvvikqxbrbav6up
Tags: 0.9.11-1
* New upstream release
* Add new build dependencies on libwebkit-dev and libyaml-dev

* Bump Standards-Version up to 3.9.1
* Bump debhelper compatibility to 8
* Patch another typo in the upstream code (lintian notice)

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#include "librarymanager.h"
40
40
#include "global.h"
41
41
 
42
 
#include <map> 
43
 
#include <string> 
44
 
#include <vector> 
 
42
#include <map>
 
43
#include <string>
 
44
#include <vector>
45
45
 
46
46
class Plugin;
47
47
 
55
55
 
56
56
#include "plugin.h"
57
57
 
58
 
class PluginManager {
 
58
class PluginManager
 
59
{
59
60
    public:
60
61
        /**
61
62
         * Destructor
86
87
        bool isPluginLoaded (const std::string &name);
87
88
 
88
89
        int registerPlugin (Plugin *plugin, LibraryManager *library);
89
 
        
 
90
 
90
91
        int unregisterPlugin (PluginInfo *plugin);
91
92
 
92
 
        int deletePlugin (PluginInfo *plugin); 
 
93
        int deletePlugin (PluginInfo *plugin);
93
94
 
94
95
        /**
95
 
         * Load a unix dynamic/shared library 
 
96
         * Load a unix dynamic/shared library
96
97
         * @param filename  The path to the dynamic/shared library
97
98
         * @return LibraryManager*    A pointer on the library
98
99
         */
99
100
        LibraryManager* loadDynamicLibrary (const std::string &filename);
100
101
 
101
102
        /**
102
 
         * Unload a unix dynamic/shared library 
 
103
         * Unload a unix dynamic/shared library
103
104
         * @param LibraryManager*  The pointer on the loaded library
104
105
         */
105
106
        int unloadDynamicLibrary (LibraryManager* libraryPtr);