COVISE Core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
coGRSetDocPageSizeMsg.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 COGRSETDOCPAGESIZE_H
17 #define COGRSETDOCPAGESIZE_H
18 
19 #include "coGRDocMsg.h"
20 #include <util/coExport.h>
21 
22 namespace grmsg
23 {
24 
26 {
27 public:
28  // construct msg to send
29  coGRSetDocPageSizeMsg(const char *document_name, int pageNo, float hsize, float vsize);
30 
31  // reconstruct from received msg
32  coGRSetDocPageSizeMsg(const char *msg);
33 
34  // specific functions
35  float getHSize()
36  {
37  return hSize_;
38  };
39  float getVSize()
40  {
41  return vSize_;
42  };
43  int getPageNo()
44  {
45  return pageNo_;
46  };
47 
48 private:
49  float hSize_, vSize_;
50  int pageNo_;
51 };
52 }
53 #endif
Definition: coGRDocMsg.h:25
float getVSize()
Definition: coGRSetDocPageSizeMsg.h:39
#define GRMSGEXPORT
Definition: coExport.h:337
float getHSize()
Definition: coGRSetDocPageSizeMsg.h:35
int pageNo_
Definition: coGRSetDocPageSizeMsg.h:50
Definition: coGRSetDocPageSizeMsg.h:25
int getPageNo()
Definition: coGRSetDocPageSizeMsg.h:43