1 |
#include "ListPlugin.h" |
#include "ListPlugin.h" |
2 |
#include "IGsmModem.h" |
#include "ISmsTransceiver.h" |
3 |
#include "Sms.h" |
#include "Sms.h" |
4 |
#include "common.h" |
#include "Common.h" |
5 |
#include "PluginManager.h" |
#include "PluginManager.h" |
6 |
|
|
7 |
ListPlugin::ListPlugin() |
ListPlugin::ListPlugin() |
8 |
: Plugin("list", "return a list of all loaded plugins") |
: Plugin("list", "return a list of all loaded plugins") |
9 |
{ |
{ |
10 |
} |
} |
11 |
|
|
12 |
void ListPlugin::Execute(IGsmModem& modem, SMS& sms) |
void ListPlugin::Execute(ISmsTransceiver& modem, SMS& sms) |
13 |
{ |
{ |
14 |
|
|
15 |
std::vector<Plugin*> plugins = Common::instance()->GetPluginManager()->GetPluginList(); |
std::vector<Plugin*> plugins = Common::instance()->GetPluginManager()->GetPluginList(); |