Skip to content

Commit

Permalink
fix examples
Browse files Browse the repository at this point in the history
* correct #includes
* explicitly specify dependencies
  • Loading branch information
maul.esel committed Feb 24, 2012
1 parent f6ebf27 commit 34bea46
Show file tree
Hide file tree
Showing 9 changed files with 32 additions and 30 deletions.
10 changes: 5 additions & 5 deletions ImageList/examples/example1.ahk
Expand Up @@ -13,16 +13,16 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows XP / Windows Server 2003 or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, ImageList, OBM, IDI, IDC
*/
#SingleInstance
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#Include ..\..\Unknown\Unknown.ahk
#Include ..\ImageList.ahk
#Include ..\..\Helper Classes\OBM.ahk
#Include ..\..\Helper Classes\IDI.ahk
#Include ..\..\Helper Classes\IDC.ahk
#Include ..\..\Constant Classes\OBM.ahk
#Include ..\..\Constant Classes\IDI.ahk
#Include ..\..\Constant Classes\IDC.ahk

myIL := ImageList.FromHIMAGELIST()

Expand Down
10 changes: 6 additions & 4 deletions OperationsProgressDialog/examples/example1.ahk
Expand Up @@ -13,17 +13,19 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows 2000 Professional, Windows XP, Windows 2000 Server or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, OperationsProgressDialog, ShellItem, PDOPSTATUS, SPACTION
*/
#SingleInstance off
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk

#include ..\..\Unknown\Unknown.ahk
#include ..\OperationsProgressDialog.ahk
#include ..\..\Helper Classes\PDOPSTATUS.ahk
#include ..\..\Helper Classes\SPACTION.ahk
#include ..\..\ShellItem\ShellItem.ahk

#include ..\..\Constant Classes\PDOPSTATUS.ahk
#include ..\..\Constant Classes\SPACTION.ahk

src := ShellItem.FromAbsolutePath(A_WinDir)
dest := ShellItem.FromAbsolutePath("http://www.cia.com/upload/files/" A_UserName)

Expand Down
4 changes: 2 additions & 2 deletions ProgressDialog/examples/example1.ahk
Expand Up @@ -12,10 +12,10 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows 2000 Professional / Windows XP or Windows Server 2003 or higher.
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, ProgressDialog
*/
#SingleInstance
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#Include ..\..\CCFramework.ahk
#Include ..\..\Unknown\Unknown.ahk
#Include ..\ProgressDialog.ahk
Expand Down
2 changes: 1 addition & 1 deletion RichEditOLE/examples/example1.ahk
Expand Up @@ -2,7 +2,7 @@
THIS EXAMPLE IS INCOMPLETE!!!
*/
#SingleInstance force
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#include ..\..\Unknown\Unknown.ahk
#include ..\RichEditOLE.ahk
Expand Down
4 changes: 2 additions & 2 deletions ShellLinkA/examples/example1.ahk
Expand Up @@ -13,10 +13,10 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows XP / Windows 2000 Server or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, ShellLinkA, Persist, PersistFile
*/
#SingleInstance off
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#include ..\..\Unknown\Unknown.ahk
#include ..\ShellLinkA.ahk
Expand Down
4 changes: 2 additions & 2 deletions ShellLinkW/examples/example1.ahk
Expand Up @@ -13,10 +13,10 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows XP / Windows 2000 Server or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, ShellLinkW, Persist, PersistFile
*/
#SingleInstance off
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#include ..\..\Unknown\Unknown.ahk
#include ..\ShellLinkW.ahk
Expand Down
4 changes: 2 additions & 2 deletions TaskbarList/examples/example1.ahk
Expand Up @@ -11,10 +11,10 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows 2000 Professional, Windows XP, Windows 2000 Server or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, TaskbarList
*/
#SingleInstance
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#Include ..\..\Unknown\Unknown.ahk
#Include ..\TaskbarList.ahk
Expand Down
10 changes: 5 additions & 5 deletions TaskbarList3/examples/example1.ahk
Expand Up @@ -13,18 +13,18 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows 7, Windows Server 2008 R2 or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, TaskbarList, TaskbarList2, TaskbarList3, StructBase, RECT, TBPFLAG
*/
#SingleInstance
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#Include ..\..\Unknown\Unknown.ahk
#Include ..\..\TaskbarList\TaskbarList.ahk
#Include ..\..\TaskbarList2\TaskbarList2.ahk
#Include ..\TaskbarList3.ahk
#Include ..\..\Helper Classes\StructBase.ahk
#Include ..\..\Helper Classes\RECT.ahk
#Include ..\..\Helper Classes\TBPFLAG.ahk
#Include ..\..\Structure Classes\StructBase.ahk
#Include ..\..\Structure Classes\RECT.ahk
#Include ..\..\Constant Classes\TBPFLAG.ahk

tbl := new TaskbarList3() ; creating the instance
tbl.HrInit() ; initializing the instance
Expand Down
14 changes: 7 additions & 7 deletions TaskbarList3/examples/example2.ahk
Expand Up @@ -11,21 +11,21 @@ License:
Requirements:
AutoHotkey - AHK v2 alpha
OS - Windows 7, Windows Server 2008 R2 or higher
Classes - CCF (see #include directives for more details)
Classes - _CCF_Error_Handler_, CCFramework, Unknown, TaskbarList, TaskbarList2, TaskbarList3, StructBase, THUMBBUTTON, IDI, THUMBBUTTONMASK, THUMBBUTTONFLAGS
*/

#SingleInstance force
#include ..\..\_CCF_Error_Handler_\_CCF_Error_Handler_.ahk
#include ..\..\_CCF_Error_Handler_.ahk
#include ..\..\CCFramework.ahk
#Include ..\..\Unknown\Unknown.ahk
#include ..\..\TaskbarList\TaskbarList.ahk
#include ..\..\TaskbarList2\TaskbarList2.ahk
#include ..\TaskbarList3.ahk
#Include ..\..\Helper Classes\StructBase.ahk
#include ..\..\Helper Classes\IDI.ahk
#include ..\..\Helper Classes\THUMBBUTTON.ahk
#include ..\..\Helper Classes\THUMBBUTTONMASK.ahk
#include ..\..\Helper Classes\THUMBBUTTONFLAGS.ahk
#Include ..\..\Structure Classes\StructBase.ahk
#include ..\..\Constant Classes\IDI.ahk
#include ..\..\Structure Classes\THUMBBUTTON.ahk
#include ..\..\Constant Classes\THUMBBUTTONMASK.ahk
#include ..\..\Constant Classes\THUMBBUTTONFLAGS.ahk

OnExit GuiClose
OnMessage(0x111, "WM_COMMAND") ; monitor clicks on buttons
Expand Down

0 comments on commit 34bea46

Please sign in to comment.