Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUISwitchResourceSetsCmd.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#if !defined(GUI_SWITCH_RESOURCESETS_CMD_H)
11#define GUI_SWITCH_RESOURCESETS_CMD_H
12
13#include "GUITypes.h"
14
15#include "GUICommand.h"
16
21{
22public:
27 CGUISwitchResourceSetsCmd(const ResourceType_t eResourceType, const eC_String kResourceSetName);
28
29#if defined(GUILIANI_STREAM_GUI)
31 virtual void ReadFromStream();
32#endif
33
34#if defined(GUILIANI_WRITE_GUI)
35 virtual void WriteToStream(const eC_Bool bWriteClassID = false);
36#endif
37
38#if defined(GUILIANI_STREAM_GUI) || defined(GUILIANI_WRITE_GUI)
39 static const eC_Char XMLTAG_RESOURCETYPE[];
40 static const eC_Char XMLTAG_RESOURCESETNAME[];
41#endif
42
43protected:
45 virtual void Do();
46
47private:
48 ResourceType_t m_eResourceType;
49 eC_String m_kResourceSetName;
50};
51
52#endif
Command object base class.
Definition: GUICommand.h:127
This command can be used to switch to other resource-sets during runtime.
Definition: GUISwitchResourceSetsCmd.h:21
static const eC_Char XMLTAG_RESOURCESETNAME[]
resource-setname
Definition: GUISwitchResourceSetsCmd.h:40
virtual void WriteToStream(const eC_Bool bWriteClassID=false)
static const eC_Char XMLTAG_RESOURCETYPE[]
resource-type
Definition: GUISwitchResourceSetsCmd.h:39
CGUISwitchResourceSetsCmd(const ResourceType_t eResourceType, const eC_String kResourceSetName)
virtual void ReadFromStream()