📄 callsummary.rss
字号:
/**
*
* @brief Resource file for CallSummary application
*
* Copyright (c) EMCC Software Ltd 2003
* @version 1.0
*/
// RESOURCE IDENTIFIER
NAME CASU // 4 letter ID
// INCLUDES
#include <avkon.rh>
#include <avkon.rsg>
#include <eikon.rh>
#include <eikon.rsg>
#include <avkon.loc>
#include "DebugEntries.rh"
#include <logwrap.rsg>
#include "CallSummary.hrh"
#include "CallSummary.loc"
// RESOURCE DEFINITIONS
RESOURCE RSS_SIGNATURE { }
RESOURCE TBUF { buf = "CallSummary"; }
RESOURCE EIK_APP_INFO
{
status_pane = r_callsummary_status_pane;
}
// ---------------------------------------------------------
//
// r_callsummary_status_pane
// Define the status pane
//
// ---------------------------------------------------------
//
RESOURCE STATUS_PANE_APP_MODEL r_callsummary_status_pane
{
panes =
{
SPANE_PANE
{
id = EEikStatusPaneUidNavi;
type = EAknCtNaviPane;
resource = r_callsummary_navi_decorator;
}
};
}
//----------------------------------------------------
//
// r_callsummary_navi_decorator
// Define the navi decorator
//
//----------------------------------------------------
//
RESOURCE NAVI_DECORATOR r_callsummary_navi_decorator
{
type = ENaviDecoratorControlTabGroup;
control = TAB_GROUP
{
tab_width = EAknTabWidthWithThreeLongTabs; // three tabs
active = 0;
tabs = {
TAB
{
id = EIncomingViewId; // from application hrh
txt = qtn_incoming_tab;
},
TAB
{
id = EOutgoingViewId;
txt = qtn_outgoing_tab;
},
TAB
{
id = ETopTenViewId;
txt = qtn_topten_tab;
}
};
};
}
// ---------------------------------------------------------
//
// r_call_view
// Define view for incoming and outgoing call tabs
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_call_view
{
menubar = r_callview_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_topten_view
// Define view for the top ten calls made view
//
// ---------------------------------------------------------
//
RESOURCE AVKON_VIEW r_topten_view
{
menubar = r_topten_menubar;
cba = R_AVKON_SOFTKEYS_OPTIONS_EXIT;
}
// ---------------------------------------------------------
//
// r_callview_menubar
// Menu title definition
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_callview_menubar
{
titles = MENU_TITLE { menu_pane = r_callview_menu_pane; };
}
// ---------------------------------------------------------
//
// r_callview_menu_pane
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_callview_menu_pane
{
items =
{
MENU_ITEM
{
command = ECallSummaryAddContactDB;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = text_softkey_exit;
}
};
}
// ---------------------------------------------------------
//
// r_topten_menubar
// Menu title definition
//
// ---------------------------------------------------------
//
RESOURCE MENU_BAR r_topten_menubar
{
titles = MENU_TITLE { menu_pane = r_topten_menu_pane; };
}
// ---------------------------------------------------------
//
// r_topten_menu_pane
// Menu for "Options"
//
// ---------------------------------------------------------
//
RESOURCE MENU_PANE r_topten_menu_pane
{
items =
{
MENU_ITEM
{
command = ECallSummaryMakeSpeedDial;
txt = ADD_SPEED_DIAL;
},
MENU_ITEM
{
command = EAknCmdExit;
txt = text_softkey_exit;
}
};
}
//-----------------------------------------------------------------------------
//
// r_busy_note
// Busy note resources.
//
//-----------------------------------------------------------------------------
//
RESOURCE DIALOG r_busy_note
{
flags = EAknWaitNoteFlags;
buttons = R_AVKON_SOFTKEYS_CANCEL;
items =
{
DLG_LINE
{
type = EAknCtNote;
id = EWaitLineId;
control = AVKON_NOTE
{
layout = EWaitLayout;
singular_label = BUSY_TEXT;
animation = R_QGN_GRAF_WAIT_BAR_ANIM;
};
}
};
}
// ---------------------------------------------------------
//
// Strings used by the application
//
// ---------------------------------------------------------
//
RESOURCE TBUF r_empty_list_text
{
buf = EMPTY_BOX_TEXT;
}
// ---------------------------------------------------------
//
// Dummy events to be added if there are no events in the log
// engine in a debug build.
//
// ---------------------------------------------------------
//
RESOURCE LOG_ENTRY_ARRAY r_event_list
{
entries =
{
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 15;
number = "123456789012345678901234";
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 20;
number = "2";
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 23;
number = "3";
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 4;
number = "4";
},
LOG_ENTRY
{
direction = R_LOG_DIR_OUT;
duration = 21;
number = "4";
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 12;
number = "3";
},
LOG_ENTRY
{
direction = R_LOG_DIR_OUT;
duration = 15;
number = "1";
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 20;
number = "23";
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 230;
number = "33";
},
LOG_ENTRY
{
direction = R_LOG_DIR_OUT;
duration = 12569;
number = "+441234567890";
contact = 1;
},
LOG_ENTRY
{
direction = R_LOG_DIR_OUT;
duration = 21;
number = "+441234567890";
contact = 1;
},
LOG_ENTRY
{
direction = R_LOG_DIR_IN;
duration = 12;
number = "33";
}
};
}
// End of File
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -