|
/****************************************************************************
|
|
* This file is part of the project AqFinance.
|
|
* AqFinance (c) by 2007 Martin Preuss, all rights reserved.
|
|
*
|
|
* The license for this file can be found in the file COPYING which you
|
|
* should have received along with this file.
|
|
****************************************************************************/
|
|
|
|
#ifndef FF_APP_HPP
|
|
#define FF_APP_HPP
|
|
|
|
|
|
#include <fx.h>
|
|
|
|
#include <aqfinance/engine/book/ae_book.h>
|
|
|
|
#include <gwenhywfar/configmgr.h>
|
|
|
|
|
|
|
|
class FF_App: public FXApp {
|
|
public:
|
|
FF_App(const FXString& name="AqFinance",
|
|
const FXString& vendor="Aquamaniac");
|
|
~FF_App();
|
|
|
|
void setBook(AE_BOOK *b) { m_book=b;};
|
|
AE_BOOK *getBook() const { return m_book;};
|
|
|
|
GWEN_CONFIGMGR *getConfigMgr() const { return m_configMgr;};
|
|
void setConfigMgr(GWEN_CONFIGMGR *mgr) { m_configMgr=mgr;};
|
|
|
|
protected:
|
|
AE_BOOK *m_book;
|
|
GWEN_CONFIGMGR *m_configMgr;
|
|
|
|
FXSize m_sizeSmallIcons;
|
|
FXSize m_sizeMediumIcons;
|
|
FXSize m_sizeBigIcons;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|
|
|