secureswitools/swisistools/test/tinterpretsis/pkg/functions.pkg
changeset 0 ba25891c3a9e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/secureswitools/swisistools/test/tinterpretsis/pkg/functions.pkg	Thu Dec 17 08:51:10 2009 +0200
@@ -0,0 +1,43 @@
+;
+; Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+; 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:
+; Nokia Corporation - initial contribution.
+;
+; Contributors:
+;
+; Description:
+;
+
+;Languages
+&EN
+
+;Header
+#{"expression func"}, (0x11113012), 1, 2, 4,TYPE=SA
+
+%{"expression func"}
+:"Unique Vendor Name"
+
+;Dependencies
+(0x11113011), 1, 2, 4, {"base package"}
+
+IF package(0x11113011)
+   "\epoc32\winscw\c\tswi\tinterpretsis\test.txt"-"c:\test_package_func.txt";
+ELSE
+   "\epoc32\winscw\c\tswi\tinterpretsis\test.txt"-"c:\test_package_func_false.txt";
+ENDIF
+
+if exists("c:\test_expression.txt")  
+   "\epoc32\winscw\c\tswi\tinterpretsis\test.txt"-"c:\test_exists_func.txt";
+endif
+
+if (appprop(0x11113011,1) = 1)
+   "\epoc32\winscw\c\tswi\tinterpretsis\test.txt"-"c:\test_approp_func_false.txt";
+elseif (appprop(0x11113011,1) = 2)
+   "\epoc32\winscw\c\tswi\tinterpretsis\test.txt"-"c:\test_approp_func_true.txt"; 
+endif