COVISE Core
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
grmsg
coGRSetDocPageMsg.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)2007 VISENSO ++
11
// ++ coGRSetDocPageMsg - set page of opened document in COVER ++
12
// ++ ++
13
// ++ ++
14
// +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
15
16
#ifndef COGRSETDOCPAGEMSG_H
17
#define COGRSETDOCPAGEMSG_H
18
19
#include "
coGRDocMsg.h
"
20
#include <
util/coExport.h
>
21
22
namespace
grmsg
23
{
24
25
class
GRMSGEXPORT
coGRSetDocPageMsg
:
public
coGRDocMsg
26
{
27
public
:
28
// construct msg to send
29
coGRSetDocPageMsg
(
const
char
*document_name,
int
page);
30
31
// reconstruct from received msg
32
coGRSetDocPageMsg
(
const
char
*msg);
33
34
// specific functions
35
int
getPage
()
36
{
37
return
page_;
38
};
39
40
private
:
41
int
page_;
42
};
43
}
44
#endif
grmsg::coGRDocMsg
Definition:
coGRDocMsg.h:25
coGRDocMsg.h
coExport.h
GRMSGEXPORT
#define GRMSGEXPORT
Definition:
coExport.h:337
grmsg::coGRSetDocPageMsg::getPage
int getPage()
Definition:
coGRSetDocPageMsg.h:35
grmsg::coGRSetDocPageMsg
Definition:
coGRSetDocPageMsg.h:25
Generated by
1.8.5