Muster SDK
8.0
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MMaillist.h
Go to the documentation of this file.
1
/*****************************************************************************
2
**
3
** Header file for Muster API Repository object
4
**
5
** Name : MRepository.h
6
** Author : Leonardo Bernardini
7
** Version : 1.0, Sat Mar 2nd 2013
8
**
9
** Copyright 2000-2014, Virtual Vertex
10
** All Rights Reserved.
11
**
12
** This file contains UNPUBLISHED PROPRIETARY SOURCE CODE.
13
** The contents of this file may not be disclosed to third parties, copied
14
** or duplicated in any form, in whole or in part, without the prior written
15
** permission of the author.
16
**
17
*****************************************************************************/
18
#ifndef MMAILLIST_H
19
#define MMAILLIST_H
20
21
#ifdef WIN32
22
// Windows definitions
23
#ifdef MCLIENTLIB_EXPORTS
24
#define MCLIENTLIB_API __declspec(dllexport)
25
#else
26
#define MCLIENTLIB_API __declspec(dllimport)
27
#endif
28
#else
29
30
#ifndef MCLIENTLIB_EXPORTS
31
#ifdef LINUX
32
#define MCLIENTLIB_API
33
#else
34
#define MCLIENTLIB_API
35
#endif
36
#else
37
#define MCLIENTLIB_API
38
#endif
39
#endif
40
41
42
// Disable STL Export warning, member is private, we don't need direct access from the DLL client
43
#if defined(_WIN32)
44
#pragma warning(disable: 4251)
45
#endif // _WIN32
46
47
#include <string>
48
#include <list>
49
#include <vector>
50
51
namespace
MClientLib {
52
56
class
MCLIENTLIB_API
MMailList
{
57
private
:
58
long
id;
59
std::string name;
60
std::string content;
61
public
:
62
MMailList
();
63
virtual
~
MMailList
();
64
virtual
long
getId();
65
virtual
std::string getName();
66
virtual
std::string getContent();
67
68
virtual
void
setId(
long
_id);
69
virtual
void
setName(
const
std::string& _name);
70
virtual
void
setContent(
const
std::string& _content);
71
72
virtual
bool
Unmarshall(std::vector<std::string>& items);
73
virtual
std::string Marshall();
74
};
75
76
77
}
78
79
#endif
sdk
includes
MClientLib
MMaillist.h
Generated on Fri Jun 20 2014 14:53:45 for Muster SDK by
1.8.3.1