docu updated, license headers
authorJens Thiele <jens.thiele@intra2net.com>
Wed, 20 Dec 2006 12:21:57 +0000 (12:21 +0000)
committerJens Thiele <jens.thiele@intra2net.com>
Wed, 20 Dec 2006 12:21:57 +0000 (12:21 +0000)
examples/README
examples/TODO [deleted file]
examples/minimalistic-client.cpp
examples/minimalistic-server.cpp

index 78b63f9..2ff384e 100644 (file)
@@ -1,3 +1,5 @@
-boost serialization and extended_type_info trouble:
-- the problem was that the static initializers generated by the BOOST_CLASS_EXPORT macro haven't been called
-this happened because the translation unit of the static library created wasn't used
+Example using libt2n without the code generator directly.
+This is probably not the example you are looking for.
+The example using the code generator is in a separate package.
+
+This example was used to write the code generator.
diff --git a/examples/TODO b/examples/TODO
deleted file mode 100644 (file)
index 6a7aba4..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-- function to command group mapping?
-
-code generator:
-gccxml output: type of function arguments is a bit tricky:
-
-<Function id="_18" name="testfunc" returns="_1506" context="_1" mangled="_Z8testfuncRKSs" demangled="testfunc(std::string const&amp;)" location="f3:16" fil
-e="f3" line="16" endline="25" attributes="gccxml(libt2n-example)">
-    <Argument name="str" type="_1550" location="f3:16" file="f3" line="16"/>
-  </Function>
-
-=> _1550:
-<ReferenceType id="_1550" type="_1506c" size="32" align="32"/>
-
-=> _1506c:
-<CvQualifiedType id="_1506c" type="_1506" const="1"/>:
-
-=> _1506:
-<Typedef id="_1506" name="string" type="_1505" context="_2" location="f105:60" file="f105" line="60"/>
-
-=> _1505:
-<Struct id="_1505" name="basic_string&lt;char,std::char_traits&lt;char&gt;,std::allocator&lt;char&gt; &gt;" context="_2" mangled="Ss" demangled="std::strin
-g" location="f105:56" file="f105" line="56" artificial="1" size="32" align="32" members="_4377 _4378 _4379 _4380 _4381 _4382 _4383 _4384 _4385 _4386 _4387 _4
-388 _4389 _4390 _4391 _4392 _4393 _4394 _4395 _4396 _4397 _4398 _4399 _4400 _4401 _4402 _4403 _4404 _4405 _4406 _4407 _4408 _4409 _4410 _4411 _4412 _4413 _44
-14 _4415 _4416 _4417 _4418 _4419 _4420 _4421 _4422 _4423 _4424 _4425 _4426 _4427 _4428 _4429 _4430 _4431 _4432 _4433 _4434 _4435 _4436 _4437 _4438 _4439 _444
-0 _4441 _4442 _4443 _4444 _4445 _4446 _4447 _4448 _4449 _4450 _4451 _4452 _4453 _4454 _4455 _4456 _4457 _4458 _4459 _4460 _4461 _4462 _4463 _4464 _4465 _4466
- _4467 _4468 _4469 _4470 _4471 _4472 _4473 _4474 _4475 _4476 _4477 _4478 _4479 _4480 _4481 _4482 _4483 _4484 _4485 _4486 _4487 _4488 _4489 _4490 _4491 _4492
-_4493 _4494 _4495 _4496 _4497 _4498 _4499 _4500 _4501 _4502 _4503 _4504 _4505 _4506 _4507 _4508 _4509 _4510 _4511 _4512 _4513 _4514 _4515 _4516 _4517 _4518 _
-4519 _4520 _4521 _4522 _4523 " bases=""/>
index b2d8b8a..35ef13c 100644 (file)
@@ -1,8 +1,21 @@
-/***************************************************************************
- *   Copyright (C) 2004 by Intra2net AG                                    *
- *   info@intra2net.com                                                    *
- *                                                                         *
- ***************************************************************************/
+/*
+    Copyright (C) 2006                                                    
+    intra2net.com                                                         
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
 
 #include <socket_client.hxx>
 
index dde3843..39826f2 100644 (file)
@@ -1,8 +1,21 @@
-/***************************************************************************
- *   Copyright (C) 2004 by Intra2net AG                                    *
- *   info@intra2net.com                                                    *
- *                                                                         *
- ***************************************************************************/
+/*
+    Copyright (C) 2006                                                    
+    intra2net.com                                                         
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+*/
 
 #include <string>
 #include "minimalistic-stub.hxx"