DirectPrint/DirectPrintApp/engine/inc/directprintlistcapability.h
changeset 19 2275db202402
parent 11 613a5ff70823
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/DirectPrint/DirectPrintApp/engine/inc/directprintlistcapability.h	Tue May 11 14:10:02 2010 +0800
@@ -0,0 +1,59 @@
+/*
+* Copyright (c) 2010 Kanrikogaku Kenkyusho, Ltd.
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of the License "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:
+* Kanrikogaku Kenkyusho, Ltd. - Initial contribution
+*
+* Contributors:
+*
+* Description:
+* {Description of the file}
+*
+*/
+
+// Protection against nested includes
+#ifndef DIRECTPRINTLISTCAPABILITY_H
+#define DIRECTPRINTLISTCAPABILITY_H
+
+// User includes
+#include "directprintbasecapability.h"
+
+/**
+ *
+ *  Capability type for list type of settings
+ *
+ */
+class CDirectPrintListCapability : public CDirectPrintBaseCapability
+	{
+	public:     //  Constructors and destructors
+
+		CDirectPrintListCapability ();
+
+		/**
+		 *  Destructor
+		 */
+		virtual ~CDirectPrintListCapability();
+
+	public:     //  Methods derived from CBaseCapability
+
+		virtual HBufC* ListBoxTextL();
+		virtual CDirectPrintBaseCapability* CloneL();
+		virtual CAknSettingItem* SettingItemLC(TInt aIndex);
+
+	public:     // Data
+
+		// Enumeration IDs and the texts associated to the ids
+		RArray<TInt> iEnumIDs;
+		RPointerArray<HBufC> iTexts;
+
+		TInt iEnumIndex;
+	};
+
+#endif  //  DIRECTPRINTLISTCAPABILITY_H
+
+//  End of File