testfile.cpp

 #ifndef __GENERATE_REINIT_ARRAY_H__
#define __GENERATE_REINIT_ARRAY_H__

#include "stdio.h"
#include "string.h"
#include "stdlib.h"

static PegMenuDescription DeleteOneHistoryMenu[] = {
{(PEGCHAR*)STRID_36_701, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_NO , AF_ENABLED, NULL}, // "‚¢‚¢‚¦"
#ifdef CHANGE_FUNC_R77
{(PEGCHAR*)STRID_36_700, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
{(PEGCHAR*)STRID_36_701, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
#else
{(PEGCHAR*)STRID_36_702, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
{(PEGCHAR*)STRID_36_703, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
#endif
{(PEGCHAR*)STRID_00_000, 0, 0, NULL}
};

static PegMenuDescription HistoryMenu[] = {
{(PEGCHAR*)STRID_30_501, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_NO , AF_ENABLED, NULL}, // "‚¢‚¢‚¦"
#ifdef CHANGE_FUNC_R77
{(PEGCHAR*)STRID_30_500, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
#else
{(PEGCHAR*)STRID_30_502, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
#endif
{(PEGCHAR*)STRID_00_000, 0, 0, NULL}
};


static PegMenuDescription HistoryMenu[] = {
{(PEGCHAR*)STRID_30_501, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_NO , AF_ENABLED, NULL}, // "‚¢‚¢‚¦"
#ifdef CHANGE_FUNC_R77
{(PEGCHAR*)STRID_30_500, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
#endif
{(PEGCHAR*)STRID_00_000, 0, 0, NULL}
};


static PegMenuDescription PageHistorySubMenu[] = {{(PEGCHAR*)STRID_36_B60, BrowserPageHistory::PAGE_HISTORY_SUB_MENU_DETAIL , AF_ENABLED, NULL}, // "Ú×•\Ž¦"
{(PEGCHAR*)STRID_36_905, BrowserPageHistory::PAGE_HISTORY_SUB_MENU_DELETE , AF_ENABLED, NULL}, // "íœ"
{(PEGCHAR*)L"", 0, 0, NULL}
};

/*This one does has PEGCHAR*, and no PEGMENUDESCRIPTION Array*/
static PEGCHAR * DeletePageHistoryMenu[] = {
{(PEGCHAR*)STRID_36_902},
{(PEGCHAR*)STRID_36_901},
{(PEGCHAR*)STRID_36_900},
{(PEGCHAR*)L""}

};

/*This one does not have PEGCHAR*, infront of STRID*/
static PegMenuDescription DeleteOnePageHistoryMenu[] = {
{(PEGCHAR*)STRID_35_701, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_NO, AF_ENABLED, NULL}, // "‚¢‚¢‚¦"
{(PEGCHAR*)STRID_35_700, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
{(PEGCHAR*)STRID_00_000, 0, 0, NULL}
};

static PegMenuDescription DeleteOnePageHistoryMenu[] = {
{(PEGCHAR*)STRID_34_601, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_NO , AF_ENABLED, NULL}, // "‚¢‚¢‚¦"
{(PEGCHAR*)STRID_34_600, BrowserPageHistory::DELETE_PAGE_HISTORY_ONE_YES , AF_ENABLED, NULL}, // "‚Í‚¢"
{(PEGCHAR*)STRID_00_000, 0, 0, NULL}
};

int main ()
{
}

void <classname>::ReInitMenu()
{
PageHistorySubMenu[0].ptext = STRID_36_B60;
PageHistorySubMenu[1].ptext = STRID_36_905;
PageHistorySubMenu[2].ptext = L"";
}

Project Homepage: