Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
Version Control Plugin
daniloz:
Hi All,
This is an old project and now I got some free time, so I'm back to it. My idea is the implement a Visual SourceSafe Plugin for C::B.
I'm still in the conceptual stage and I have a question for the C::B developers:
- What's the best way to deal with the File States within a plugin?
I've seen that the enum FileVisualState defines states for version control (vc) and that it can be set using the SetFileState() method from the ProjectFile class, but I still have two questions:
- What's the cleanest way to get a pointer to the project manager or the actual project?
- Even if I set the File State in my plugin, it gets overwritten by the cbEditor::SetModified() method (cbeditor.cpp, line 850) when a file read-only property is changed (I've tried it and it really does).
Any help is very much appreciated,
daniloz
zabzonk:
> implement a Visual SourceSafe Plugin for C::B
I though SourceSafe was dead? Haven't MS killed it off? and anyway, I can't imagine any CB users would want to use it.
daniloz:
--- Quote from: Neil Butterworth on August 17, 2011, 03:50:47 pm ---> implement a Visual SourceSafe Plugin for C::B
I though SourceSafe was dead? Haven't MS killed it off? and anyway, I can't imagine any CB users would want to use it.
--- End quote ---
Not quite dead on our company... still using it...
Well, I want to use it. I do DSP programming and the Analog Devices IDE is just useless, so I use C::B, but our vcs is SourceSafe, so the idea... ;-)
MortenMacFly:
--- Quote from: daniloz on August 17, 2011, 04:17:13 pm ---I though SourceSafe was dead? Haven't MS killed it off? and anyway, I can't imagine any CB users would want to use it.
--- End quote ---
IMHO a sourcesafe plugin exists already... :shock:
daniloz:
--- Quote from: MortenMacFly on August 17, 2011, 04:41:11 pm ---IMHO a sourcesafe plugin exists already... :shock:
--- End quote ---
Hmmm... I completely missed that... where? :shock: please! :P
Navigation
[0] Message Index
[#] Next page
Go to full version