GnuCashew ~ GnuCash Enabled Web
GCW
Public Member Functions | Private Member Functions | Private Attributes | List of all members
GCW::App Class Reference

#include <App.h>

Inherits Wt::WApplication.

Public Member Functions

 App (const Wt::WEnvironment &env)
 
GCW::Eng::Engineengine ()
 
Dbo::AbstractSessionsession ()
 
Dbo::GnuCashew::Sessiongnucashew_session ()
 
GCW::Gui::MainWidgetmainWidget ()
 

Private Member Functions

auto showWelcome () -> void
 
auto buildSite () -> void
 
auto buildLogin () -> void
 
auto buildLoggedIn () -> void
 
auto createAuthWidget () -> std::unique_ptr< Wt::Auth::AuthWidget >
 

Private Attributes

Dbo::GnuCashew::Session m_gnucashew_session
 
Wt::WContainerWidget * m_mainContainer = nullptr
 
std::unique_ptr< Wt::Auth::AuthWidget > m_authWidget
 
Wt::Auth::AuthWidget * m_authPointer = nullptr
 
std::unique_ptr< Wt::WTimer > m_timer
 
GCW::Gui::MainWidgetm_mainWidget = nullptr
 
GCW::Eng::Engine m_engine
 

Detailed Description

Definition at line 24 of file App.h.

Constructor & Destructor Documentation

◆ App()

GCW::App::App ( const Wt::WEnvironment &  env)

Member Function Documentation

◆ buildLoggedIn()

auto GCW::App::buildLoggedIn ( ) -> void
private

Definition at line 271 of file App.cpp.

References g_dbName, and showWelcome().

◆ buildLogin()

auto GCW::App::buildLogin ( ) -> void
private

Definition at line 264 of file App.cpp.

◆ buildSite()

auto GCW::App::buildSite ( ) -> void
private

Definition at line 237 of file App.cpp.

Referenced by App().

◆ createAuthWidget()

auto GCW::App::createAuthWidget ( ) -> std::unique_ptr< Wt::Auth::AuthWidget >
private

Definition at line 216 of file App.cpp.

References GCW::Dbo::Users::oService(), GCW::Dbo::Users::passwordService(), and GCW::Dbo::Users::service().

Referenced by App().

◆ engine()

GCW::Eng::Engine& GCW::App::engine ( )
inline

Definition at line 31 of file App.h.

References m_engine.

Referenced by App().

◆ gnucashew_session()

Dbo::GnuCashew::Session& GCW::App::gnucashew_session ( )
inline

Definition at line 39 of file App.h.

References m_gnucashew_session.

Referenced by App().

◆ mainWidget()

GCW::Gui::MainWidget* GCW::App::mainWidget ( )
inline

Definition at line 42 of file App.h.

References m_mainWidget.

◆ session()

Dbo::AbstractSession& GCW::App::session ( )

◆ showWelcome()

auto GCW::App::showWelcome ( ) -> void
private

Definition at line 204 of file App.cpp.

References TR.

Referenced by buildLoggedIn().

Member Data Documentation

◆ m_authPointer

Wt::Auth::AuthWidget* GCW::App::m_authPointer = nullptr
private

Definition at line 62 of file App.h.

◆ m_authWidget

std::unique_ptr< Wt::Auth::AuthWidget > GCW::App::m_authWidget
private

Definition at line 61 of file App.h.

◆ m_engine

GCW::Eng::Engine GCW::App::m_engine
private

Definition at line 65 of file App.h.

Referenced by engine().

◆ m_gnucashew_session

Dbo::GnuCashew::Session GCW::App::m_gnucashew_session
private

Definition at line 57 of file App.h.

Referenced by gnucashew_session().

◆ m_mainContainer

Wt::WContainerWidget* GCW::App::m_mainContainer = nullptr
private

Definition at line 60 of file App.h.

Referenced by App().

◆ m_mainWidget

GCW::Gui::MainWidget* GCW::App::m_mainWidget = nullptr
private

Definition at line 64 of file App.h.

Referenced by mainWidget().

◆ m_timer

std::unique_ptr< Wt::WTimer > GCW::App::m_timer
private

Definition at line 63 of file App.h.


The documentation for this class was generated from the following files: