--- a/creator/inc/creator_model.h Tue Sep 14 21:20:12 2010 +0300
+++ b/creator/inc/creator_model.h Wed Sep 15 12:13:45 2010 +0300
@@ -180,9 +180,24 @@
const CCreatorRandomDataParser::TRandomDataType aRandomDataType);
void GenerateSourceImageFileL( const TTestDataPath aFileType, const TDesC& aFileName );
void GenereteSourceTextFileL( const TDesC& aFileName, TInt aSize );
+
+ /**
+ * CallBack for an asynchronous call of RunScriptL.
+ * @param aObject TAny object.
+ * @return KErrNone or error code.
+ */
+ static TInt AsyncRunScriptCB( TAny* aObject );
+
public:
void ExecuteOptionsMenuCommandL(TInt aCommand);
+
+ /**
+ * It starts asynchronous call of RunScriptL, because it can take a long time
+ * @return None.
+ */
+ void AsyncRunScript();
+
void RunScriptL();
TInt RunScriptL(const TDesC& aScriptFile);
@@ -311,6 +326,7 @@
CImageEncoder* iEncoder;
CFrameImageData* iFrameImageData;
CBitmapScaler* iScaler;
+ CAsyncCallBack iAsyncRunScript;
public: