| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
#ifndef H_PROTOCOLS_LAYER |
| 14 |
#define H_PROTOCOLS_LAYER |
| 15 |
|
| 16 |
#include <smooth.h> |
| 17 |
#include <boca.h> |
| 18 |
|
| 19 |
using namespace smooth; |
| 20 |
using namespace smooth::GUI; |
| 21 |
|
| 22 |
using namespace BoCA; |
| 23 |
|
| 24 |
namespace BoCA |
| 25 |
{ |
| 26 |
class LayerProtocols : public Layer |
| 27 |
{ |
| 28 |
private: |
| 29 |
Threads::Mutex mutex; |
| 30 |
|
| 31 |
Text *text_protocol; |
| 32 |
ComboBox *combo_protocol; |
| 33 |
Button *btn_save; |
| 34 |
|
| 35 |
ListBox *list_protocol; |
| 36 |
|
| 37 |
Array<String> displayNames; |
| 38 |
slots: |
| 39 |
Void UpdateProtocolList(); |
| 40 |
Void UpdateProtocol(const String &); |
| 41 |
|
| 42 |
Void SelectProtocol(); |
| 43 |
Void SaveProtocol(); |
| 44 |
|
| 45 |
Void OnChangeSize(const Size &); |
| 46 |
Void OnChangeLanguageSettings(); |
| 47 |
public: |
| 48 |
LayerProtocols(); |
| 49 |
~LayerProtocols(); |
| 50 |
}; |
| 51 |
}; |
| 52 |
|
| 53 |
#endif |