paragui-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[paragui-cvs] CVS: paragui/src/widgets pglayout.cpp,1.2.6.3,1.2.6.4


From: Alexander Pipelka <address@hidden>
Subject: [paragui-cvs] CVS: paragui/src/widgets pglayout.cpp,1.2.6.3,1.2.6.4
Date: Mon, 17 Jun 2002 07:33:01 -0400

Update of /cvsroot/paragui/paragui/src/widgets
In directory subversions:/tmp/cvs-serv3940/src/widgets

Modified Files:
      Tag: devel-1-0
        pglayout.cpp 
Log Message:
added hook to process XML layout tags from the "<head>" section.



Index: pglayout.cpp
===================================================================
RCS file: /cvsroot/paragui/paragui/src/widgets/pglayout.cpp,v
retrieving revision 1.2.6.3
retrieving revision 1.2.6.4
diff -C2 -r1.2.6.3 -r1.2.6.4
*** pglayout.cpp        13 Jun 2002 17:26:53 -0000      1.2.6.3
--- pglayout.cpp        17 Jun 2002 11:32:59 -0000      1.2.6.4
***************
*** 1088,1092 ****
--- 1088,1102 ----
  
        if(XMLParser->Section & XML_SECTION_HEAD) {
+               // create tag description
+               PG_XMLTag* n = new PG_XMLTag;
                
+               // fill in data
+               n->name = name;
+               const char** a = atts;
+               while(*a != NULL) {
+                       n->atts.push_back(std::string(*a));
+                       a++;
+               }
+               PG_Application::GetApp()->SendMessage(NULL, MSG_XMLTAG, 0, 
(MSG_DATA)n);
        }
        




reply via email to

[Prev in Thread] Current Thread [Next in Thread]