[Gtkradiant] CVS: ported model module to synapse

Timothee Besset gtkradiant@zerowing.idsoftware.com
Mon, 16 Dec 2002 22:24:33 +0100


Some extremely ugly things:
http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/include/itoolbar.h.diff?r1=1.2&r2=1.2.2.1

This deserves a cleaner design, and not some structs with code pointers
that you're going to share between modules. I see in the rest of the
checkin that there is a toolbar manager in Radiant. That's the way things
should be done. Radiant uses SYN_PROVIDE to give out a toolbar manager
API, the plugin has a SYN_REQUIRE for this API, and during the plugin
initiailization phase, it sends one or more IToolbarButton interfaces
(ONLY SHARE PURE VIRTUAL REFERENCE COUNTED APIS BETWEEN MODULES) to the
manager.

TTimo

On Mon, 16 Dec 2002 15:13:41 -0600
William Joseph <spog@zerowing.idsoftware.com> wrote:

> User   : spog
> Branch : merge-1_2_10-post
> Root   : zerowing:/cvs
> Date   : 2002/12/16  15:13:26
> 
> ported model module to synapse
> 
> --
> 
> 18 files modified :
> 
>   GtkRadiant/radiant.dsw
>     1.28.2.4 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant.dsw?rev=1.28.2.4
>     1.28.2.3 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant.dsw?rev=1.28.2.3
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant.dsw.diff?r1=1.28.2.3&r2=1.28.2.4
> 
>   GtkRadiant/include/itoolbar.h
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/include/itoolbar.h?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/include/itoolbar.h?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/include/itoolbar.h.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/libs/picomodel/picomodel.dsp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/libs/picomodel/picomodel.dsp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/libs/picomodel/picomodel.dsp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/libs/picomodel/picomodel.dsp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/entity/miscmodel.cpp
>     1.2.2.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/entity/miscmodel.cpp?rev=1.2.2.2
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/entity/miscmodel.cpp?rev=1.2.2.1
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/entity/miscmodel.cpp.diff?r1=1.2.2.1&r2=1.2.2.2
> 
>   GtkRadiant/plugins/model/cpicomodel.cpp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicomodel.cpp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicomodel.cpp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicomodel.cpp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/cpicomodel.h
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicomodel.h?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicomodel.h?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicomodel.h.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/cpicosurface.cpp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicosurface.cpp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicosurface.cpp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicosurface.cpp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/cpicosurface.h
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicosurface.h?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicosurface.h?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/cpicosurface.h.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/eclassmodel.cpp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/eclassmodel.cpp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/eclassmodel.cpp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/eclassmodel.cpp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/entitymodel.cpp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/entitymodel.cpp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/entitymodel.cpp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/entitymodel.cpp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/miscmodel.cpp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/miscmodel.cpp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/miscmodel.cpp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/miscmodel.cpp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/model.def
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/model.def?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/model.def?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/model.def.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/model.dsp
>     1.2.2.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/model.dsp?rev=1.2.2.2
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/model.dsp?rev=1.2.2.1
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/model.dsp.diff?r1=1.2.2.1&r2=1.2.2.2
> 
>   GtkRadiant/plugins/model/plugin.cpp
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/plugin.cpp?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/plugin.cpp?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/plugin.cpp.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/plugins/model/plugin.h
>     1.2.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/plugin.h?rev=1.2.2.1
>     1.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/plugin.h?rev=1.2
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/plugins/model/plugin.h.diff?r1=1.2&r2=1.2.2.1
> 
>   GtkRadiant/radiant/mainframe.cpp
>     1.101.2.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/mainframe.cpp?rev=1.101.2.2
>     1.101.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/mainframe.cpp?rev=1.101.2.1
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/mainframe.cpp.diff?r1=1.101.2.1&r2=1.101.2.2
> 
>   GtkRadiant/radiant/mainframe.h
>     1.29.2.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/mainframe.h?rev=1.29.2.2
>     1.29.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/mainframe.h?rev=1.29.2.1
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/mainframe.h.diff?r1=1.29.2.1&r2=1.29.2.2
> 
>   GtkRadiant/radiant/pluginmanager.cpp
>     1.78.2.2 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/pluginmanager.cpp?rev=1.78.2.2
>     1.78.2.1 : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/pluginmanager.cpp?rev=1.78.2.1
>     diff : http://zerowing.idsoftware.com/viewcvs/viewcvs.cgi/GtkRadiant/radiant/pluginmanager.cpp.diff?r1=1.78.2.1&r2=1.78.2.2
> 
>