/*******************************************************
 Copyright (C) 2006 Madhan Kanagavel

 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation; either version 2 of the License, or
 (at your option) any later version.

 This program is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 GNU General Public License for more details.

 You should have received a copy of the GNU General Public License
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 ********************************************************/

//----------------------------------------------------------------------------
#ifndef _MM_EX_GUIID_H_
#define _MM_EX_GUIID_H_
//----------------------------------------------------------------------------
#include <wx/defs.h> // wxID_HIGHEST
//----------------------------------------------------------------------------

namespace mmex 
{

extern const int MIN_DATAVERSION;
extern const wxChar * const DATAVERSION;

extern const wxChar *const DEFDATEFORMAT;
extern const wxChar *const DEFDELIMTER;
extern const wxChar *const DEFSTOCKURL;

} // mmex

//----------------------------------------------------------------------------

enum
{
    /* Main Menu  */
    MENU_NEW = wxID_HIGHEST + 1,
    MENU_OPEN,
    MENU_SAVE,
    MENU_SAVE_AS,
    MENU_RECENT_FILES,
    MENU_RECENT_FILES_0,
    MENU_RECENT_FILES_1,
    MENU_RECENT_FILES_2,
    MENU_RECENT_FILES_3,
    MENU_RECENT_FILES_4,
    MENU_RECENT_FILES_5,
    MENU_RECENT_FILES_CLEAR,
    MENU_EXPORT,
    MENU_QUIT,
    MENU_ABOUT,
    MENU_NEWACCT,
    MENU_ACCTLIST,
    MENU_ORGCATEGS,
    MENU_ORGPAYEE,
    MENU_BUDGETSETUPDIALOG,
    MENU_BILLSDEPOSITS,
    MENU_OPTIONS,
    MENU_HELP,
    MENU_CHECKUPDATE,
    MENU_IMPORT_CSV,
    MENU_IMPORT_QFX,
    MENU_IMPORT,
    MENU_IMPORT_UNIVCSV,
    MENU_REPORTISSUES,
    MENU_ANNOUNCEMENTMAILING,
    MENU_FACEBOOK,
    MENU_EXPORT_CSV,
    MENU_EXPORT_QIF,
    MENU_PRINT_PAGE_SETUP,
    MENU_PRINT_REPORT,
    MENU_PRINT,
    MENU_PRINT_PREVIEW,
    MENU_PRINT_PREVIEW_REPORT,
    MENU_SHOW_APPSTART,
    MENU_EXPORT_HTML,
    MENU_STOCKS,
    MENU_CURRENCY,
    MENU_TREEPOPUP_LAUNCHWEBSITE,
    MENU_IMPORT_MMNETCSV,
    MENU_ASSETS,
    MENU_GOTOACCOUNT,
    MENU_IMPORT_QIF,
    MENU_ACCTEDIT,
    MENU_ACCTDELETE,
    MENU_TRANSACTIONREPORT,
    MENU_VIEW_TOOLBAR,
    MENU_VIEW_LINKS,
    MENU_VIEW_BANKACCOUNTS,
    MENU_VIEW_TERMACCOUNTS,
    MENU_VIEW_STOCKACCOUNTS,
    MENU_VIEW_BUDGET_FINANCIAL_YEARS,
    MENU_VIEW_BUDGET_SETUP_SUMMARY,
    MENU_VIEW_BUDGET_CATEGORY_SUMMARY,
    MENU_VIEW_BUDGET_TRANSFER_TOTAL,
    MENU_CATEGORY_RELOCATION,
    MENU_PAYEE_RELOCATION,
    MENU_CONVERT_ENC_DB,
    MENU_ONLINE_UPD_CURRENCY_RATE,
    MENU_IGNORE_FUTURE_TRANSACTIONS,

    /* Custom SQL Reports */
    MENU_CUSTOM_SQL_REPORT_NEW,
    MENU_CUSTOM_SQL_REPORT_EDIT,
    MENU_CUSTOM_SQL_REPORT_DELETE,
    MENU_TREEPOPUP_CUSTOM_SQL_REPORT_EDIT,
    MENU_TREEPOPUP_CUSTOM_SQL_REPORT_DELETE,
    //DIALOG_CUSTOM_SQL_BTN_LOAD,
    //DIALOG_CUSTOM_SQL_BTN_SAVE,
    DIALOG_CUSTOM_SQL_BTN_QUERY,
    //DIALOG_CUSTOM_SQL_BTN_CLEAR,
    //DIALOG_CUSTOM_SQL_BTN_CLOSE,
    DIALOG_CUSTOM_SQL_TXTCTRL_SOURCE,
    DIALOG_CUSTOM_SQL_TXTCTRL_REPORT_TITLE,
    DIALOG_CUSTOM_SQL_CHKBOX_HEADING_ONLY,
    DIALOG_CUSTOM_SQL_CHKBOX_SUB_REPORT,

    /* Checking Panel */
    MENU_TREEPOPUP_GOTO,
    MENU_TREEPOPUP_EDIT,
    MENU_TREEPOPUP_MOVE,
    MENU_TREEPOPUP_DELETE,
    MENU_TREEPOPUP_IMPORT_QIF,
    MENU_TREEPOPUP_DELETE_VIEWED,
    MENU_TREEPOPUP_DELETE_FLAGGED,
    MENU_TREEPOPUP_MARKRECONCILED,
    MENU_TREEPOPUP_MARKUNRECONCILED,
    MENU_TREEPOPUP_MARKVOID,
    MENU_TREEPOPUP_NEW,
    MENU_TREEPOPUP_MARK_ADD_FLAG_FOLLOWUP,
    MENU_TREEPOPUP_MARKRECONCILED_ALL,
    MENU_TREEPOPUP_MARKUNRECONCILED_ALL,
    MENU_TREEPOPUP_MARKVOID_ALL,
    MENU_TREEPOPUP_MARK_ADD_FLAG_FOLLOWUP_ALL,
    MENU_SUBMENU_MARK_ALL,
    MENU_TREEPOPUP_MARKDUPLICATE,
    MENU_TREEPOPUP_MARKDUPLICATE_ALL,
    MENU_TREEPOPUP_VIEW_SPLIT_CATEGORIES,

    MENU_VIEW_ALLTRANSACTIONS,
    MENU_VIEW_RECONCILED,
    MENU_VIEW_UNRECONCILED,
    MENU_VIEW_NOTRECONCILED,
    MENU_VIEW_VOID,
    MENU_VIEW_FLAGGED,
    MENU_VIEW_DUPLICATE,
    MENU_VIEW_TODAY,
    MENU_VIEW_LAST30,
    MENU_VIEW_LAST90,
    MENU_VIEW_LAST3MONTHS,
    MENU_VIEW_DELETE_TRANS,
    MENU_VIEW_DELETE_FLAGGED,
    MENU_VIEW_CURRENTMONTH,
    MENU_VIEW_LASTMONTH,

    MENU_ON_COPY_TRANSACTION,
    MENU_ON_PASTE_TRANSACTION,
    MENU_ON_NEW_TRANSACTION,
    MENU_ON_DUPLICATE_TRANSACTION,

    TOOLBAR_MAIN,

    ID_FRAMEPANEL,
    ID_SPLITTERWINDOW1,
    ID_NAVTREECTRL,
    ID_PANEL,
    ID_PANEL3,
    ID_SPLITTERWINDOW,
    ID_LISTCTRL,
    ID_PANEL1,
    ID_STATUSBAR,
    ID_TOOLBAR,
    ID_TOOL,
    ID_TOOL2,
    ID_PANEL20,
    //ID_BUTTON_NEW_TRANS,
    //ID_BUTTON_EDIT_TRANS,
    //ID_BUTTON_DELETE_TRANS,
    //ID_BUTTON_MOVE_TRANS,

    ID_DIALOG_ABOUT,
    ID_DIALOG_APPSTART,

    ID_PANEL_CHECKING_STATIC_HEADER,
    ID_PANEL_CHECKING_STATIC_BALHEADER,
    ID_PANEL_CHECKING_LISTCTRL_ACCT,
    ID_PANEL_CHECKING_STATIC_DETAILS,
    ID_PANEL_CHECKING_STATIC_MINI,
    ID_PANEL_CHECKING_STATIC_BITMAP_VIEW,
    ID_PANEL_CHECKING_STATIC_BITMAP_FILTER,
    ID_PANEL_CHECKING_STATIC_PANELVIEW,
    ID_PANEL_CHECKING_STATIC_FILTER,

    /* Transaction Filter Dialog */
    ID_DIALOG_TRANSFILTER_CB_DATE_RANGE,
    ID_DIALOG_TRANSFILTER_CB_PAYEE,
    ID_DIALOG_TRANSFILTER_CB_CATEGORY,
    ID_DIALOG_TRANSFILTER_CB_STATUS,
    ID_DIALOG_TRANSFILTER_CB_TYPE,
    ID_DIALOG_TRANSFILTER_CB_TYPE_WITHDRAWAL,
    ID_DIALOG_TRANSFILTER_CB_TYPE_DEPOSIT,
    ID_DIALOG_TRANSFILTER_CB_TYPE_TRANSFER,
    ID_DIALOG_TRANSFILTER_CB_TRANS_NUM,
    ID_DIALOG_TRANSFILTER_CB_TRANS_NOTES,

    ID_DIALOG_TRANSFILTER_BTN_PAYEE,
    ID_DIALOG_TRANSFILTER_BTN_CATEGORY,
    //ID_DIALOG_TRANSFILTER_BUTTON_OK,
    //ID_DIALOG_TRANSFILTER_BUTTON_CANCEL,
    
    /* Transaction Dialog */
    ID_DIALOG_TRANS,
    ID_DIALOG_TRANS_TYPE,
    ID_DIALOG_TRANS_COMBOPAYEE,
    ID_DIALOG_TRANS_TEXTNUMBER,
    ID_DIALOG_TRANS_COMBOFROM,
    ID_DIALOG_TRANS_BUTTONDATE,
    ID_DIALOG_TRANS_CALCTRL,
    ID_DIALOG_TRANS_COMBOCATEGORY,
    ID_DIALOG_TRANS_BUTTONCATEGS,
    ID_DIALOG_TRANS_TEXTNOTES,
    ID_DIALOG_TRANS_TEXTAMOUNT,
    ID_DIALOG_TRANS_TOTEXTAMOUNT,
    //ID_DIALOG_TRANS_BUTTON_OK,
    //ID_DIALOG_TRANS_BUTTON_CANCEL,
    ID_DIALOG_TRANS_STATIC_FROM,
    ID_DIALOG_TRANS_STATIC_PAYEE,
    ID_DIALOG_TRANS_BUTTONPAYEE,
    ID_DIALOG_TRANS_BUTTONTO,
    ID_DIALOG_TRANS_STATUS,
    ID_DIALOG_TRANS_ADVANCED_CHECKBOX,
    ID_DIALOG_TRANS_ADVANCED_FROM,
    ID_DIALOG_TRANS_ADVANCED_TO,
    ID_DIALOG_TRANS_SPLITCHECKBOX,
    ID_DIALOG_TRANS_BUTTONTRANSNUM,
    ID_DIALOG_TRANS_PAYEECOMBO,
    ID_DIALOG_TRANS_BUTTON_FREQENTNOTES,
    ID_DIALOG_TRANS_DATE_SPINNER,

    /* Budget Entry */
    ID_DIALOG_BUDGETENTRY_COMBO_FREQTYPE,
    ID_DIALOG_BUDGETENTRY_TEXTCTRL_AMOUNT,
    ID_DIALOG_BUDGETENTRY_BUTTON_OK,
    ID_DIALOG_BUDGETENTRY_BUTTON_CANCEL,
    ID_DIALOG_BUDGETENTRY_SUMMARY_INCOME_EST,
    ID_DIALOG_BUDGETENTRY_SUMMARY_INCOME_ACT,
    ID_DIALOG_BUDGETENTRY_SUMMARY_INCOME_DIF,
    ID_DIALOG_BUDGETENTRY_SUMMARY_EXPENSES_EST,
    ID_DIALOG_BUDGETENTRY_SUMMARY_EXPENSES_ACT,
    ID_DIALOG_BUDGETENTRY_SUMMARY_EXPENSES_DIF,

    /* New Account */
    ID_DIALOG_NEWACCOUNT,
    ID_DIALOG_NEWACCT_TEXTCTRL_ACCTNAME,
    ID_DIALOG_NEWACCT_TEXTCTRL_ACCTNUMBER,
    ID_DIALOG_NEWACCT_TEXTCTRL_HELDAT,
    ID_DIALOG_NEWACCT_TEXTCTRL_WEBSITE,
    ID_DIALOG_NEWACCT_TEXTCTRL_CONTACT,
    ID_DIALOG_NEWACCT_TEXTCTRL_ACCESSINFO,
    ID_DIALOG_NEWACCT_TEXTCTRL_NOTES,
    ID_DIALOG_NEWACCT_TEXTCTRL_INITBALANCE,
    ID_DIALOG_NEWACCT_COMBO_ACCTSTATUS,
    ID_DIALOG_NEWACCT_CHKBOX_FAVACCOUNT,
    //ID_DIALOG_NEWACCT_BUTTON_OK,
    //ID_DIALOG_NEWACCT_BUTTON_CANCEL,
    ID_DIALOG_NEWACCT_BUTTON_CURRENCY,
    ID_DIALOG_NEWACCT_COMBO_ACCTTYPE,

    ID_PANEL_HOMEPAGE_HTMLWINDOW,

    /* Bills & Deposits */
    MENU_POPUP_BD_ENTER_OCCUR,
    MENU_POPUP_BD_SKIP_OCCUR,
    //ID_BUTTON_BD_NEW,
    //ID_BUTTON_BD_EDIT,
    //ID_BUTTON_BD_DELETE,
    //ID_BUTTON_BD_ENTER_OCCUR,
    //ID_BUTTON_BD_SKIP_OCCUR,
    ID_PANEL_BD_STATIC_HEADER,
    ID_PANEL_BD_STATIC_BALHEADER,
    ID_PANEL_BD_LISTCTRL,
    ID_PANEL_BD_STATIC_DETAILS,
    ID_PANEL_BD_STATIC_MINI,
    ID_PANEL_BD_STATIC_BITMAP_VIEW,
    ID_PANEL_BD_STATIC_PANELVIEW,

    /* Bills & Deposits Dialog */
    ID_DIALOG_BD,
    ID_DIALOG_BD_COMBOBOX_ACCOUNTNAME,
    ID_DIALOG_BD_BUTTON_NEXTOCCUR,
    ID_DIALOG_BD_COMBOBOX_REPEATS,
    ID_DIALOG_BD_TEXTCTRL_NUM_TIMES,
    ID_DIALOG_BD_CHECKBOX_AUTO_EXECUTE_USERACK,
    ID_DIALOG_BD_CHECKBOX_AUTO_EXECUTE_SILENT,
    ID_DIALOG_BD_CALENDAR,
    ID_DIALOG_BD_REPEAT_DATE_SPINNER,
    
    ID_PANEL_REPORTS_HTMLWINDOW,
    ID_PANEL_REPORTS_HEADER_PANEL,
    ID_PANEL_REPORTS_STATIC_HEADER,
    //ID_PANEL_REPORTS_HELP_BUTTON_BACK,
    //ID_PANEL_REPORTS_HELP_BUTTON_FORWARD,

    /* Category */
    ID_DIALOG_CATEGORY,
    ID_DIALOG_CATEG_TEXTCTRL_CATNAME,
    ID_DIALOG_CATEG_TREECTRL_CATS,
    //ID_DIALOG_CATEG_BUTTON_ADD,
    //ID_DIALOG_CATEG_BUTTON_DELETE,
    //ID_DIALOG_CATEG_BUTTON_SELECT,
    //ID_DIALOG_CATEG_BUTTON_OK,
    //ID_DIALOG_CATEG_BUTTON_EDIT,

    /* Category and Payee Relocation */
    ID_DIALOG_CATEG_SELECT_BUTTON_SOURCE,
    ID_DIALOG_CATEG_SELECT_BUTTON_DEST,
    ID_DIALOG_CATEG_RELOCATE_BUTTON_OK,

    ID_DIALOG_PAYEE_SELECT_BUTTON_SOURCE,
    ID_DIALOG_PAYEE_SELECT_BUTTON_DEST,
    ID_DIALOG_PAYEE_RELOCATE_BUTTON_OK,

    /* Budget Entry */
    ID_DIALOG_BUDGETENTRY,
    ID_DIALOG_BUDGETYEAR_LISTBOX_BUDGETYEARS,
    ID_DIALOG_BUDGETYEAR_BUTTON_ADD,
    ID_DIALOG_BUDGETYEAR_BUTTON_ADD_MONTH,
    ID_DIALOG_BUDGETYEAR_BUTTON_DELETE,

    /* Budget Year Dialog */
    ID_DIALOG_BUDGETYEAR,
    ID_DIALOG_BUDGETYEARENTRY_TEXTCTRL_YEAR,
    ID_DIALOG_BUDGETYEARENTRY_TEXTCTRL_MONTH,
    ID_DIALOG_BUDGETYEARENTRY_COMBO_YEARS,
    ID_PANEL_BUDGETENTRY_STATIC_BITMAP_VIEW,
    ID_DIALOG_BUDGETENTRY_COMBO_TYPE,

    MENU_VIEW_ALLBUDGETENTRIES,
    MENU_VIEW_NONZEROBUDGETENTRIES,
    MENU_VIEW_INCOMEBUDGETENTRIES,
    MENU_VIEW_EXPENSEBUDGETENTRIES,
    MENU_VIEW_SUMMARYBUDGETENTRIES,

    /* Options Dialog */
    ID_BOOK_PANELGENERAL,
    ID_BOOK_PANELVIEWS,
    ID_BOOK_PANELCOLORS,
    ID_DIALOG_OPTIONS,
    ID_DIALOG_OPTIONS_LISTBOOK,
    ID_DIALOG_OPTIONS_PANEL1,
    ID_DIALOG_OPTIONS_PANEL2,
    ID_DIALOG_OPTIONS_BUTTON_CURRENCY,
    ID_DIALOG_OPTIONS_DATE_FORMAT,
    ID_DIALOG_OPTIONS_VIEW_ACCOUNTS,
    ID_DIALOG_OPTIONS_STATIC_SAMPLE_DATE,
    ID_DIALOG_OPTIONS_TEXTCTRL_DELIMITER,
    ID_DIALOG_OPTIONS_RADIOBUTTON_DELIMITER_COMMA,
    ID_DIALOG_OPTIONS_RADIOBUTTON_DELIMITER_SEMICOLON,
    ID_DIALOG_OPTIONS_RADIOBUTTON_DELIMITER_TAB,
    ID_DIALOG_OPTIONS_RADIOBUTTON_DELIMITER_USER,
    ID_DIALOG_OPTIONS_BUTTON_LANGUAGE,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_NAVTREE,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_ALT0,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_ALT1,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_LISTBACK,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_LISTBORDER,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_RESTOREDEFAULT,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_LISTDETAILS,
    ID_BOOK_PANELMISC,
    ID_DIALOG_OPTIONS_CHK_BACKUP,
    ID_DIALOG_OPTIONS_CHK_BACKUP_UPDATE,
    ID_DIALOG_OPTIONS_TEXTCTRL_STOCKURL,
    ID_DIALOG_OPTIONS_VIEW_TRANS,
    ID_DIALOG_OPTIONS_FONT_SIZE,
    ID_DIALOG_OPTIONS_TEXTCTRL_USERNAME,
    ID_DIALOG_OPTIONS_BUTTON_COLOR_FUTUREDATES,
    ID_DIALOG_OPTIONS_BUTTON_DATEFORMAT,
    ID_DIALOG_OPTIONS_EXPAND_BANK_HOME,
    ID_DIALOG_OPTIONS_EXPAND_TERM_HOME,
    ID_DIALOG_OPTIONS_EXPAND_STOCK_HOME,
    ID_DIALOG_OPTIONS_EXPAND_BANK_TREE,
    ID_DIALOG_OPTIONS_EXPAND_TERM_TREE,
    ID_DIALOG_OPTIONS_FINANCIAL_YEAR_START_DAY,
    ID_DIALOG_OPTIONS_FINANCIAL_YEAR_START_MONTH,

    ID_DIALOG_OPTIONS_DEFAULT_TRANSACTION_PAYEE,
    ID_DIALOG_OPTIONS_DEFAULT_TRANSACTION_CATEGORY,
    ID_DIALOG_OPTIONS_DEFAULT_TRANSACTION_STATUS,
    ID_DIALOG_OPTIONS_DEFAULT_TRANSACTION_DATE,

    /* APP Start Dialog */
    ID_BUTTON_APPSTART_NEW_DATABASE,
    ID_BUTTON_APPSTART_OPEN_DATABASE,
    ID_BUTTON_APPSTART_HELP,
    ID_BUTTON_APPSTART_WEBSITE,
    ID_CHECKBOX_APPSTART_SHOWAPPSTART,
    ID_BUTTON_APPSTART_LAST_DATABASE,

    /* Stocks Dialog */
    ID_DPC_STOCK_PDATE,
    ID_BUTTON_STOCKS_HELDAT,
    ID_TEXTCTRL_STOCKNAME,
    ID_TEXTCTRL_STOCK_SYMBOL,
    ID_TEXTCTRL_NUMBER_SHARES,
    ID_TEXTCTRL_STOCK_PP,
    ID_TEXTCTRL_STOCK_NOTES,
    ID_TEXTCTRL_STOCK_CP,
    ID_BUTTON_STOCK_CURRENCY,
    ID_STATIC_STOCK_VALUE,
    //ID_BUTTON_STOCK_OK,
    //ID_BUTTON_STOCK_CANCEL,
    ID_TEXTCTRL_STOCK_COMMISSION,
    ID_BUTTON_STOCK_WEBPRICE,
    //ID_BUTTON_HTTP_SETTINGS,
    ID_PANEL_STOCK_UPDATE_LED,
    ID_WEBPROXY_RADIOBOX,
    ID_WEBPROXY_SETTINGSBUTTON,
    //ID_BUTTON_REFRESH_STOCK,
    ID_TIMER_REFRESH_STOCK,
    ID_TIMER_SCHEDULE_STOCK,
    ID_TIMER_DOWNLOAD_WATCHDOG,
    ID_DOWNLOAD_THREAD_STOCKS,
    ID_HTTP_DOWNLOAD_COMPLETE_STOCKS,

    ID_DIALOG_STOCKS,
    //ID_BUTTON_NEW_STOCK,
    //ID_BUTTON_EDIT_STOCK,
    //ID_BUTTON_DELETE_STOCK,
    ID_PANEL_STOCKS_LISTCTRL,

    /* File Viewer */
    ID_DIALOG_FILEVIEWER,
    ID_TEXTCTRL_FILEVIEWER,

    MENU_TREEPOPUP_ACCOUNT_NEW,
    MENU_TREEPOPUP_ACCOUNT_DELETE,
    MENU_TREEPOPUP_ACCOUNT_EDIT,
    MENU_TREEPOPUP_ACCOUNT_LIST,
    MENU_TREEPOPUP_ACCOUNT_EXPORT2CSV,
    MENU_TREEPOPUP_ACCOUNT_EXPORT2QIF,
    MENU_TREEPOPUP_ACCOUNT_IMPORTCSV,
    MENU_TREEPOPUP_ACCOUNT_IMPORTQIF,
    MENU_TREEPOPUP_ACCOUNT_IMPORTUNIVCSV,
    MENU_TREEPOPUP_ACCOUNT_IMPORTMMNET,
    MENU_TREEPOPUP_ACCOUNT_VIEWALL,
    MENU_TREEPOPUP_ACCOUNT_VIEWFAVORITE,
    MENU_TREEPOPUP_ACCOUNT_VIEWOPEN,

    AUTO_REPEAT_TRANSACTIONS_TIMER_ID,

};
//----------------------------------------------------------------------------
#endif // _MM_EX_GUIID_H_
//----------------------------------------------------------------------------
