| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#include <boca.h> |
| 14 |
|
| 15 |
#include "layer.h" |
| 16 |
#include "writer.h" |
| 17 |
|
| 18 |
BoCA_BEGIN_COMPONENT(Protocols) |
| 19 |
|
| 20 |
namespace BoCA |
| 21 |
{ |
| 22 |
class Protocols : public CS::ExtensionComponent |
| 23 |
{ |
| 24 |
private: |
| 25 |
ConfigLayer *configLayer; |
| 26 |
|
| 27 |
ProtocolWriter protocolWriter; |
| 28 |
LayerProtocols *mainTabLayer; |
| 29 |
|
| 30 |
Void DeleteOldProtocols(); |
| 31 |
public: |
| 32 |
static const String &GetComponentSpecs(); |
| 33 |
|
| 34 |
Protocols(); |
| 35 |
~Protocols(); |
| 36 |
|
| 37 |
ConfigLayer *GetConfigurationLayer(); |
| 38 |
callbacks: |
| 39 |
Layer *GetMainTabLayer(); |
| 40 |
}; |
| 41 |
}; |
| 42 |
|
| 43 |
BoCA_DEFINE_EXTENSION_COMPONENT(Protocols) |
| 44 |
|
| 45 |
BoCA_END_COMPONENT(Protocols) |