Followers

Saturday, December 13, 2008

mobile protection - Application registration files

localisable_resource_file

MobileProtection.rls

rls_string STRING_r_short_caption "MobileProtection"
rls_string STRING_r_caption "MobileProtection"
rls_string STRING_r_icon_file "\\resource\\apps\\MobileProtection.mbm"

MobileProtection.rss


#include "eikon.rh"
#include "MobileProtection.rls"
#include "MobileProtection.hrh"
#include "avkon.rsg"
#include "avkon.rh"
#include "avkon.mbg"

#ifdef EKA2
#include "appinfo.rh"
#endif


// RESOURCE DEFINITIONS

RESOURCE RSS_SIGNATURE { }

RESOURCE TBUF { buf = "MobileProtection"; }

RESOURCE EIK_APP_INFO
{
status_pane = r_MobileProtection_status_pane;
}


MobileProtection_loc.rss

#include "appinfo.rh"
#include "MobileProtection.rls"

RESOURCE LOCALISABLE_APP_INFO r_MobileProtection_localisable_app_info
{
short_caption = STRING_r_short_caption;

caption_and_icon =
CAPTION_AND_ICON_INFO
{
caption = STRING_r_caption;
number_of_icons = 4;
icon_file = STRING_r_icon_file;
};
}


MobileProtection_reg.rss



#include "appinfo.rh>"
#include "MobileProtection.rsg"

UID2 KUidAppRegistrationResourceFile
UID3 0x0CA24F85 // application UID

RESOURCE APP_REGISTRATION_INFO
{
app_file = "MobileProtection";

localisable_resource_file = "\\resource\\apps\\MobileProtection_loc";

embeddability = KAppNotEmbeddable;
newfile = KAppDoesNotSupportNewFile;
}