From 60c1ccd33e0e87bacb45d87a9fc3e58b7a9e0723 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 25 Feb 2010 23:29:42 +0000 Subject: Working VisualC suport in IDE's (dll's are still missing). Fixed a few warnings. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@7147 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- fluid/ide_visualc.cxx | 67 +++++++++++++++++++++------------------------------ 1 file changed, 28 insertions(+), 39 deletions(-) (limited to 'fluid/ide_visualc.cxx') diff --git a/fluid/ide_visualc.cxx b/fluid/ide_visualc.cxx index 3126a0bca..ccc5e83fa 100644 --- a/fluid/ide_visualc.cxx +++ b/fluid/ide_visualc.cxx @@ -76,43 +76,22 @@ class VisualC6_IDE { Fl_Preferences filesDB; int nFiles; Fl_Preferences ideDB; - /* - XCID xcRootNodeID; - XCID xcBuildConfigurationListID; - XCID xcMainGroupID; - XCID xcProductsGroupID; - XCID xcAppsGroupID; - XCID xcLibsGroupID; - XCID xcTestsGroupID; - XCID xcBuildConfigurationDebugID; - XCID xcBuildConfigurationReleaseID; - */ public: VisualC6_IDE(Fl_Preferences &db, const char *rootDirA) : rootDir(strdup(rootDirA)), - tgtAppsDB(db, "targets/apps"), - tgtLibsDB(db, "targets/libs"), - tgtTestsDB(db, "targets/tests"), - filesDB(db, "files"), - ideDB(db, "ide/VisualC") + tgtAppsDB(db, "targets/apps"), + tgtLibsDB(db, "targets/libs"), + tgtTestsDB(db, "targets/tests"), + filesDB(db, "files"), + ideDB(db, "ide/VisualC") { db.get("projectName", projectName, "Unnamed", 80); nTgtApps = tgtAppsDB.groups(); nTgtLibs = tgtLibsDB.groups(); nTgtTests = tgtTestsDB.groups(); nFiles = filesDB.groups(); - /* - getXCID(ideDB, "xcRootNodeID", xcRootNodeID); - getXCID(ideDB, "xcBuildConfigurationListID", xcBuildConfigurationListID); - getXCID(ideDB, "xcMainGroupID", xcMainGroupID); - getXCID(ideDB, "xcProductsGroupID", xcProductsGroupID); - getXCID(ideDB, "xcAppsGroupID", xcAppsGroupID); - getXCID(ideDB, "xcLibsGroupID", xcLibsGroupID); - getXCID(ideDB, "xcTestsGroupID", xcTestsGroupID); - getXCID(ideDB, "xcBuildConfigurationDebugID", xcBuildConfigurationDebugID); - getXCID(ideDB, "xcBuildConfigurationReleaseID", xcBuildConfigurationReleaseID); - */ } + ~VisualC6_IDE() { if (rootDir) free(rootDir); } @@ -179,7 +158,7 @@ public: for (i=0; i