mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added environment variable expansion to the command line handling of desktop actions, plus the special '%AlfrescoDir%' token for the
current working directory path (from the client side). Updated sample commandline test action to use '%SystemRoot%\Notepad.exe'. Added lock check to check out action code to give more meaningful error message. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@3689 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -30,14 +30,14 @@
|
||||
|
||||
using namespace Alfresco;
|
||||
|
||||
// CCAlfrescoAppApp:
|
||||
// CAlfrescoApp:
|
||||
// See CAlfrescoApp.cpp for the implementation of this class
|
||||
//
|
||||
|
||||
class CCAlfrescoAppApp : public CWinApp
|
||||
class CAlfrescoApp : public CWinApp
|
||||
{
|
||||
public:
|
||||
CCAlfrescoAppApp();
|
||||
CAlfrescoApp();
|
||||
|
||||
// Overrides
|
||||
public:
|
||||
@@ -59,6 +59,11 @@ private:
|
||||
// Run the action
|
||||
|
||||
bool runAction( AlfrescoInterface& alfresco, StringList& pathList, AlfrescoActionInfo& actionInfo);
|
||||
|
||||
// Post-process actions, command line launch and browse to URL
|
||||
|
||||
bool doCommandLine( AlfrescoInterface& alfresco, const String& cmdLine);
|
||||
bool doURL( AlfrescoInterface& alfresco, const String& url);
|
||||
};
|
||||
|
||||
extern CCAlfrescoAppApp theApp;
|
||||
extern CAlfrescoApp theApp;
|
Reference in New Issue
Block a user