Project

General

Profile

Revision 242027ca src/fox/lib/modules/accounts/fm_accpage.hpp

View differences:

src/fox/lib/modules/accounts/fm_accpage.hpp
10 10
#define FM_ACCPAGE_HPP
11 11

  
12 12

  
13
#include "ff_modtabbook.hpp"
13 14

  
14 15
#include <aqfinance/engine/lib/book/ae_book.h>
15 16

  
......
21 22

  
22 23

  
23 24

  
25
class FM_Accounts;
24 26
class FM_AccountAccPage;
25 27
class FM_AccountStmPage;
26 28

  
27 29

  
28
class FM_AccountPage: public FXHorizontalFrame {
30
class FM_AccountPage: public FF_ModTabBook {
29 31
  FXDECLARE(FM_AccountPage)
30 32
public:
31 33
  enum {
......
34 36
    ID_LAST
35 37
  };
36 38

  
37
  FM_AccountPage(FXComposite *p,
38
		     FXuint opts=0,
39
		     FXint x=0, FXint y=0, FXint w=0, FXint h=0);
39
  FM_AccountPage(FM_Accounts *modAccounts,
40
                 FXComposite *p,
41
                 FXuint opts=0,
42
                 FXint x=0, FXint y=0, FXint w=0, FXint h=0);
40 43
  ~FM_AccountPage();
41 44

  
42 45
  void init(GWEN_DB_NODE *db);
......
70 73
  int findIndexForAccount(AQDB_ID aid);
71 74
  FM_AccountStmPage *findPageAt(int idx);
72 75

  
73
  FXTabBook *m_tabBook;
74 76
  FM_AccountAccPage *m_accountView;
75 77
  int m_lastEnteredTab;
76 78
  std::list<FM_AccountStmPage*> m_accountPages;

Also available in: Unified diff