messagingfw/msgsrvnstore/server/group/MSGS.rss
author Pat Downey <patd@symbian.org>
Wed, 01 Sep 2010 12:27:27 +0100
branchRCL_3
changeset 23 d51193d814ea
parent 22 d2c4c66342f3
permissions -rw-r--r--
Revert incorrect RCL_3 drop: Revision: 201033 Kit: 201035

// Copyright (c) 1998-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#include "msgs.rls"
#include "../inc/MSVSTD.HRH"

// Flags - defined in TMsvEntry

#define KMsvEntryLowPriority	0x0000
#define KMsvEntryMediumPriority 0x0001
#define KMsvEntryHighPriority	0x0002

//#define KMsvEntryStoreFlag 0x0004 // Not used
#define KMsvEntryNotCompleteFlag		0x0008 // the netry is marked as incomplete
#define KMsvEntryNewFlag				0x0010
#define KMsvEntryUnreadFlag				0x0020
#define KMsvEntryInvisibleFlag			0x0200 // will be invisible to the user
#define KMsvEntryMultipleRecipientFlag	0x0400
//#define KMsvEntryFileFlag 0x0800 // Not used
#define KMsvEntryReadOnlyFlag			0x1000 // the entry or store cannot be altered
#define KMsvEntryStandardFolder			0x4000 // the entry will be place at beginning of a selection



STRUCT SERVERENTRY
	{
	LONG id;
	LONG parent;
	LONG service=KMsvLocalServiceIndexEntryIdValue;
	LONG type;
	LONG mtm=KUidMsvLocalServiceMtmValue;
	LONG flags=KMsvEntryMediumPriority;
	LTEXT description="";
	LTEXT details="";
	}

STRUCT SERVERSTARTUPINDEX
	{
	STRUCT entries[]; // must be SERVERENTRY's
	}

RESOURCE SERVERSTARTUPINDEX r_server_index_startup
	{
	entries=
		{
		SERVERENTRY {	id=KMsvLocalServiceIndexEntryIdValue;	
						parent=KMsvRootIndexEntryIdValue;
						type=KUidMsvServiceEntryValue;
						flags=KMsvEntryReadOnlyFlag|KMsvEntryStandardFolder; 
						details=STRING_r_server_index_startup1; },
		SERVERENTRY {	id=KMsvGlobalInBoxIndexEntryIdValue;	
						parent=KMsvLocalServiceIndexEntryIdValue; 
						type=KUidMsvFolderEntryValue; 
						flags=KMsvEntryReadOnlyFlag|KMsvEntryStandardFolder; 
						details=STRING_r_server_index_startup2; },
		SERVERENTRY {	id=KMsvGlobalOutBoxIndexEntryIdValue;	
						parent=KMsvLocalServiceIndexEntryIdValue; 
						type=KUidMsvFolderEntryValue; 
						flags=KMsvEntryReadOnlyFlag|KMsvEntryStandardFolder; 
						details=STRING_r_server_index_startup3; },
		SERVERENTRY {	id=KMsvDraftEntryIdValue; 
						parent=KMsvLocalServiceIndexEntryIdValue; 
						type=KUidMsvFolderEntryValue; 
						flags=KMsvEntryReadOnlyFlag|KMsvEntryStandardFolder; 
						details=STRING_r_server_index_startup4; },
		SERVERENTRY {	id=KMsvSentEntryIdValue; 
						parent=KMsvLocalServiceIndexEntryIdValue; 
						type=KUidMsvFolderEntryValue; 
						flags=KMsvEntryReadOnlyFlag|KMsvEntryStandardFolder; 
						details=STRING_r_server_index_startup5; },
		SERVERENTRY {	id=KMsvDeletedEntryFolderEntryIdValue; 
						parent=KMsvLocalServiceIndexEntryIdValue; 
						type=KUidMsvFolderEntryValue; 
						flags=KMsvEntryReadOnlyFlag|KMsvEntryStandardFolder|KMsvEntryInvisibleFlag; 
						details=STRING_r_server_index_startup6; }
		};
	}