OpenCPN Partial API docs
Loading...
Searching...
No Matches
smapi.h
1
2
// Name: smapi.h
3
// Purpose: Simple MAPI classes
4
// Author: PJ Naughter <pjna@naughter.com>
5
// Modified by: Julian Smart
6
// Created: 2001-08-21
7
// RCS-ID: $Id: smapi.h 35650 2005-09-23 12:56:45Z MR $
8
// Copyright: (c) PJ Naughter
9
// Licence: wxWindows licence
11
12
#ifndef _WX_SMAPI_H_
13
#define _WX_SMAPI_H_
14
15
#include "
msg.h
"
16
17
class
WXDLLIMPEXP_NETUTILS wxMapiData;
18
19
// The class which encapsulates the MAPI connection
20
class
WXDLLIMPEXP_NETUTILS
wxMapiSession
{
21
public
:
22
// Constructors / Destructors
23
wxMapiSession
();
24
~wxMapiSession
();
25
26
// Logon / Logoff Methods
27
bool
Logon(
const
wxString& sProfileName,
28
const
wxString& sPassword = wxEmptyString,
29
wxWindow* pParentWnd =
nullptr
);
30
bool
LoggedOn()
const
;
31
bool
Logoff();
32
33
// Send a message
34
bool
Send(
wxMailMessage
& message);
35
36
// General MAPI support
37
bool
MapiInstalled()
const
;
38
39
// Error Handling
40
long
GetLastError()
const
;
41
42
protected
:
43
// Methods
44
void
Initialise();
45
void
Deinitialise();
46
bool
Resolve(
const
wxString& sName,
void
* lppRecip1);
47
48
wxMapiData* m_data;
49
};
50
51
#endif
//_WX_SMAPI_H_
wxMailMessage
Definition
msg.h:40
wxMapiSession
Definition
smapi.h:20
msg.h
Email Message Encapsulation.
plugins
grib_pi
src
smapi.h
Generated on Sat Mar 1 2025 02:28:52 for OpenCPN Partial API docs by
1.9.8