COVISE Core
coGRSendDocNumbersMsg.h
Go to the documentation of this file.
1/* This file is part of COVISE.
2
3 You can use it under the terms of the GNU Lesser General Public License
4 version 2.1 or later, see lgpl-2.1.txt.
5
6 * License: LGPL 2+ */
7
8//-*-Mode: C++;-*-
9// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
10// ++ (C)2008 VISENSO ++
11// ++ coGRSendDocNumbersMsg - sends min and may mumber of pages to GUI ++
12// ++ ++
13// ++ ++
14// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16#ifndef COGRSENDDOCNUMBERSMSG_H
17#define COGRSENDDOCNUMBERSMSG_H
18
19#include "coGRDocMsg.h"
20#include <util/coExport.h>
21
22namespace grmsg
23{
24
26{
27public:
28 // construct msg to send
29 coGRSendDocNumbersMsg(const char *document_name, int minPage, int maxPage);
30
31 // reconstruct from received msg
32 coGRSendDocNumbersMsg(const char *msg);
33
34 // specific functions
36 {
37 return minPage_;
38 };
40 {
41 return maxPage_;
42 };
43
44private:
45 int minPage_, maxPage_;
46};
47}
48#endif
#define GRMSGEXPORT
Definition: coExport.h:349
Definition: coGRActivatedViewpointMsg.h:23
Definition: coGRDocMsg.h:26
Definition: coGRSendDocNumbersMsg.h:26
int getMinPage()
Definition: coGRSendDocNumbersMsg.h:35
int maxPage_
Definition: coGRSendDocNumbersMsg.h:45
int getMaxPage()
Definition: coGRSendDocNumbersMsg.h:39