@@ -7,12 +7,19 @@ Attribute VB_GlobalNameSpace = False
77Attribute VB_Creatable = False
88Attribute VB_PredeclaredId = False
99Attribute VB_Exposed = False
10+ '---------------------------------------------------------------------------------------
11+ ' Class: DeclarationDictTestCodemodule
12+ '---------------------------------------------------------------------------------------
13+ '
14+ ' Different examples for declarations
15+ '
16+ '---------------------------------------------------------------------------------------
1017Option Compare Database
1118Option Explicit
1219
1320'AccUnit:TestRelated
1421
15- Implements CodeModulGenerator
22+ Implements ITestInterface
1623
1724Dim AccUnitX As Long
1825Private m_AccUnitInfo As String
@@ -59,11 +66,11 @@ Public Function AccUnitTestFunct(ByVal FuncParam1 As Variant, FuncParam2() As St
5966 Dim FuncVar1 As Variant , FuncVar2
6067 Dim FuncVar3() ' _
6168 Dim CommentX as String, CommentY As Long
62-
69+
6370 Dim FuncVar4 As Long : FuncVar4 = 5
64-
71+
6572 Dim Dim1 As Long : Dim Dim2
66-
73+
6774 Dim Counter2 ' _
6875 Public X asString, Y As Long
6976
@@ -99,15 +106,13 @@ Private Static Sub MyStaticSub(Optional ByVal Reset As Boolean = False)
99106 Static Counter2 As Integer
100107End Sub
101108
102-
103- Private Function CodeModulGenerator_CreateCodemodule ( ByVal ComponentType As VBIDE .vbext_ComponentType, Optional ByVal Name As String = vbNullString) As VBIDE .VBComponent
109+ '---------------------------
110+ ' Implement ITestInterface interface
104111'
105- End Function
106-
107- Private Sub CodeModulGenerator_InsertDeclarationLine (ByVal Code As String )
112+ Private Sub ITestInterface_TestMe ()
108113'
109114End Sub
110115
111- Private Sub CodeModulGenerator_RemoveCodemodule ()
116+ Private Function ITestInterface_TestProc ( ByVal TestParam1 As Long ) As Variant
112117'
113- End Sub
118+ End Function
0 commit comments