Wtx ~ Wt Extension Library
WtxLib
Classes | Functions
Wtx::Eml Namespace Reference

Email Management. More...

Classes

class  Attachment
 
class  AttachmentEditor
 
class  Composer
 
class  ManagerWidget
 

Functions

void mapClasses ()
 
void postCreateTables ()
 
Wtx::Dbo::Sessionsession ()
 Current Session. More...
 
Wt::Dbo::ptr< Wtx::Sys::User::ItemcurrentUser ()
 Get Current User. More...
 

Detailed Description

Email Management.

Function Documentation

Wt::Dbo::ptr< Wtx::Sys::User::Item > Wtx::Eml::currentUser ( )

Get Current User.

This is a function that needs to be provided by the application. The system user object is provided by the application and the exact source of that user is not known by the subsystem itself.

The function should be defined as follows:

2320 namespace Eml {
2321 Wt::Dbo::ptr< Wtx::Sys::User::Item > currentUser()
2322 {
2323 return myApp()-> session()-> user();
2324 }
2325 } // endnamespace Eml {
Wtx::Dbo::Session* Wtx::Eml::session ( )

Current Session.

This is a function that needs to be provided by the application. The session object is provided by the application and the exact source of that session is not known by the subsystem itself.