home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / appwiz / logowiz / template / newproj.inf < prev    next >
Text File  |  1998-03-05  |  7KB  |  294 lines

  1. $$// newproj.inf = template for list of template files
  2. $$//  format is 'sourceResName' \t 'destFileName'
  3. $$//    The source res name may be preceded by any combination of '=', '-',  '!', '?', ':', '#', and/or '*'
  4. $$//       '=' => the resource is binary
  5. $$//       '-' => the file should not be added to the project (all files are added to the project by default)
  6. $$//       '!' => the file should be marked exclude from build
  7. $$//       '?' => the file should be treated as a help file
  8. $$//       ':' => the file should be treated as a resource
  9. $$//       '#' => the file should be treated as a template (implies '!')
  10. $$//       '*' => bypass the custom AppWizard's resources when loading
  11. $$//    if name starts with / => create new subdir
  12.  
  13.  
  14. $$IF(PROJTYPE_DLL)
  15. dllroot.clw    $$root$$.clw
  16. $$ELIF(PROJTYPE_DLG)
  17. dlgroot.clw    $$root$$.clw
  18. $$ELSE
  19. root.clw    $$root$$.clw
  20. $$ENDIF //DLG, DLL
  21. $$IF(VERBOSE)
  22. readme.txt    ReadMe.txt
  23. $$ENDIF
  24.  
  25. $$// App and main frame
  26.  
  27. $$IF(PROJTYPE_DLG)
  28. dlgroot.h    $$root$$.h
  29. dlgroot.cpp    $$root$$.cpp
  30. dialog.h    $$dlg_hfile$$.h
  31. dialog.cpp    $$dlg_ifile$$.cpp
  32. $$IF(AUTOMATION)
  33. dlgproxy.h    $$dlgautoproxy_hfile$$.h
  34. dlgproxy.cpp    $$dlgautoproxy_ifile$$.cpp
  35. $$ENDIF //AUTOMATION
  36. $$ELIF(PROJTYPE_DLL)
  37. dllroot.cpp    $$root$$.cpp
  38. $$IF(!EXTDLL)
  39. dllroot.h    $$root$$.h
  40. $$ENDIF //!EXTDLL
  41. $$ELSE
  42. root.h    $$root$$.h
  43. root.cpp    $$root$$.cpp
  44. $$ENDIF //DLG
  45. $$IF(PROJTYPE_DLL)
  46. root.def    $$root$$.def
  47. $$ENDIF //PROJTYPE_DLL
  48. $$IF(AUTOMATION)
  49. root.odl    $$root$$.odl
  50. $$ENDIF
  51.  
  52. $$// Canned parts, with canned names
  53.  
  54. stdafx.h    StdAfx.h
  55. stdafx.cpp    StdAfx.cpp
  56. $$IF(!PROJTYPE_DLL)
  57. $$IF(!PROJTYPE_DLG)
  58. frame.h    $$frame_hfile$$.h
  59. frame.cpp    $$frame_ifile$$.cpp
  60. $$IF(MDICHILD)
  61. childfrm.h    $$child_frame_hfile$$.h
  62. childfrm.cpp    $$child_frame_ifile$$.cpp
  63. $$ENDIF //MDICHILD
  64. $$ENDIF //!PROJTYPE_DLG
  65.  
  66. $$// Document specific
  67.  
  68. $$IF(!PROJTYPE_DLG)
  69. $$IF(!NODOCVIEW)
  70. doc.h    $$doc_hfile$$.h
  71. doc.cpp    $$doc_ifile$$.cpp
  72. view.h    $$view_hfile$$.h
  73. view.cpp    $$view_ifile$$.cpp
  74. $$ELSE
  75. wndview.h    $$wndview_hfile$$.h
  76. wndview.cpp    $$wndview_ifile$$.cpp
  77. $$ENDIF //!NODOCVIEW
  78. $$IF(PROJTYPE_EXPLORER)
  79. treeview.h    $$treeview_hfile$$.h
  80. treeview.cpp    $$treeview_ifile$$.cpp
  81. $$ENDIF //PROJTYPE_EXPLORER
  82. $$ENDIF //!PROJTYPE_DLG
  83. $$IF(CONTAINER_SERVER || FULL_SERVER || MINI_SERVER || AUTOMATION || HAS_SUFFIX)
  84. root.reg    $$root$$.reg
  85. $$ENDIF //SERVERS,AUTOMATION,SUFFIX
  86.  
  87. $$// Database specific
  88.  
  89. $$IF(CRecordView || CDaoRecordView ||COleDBRecordView)
  90. recset.h    $$recset_hfile$$.h
  91. recset.cpp    $$recset_ifile$$.cpp
  92. $$ENDIF  //CRecordView || CDaoRecordSet || COleDBRecordView
  93.  
  94. $$// OLE specific
  95.  
  96. $$IF(FULL_SERVER || MINI_SERVER || CONTAINER_SERVER)
  97. srvritem.h    $$srvritem_hfile$$.h
  98. srvritem.cpp    $$srvritem_ifile$$.cpp
  99. ipframe.h    $$ipframe_hfile$$.h
  100. ipframe.cpp    $$ipframe_ifile$$.cpp
  101. $$ENDIF
  102. $$IF(CONTAINER || CONTAINER_SERVER)
  103. cntritem.h    $$cntritem_hfile$$.h
  104. cntritem.cpp    $$cntritem_ifile$$.cpp
  105. $$ENDIF
  106. $$ENDIF //!PROJTYPE_DLL
  107.  
  108. $$// Extra class for handling "Press Me" dialog
  109. $$IF(PRESS_ME_DIALOG)
  110. pressdlg.cpp    .\pressdlg.cpp
  111. pressdlg.h    .\pressdlg.h
  112. $$ENDIF
  113.  
  114. $$// Resources
  115.  
  116. /res
  117. $$IF(MULTIPLE_LANGS)
  118. $$BEGINLOOP(NUM_LANGS)
  119. /$$RES_DIR_LOC$$
  120. $$ENDLOOP //NUM_LANGS
  121. $$ENDIF //MULTIPLE_LANGS
  122.  
  123. $$IF(PROJTYPE_DLG || PROJTYPE_DLL)
  124. dlgres.h    Resource.h
  125. dlgall.rc    $$root$$.rc
  126. $$ELSE
  127. resource.h    Resource.h
  128. all.rc    $$root$$.rc
  129. $$ENDIF //DLG||DLL
  130. $$BEGINLOOP(NUM_LANGS)
  131. :root.rc2    $$RES_DIR_LOC$$\$$root$$.rc2
  132. $$IF(PROJTYPE_MDI || PROJTYPE_SDI)
  133. $$IF(!NODOCVIEW)
  134. =:doc.ico    $$RES_DIR_LOC$$\$$doc_ifile$$.ico
  135. $$ENDIF
  136. $$ENDIF
  137. $$ENDLOOP //NUM_LANGS
  138. $$IF(!PROJTYPE_DLL)
  139. =:root.ico    res\$$root$$.ico
  140. $$IF(!PROJTYPE_DLG)
  141. $$IF(TOOLBAR)
  142. $$IF(!NODOCVIEW)
  143.  
  144. $$IF( !PROJTYPE_EXPLORER || !CListView )
  145.  
  146. $$IF(DB_NO_FILE)
  147. $$IF(HELP)
  148. =:tbdh_.bmp    res\Toolbar.bmp
  149. $$ELSE
  150. =:tbd__.bmp    res\Toolbar.bmp
  151. $$ENDIF
  152. $$ELIF(CRecordView || CDaoRecordView || COleDBRecordView)
  153. $$IF(HELP)
  154. =:tbrh_.bmp    res\Toolbar.bmp
  155. $$ELSE
  156. =:tbr__.bmp    res\Toolbar.bmp
  157. $$ENDIF
  158. $$ELSE //!database view
  159. $$IF(HELP)
  160. =:tbah_.bmp    res\Toolbar.bmp
  161. $$ELSE
  162. =:tba__.bmp    res\Toolbar.bmp
  163. $$ENDIF
  164. $$ENDIF //database views
  165.  
  166. $$ELSE
  167.  
  168. $$IF(DB_NO_FILE)
  169. $$IF(HELP)
  170. =:tbedh.bmp    res\Toolbar.bmp
  171. $$ELSE
  172. =:tbed_.bmp    res\Toolbar.bmp
  173. $$ENDIF
  174. $$ELSE //!database view
  175. $$IF(HELP)
  176. =:tbeah.bmp    res\Toolbar.bmp
  177. $$ELSE
  178. =:tbea_.bmp    res\Toolbar.bmp
  179. $$ENDIF
  180. $$ENDIF //database views
  181.  
  182. $$ENDIF //EXPLORER
  183.  
  184. $$IF(FULL_SERVER || MINI_SERVER || CONTAINER_SERVER)
  185. $$IF(CRecordView || CDaoRecordView || COleDBRecordView)
  186. $$IF(HELP)
  187. =:tbrhi.bmp    res\IToolbar.bmp
  188. $$ELSE
  189. =:tbr_i.bmp    res\IToolbar.bmp
  190. $$ENDIF
  191. $$ELSE //!database view
  192. $$IF(HELP)
  193. =:tbahi.bmp    res\IToolbar.bmp
  194. $$ELSE
  195. =:tba_i.bmp    res\IToolbar.bmp
  196. $$ENDIF
  197. $$ENDIF //database views
  198. $$ENDIF //SERVERs
  199.  
  200. $$ELSE  // NODOCVIEW
  201. =:tbnd_.bmp    res\Toolbar.bmp
  202. $$ENDIF
  203. $$ENDIF //TOOLBAR
  204. $$ENDIF //!PROJTYPE_DLG
  205.  
  206. $$// Bitmaps needed for owner-draw buttons in "Press Me"
  207. $$IF(PRESS_ME_DIALOG)
  208. =smileu.bmp    res\smileu.bmp
  209. =smiled.bmp    res\smiled.bmp
  210. =smilef.bmp    res\smilef.bmp
  211. =frownu.bmp    res\frownu.bmp
  212. =frownd.bmp    res\frownd.bmp
  213. =frownf.bmp    res\frownf.bmp
  214. $$ENDIF
  215.  
  216. $$// Help Specific
  217. $$IF(HELP)
  218. /hlp
  219. $$IF(MULTIPLE_LANGS)
  220. $$BEGINLOOP(NUM_LANGS)
  221. /$$HLP_DIR_LOC$$
  222. $$ENDLOOP //NUM_LANGS
  223. $$ENDIF //MULTIPLE_LANGS
  224.  
  225. -makehelp.bat    MakeHelp.bat
  226.  
  227. $$BEGINLOOP(NUM_LANGS)
  228. $$SET_DEFAULT_LANG(LANG_SUFFIX)
  229. $$IF(TARGET_INTEL || TARGET_MIPS || TARGET_ALPHA)
  230. root.hpj    $$HLP_DIR_LOC$$\$$root$$.hpj
  231. $$ENDIF //INTEL,MIPS,ALPHA
  232.  
  233. $$IF(PROJTYPE_DLG)
  234. ?afxdlg.rtf    $$HLP_DIR_LOC$$\AfxDlg.rtf
  235. dlgroot.cnt    $$HLP_DIR_LOC$$\$$root$$.cnt
  236.  
  237. $$ELSE
  238.  
  239. root.cnt    $$HLP_DIR_LOC$$\$$root$$.cnt
  240. $$IF(TARGET_INTEL || TARGET_MIPS || TARGET_ALPHA)
  241. =?afxcore.rtf    $$HLP_DIR_LOC$$\AfxCore.rtf
  242. $$ENDIF //INTEL,MIPS,ALPHA
  243.  
  244. $$IF(PRINT)
  245. $$IF(TARGET_INTEL || TARGET_MIPS || TARGET_ALPHA)
  246. =?afxprint.rtf    $$HLP_DIR_LOC$$\AfxPrint.rtf
  247. $$ENDIF //INTEL,MIPS,ALPHA
  248. $$ENDIF //PRINT
  249.  
  250. $$IF(CONTAINER || CONTAINER_SERVER)
  251. =?afxolecl.rtf    $$HLP_DIR_LOC$$\AfxOleCl.rtf
  252. $$ENDIF
  253. $$IF(FULL_SERVER || MINI_SERVER || CONTAINER_SERVER)
  254. =?afxolesv.rtf    $$HLP_DIR_LOC$$\AfxOleSv.rtf
  255. $$ENDIF
  256. $$IF(CRecordView || CDaoRecordView || COleDBRecordView)
  257. =?afxdb.rtf    $$HLP_DIR_LOC$$\AfxDb.rtf
  258. $$ENDIF
  259.  
  260. $$// localized help specific bitmaps
  261. =?appexit.bmp    $$HLP_DIR_LOC$$\AppExit.bmp
  262. =?hlpsbar.bmp    $$HLP_DIR_LOC$$\HlpSBar.bmp
  263. =?scmenu.bmp    $$HLP_DIR_LOC$$\ScMenu.bmp
  264.  
  265. $$ENDIF //PROJTYPE_DLG
  266. $$ENDLOOP //NUM_LANGS
  267.  
  268. $$IF(!PROJTYPE_DLG)
  269. $$// non-localized help specific bitmaps
  270. =?filenew.bmp    hlp\FileNew.bmp
  271. =?fileopen.bmp    hlp\FileOpen.bmp
  272. =?fileprnt.bmp    hlp\FilePrnt.bmp
  273. =?filesave.bmp    hlp\FileSave.bmp
  274. =?editcopy.bmp    hlp\EditCopy.bmp
  275. =?editcut.bmp    hlp\EditCut.bmp
  276. =?editpast.bmp    hlp\EditPast.bmp
  277. =?editundo.bmp    hlp\EditUndo.bmp
  278. =?curarw4.bmp    hlp\CurArw4.bmp
  279. =?curarw2.bmp    hlp\CurArw2.bmp
  280. =?curhelp.bmp    hlp\CurHelp.bmp
  281. =?scmax.bmp    hlp\Scmax.bmp
  282. =?scmin.bmp    hlp\Scmin.bmp
  283. =?bullet.bmp    hlp\Bullet.bmp
  284. =?hlptbar.bmp    hlp\HlpTBar.bmp
  285. =?recfirst.bmp    hlp\RecFirst.bmp
  286. =?recprev.bmp    hlp\RecPrev.bmp
  287. =?recnext.bmp    hlp\RecNext.bmp
  288. =?reclast.bmp    hlp\RecLast.bmp
  289. $$ENDIF //!PROJTYPE_DLG
  290.  
  291. $$ENDIF //HELP
  292.  
  293. $$ENDIF //!PROJTYPE_DLL
  294.