summaryrefslogtreecommitdiff
path: root/ACEXML
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2002-07-27 13:13:12 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2002-07-27 13:13:12 +0000
commit02c4565ffa8f3b0335ddfd5a2c5403a1ce851a49 (patch)
treec8e77a69ec74fa692afa40698861ad99ad6466da /ACEXML
parentf5675106957a77f83c7f48edddd14393e0108f2e (diff)
downloadATCD-02c4565ffa8f3b0335ddfd5a2c5403a1ce851a49.tar.gz
ChangeLogTag: Sat Jul 27 14:47:12 2002 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'ACEXML')
-rw-r--r--ACEXML/examples/Makefile.bor3
-rw-r--r--ACEXML/examples/svcconf/Makefile.bor24
-rw-r--r--ACEXML/examples/svcconf/Svcconf_Handler.cpp12
-rw-r--r--ACEXML/examples/svcconf/Svcconf_Handler.h2
-rw-r--r--ACEXML/examples/svcconf/main.cpp8
5 files changed, 43 insertions, 6 deletions
diff --git a/ACEXML/examples/Makefile.bor b/ACEXML/examples/Makefile.bor
index f92030584c6..a2aa4f15bbb 100644
--- a/ACEXML/examples/Makefile.bor
+++ b/ACEXML/examples/Makefile.bor
@@ -3,6 +3,7 @@
#
DIRS = \
- SAXPrint
+ SAXPrint \
+ svcconf
!include <$(ACE_ROOT)\include\makeinclude\recurse.bor>
diff --git a/ACEXML/examples/svcconf/Makefile.bor b/ACEXML/examples/svcconf/Makefile.bor
new file mode 100644
index 00000000000..91b14f910cb
--- /dev/null
+++ b/ACEXML/examples/svcconf/Makefile.bor
@@ -0,0 +1,24 @@
+#
+# $Id$
+# Makefile for building the svcconf example
+#
+
+NAME = Svcconf
+
+OBJFILES = \
+ $(OBJDIR)\Svcconf_Handler.obj \
+ $(OBJDIR)\main.obj
+
+CFLAGS = \
+ $(ACE_CFLAGS) \
+ $(ACE_XML_CFLAGS) \
+ $(ACE_XML_PARSER_CFLAGS)
+
+CPPDIR = .
+
+LIBFILES = \
+ $(ACE_LIB) \
+ $(ACE_XML_LIB) \
+ $(ACE_XML_PARSER_LIB)
+
+!include <$(ACE_ROOT)\include\makeinclude\build_exe.bor>
diff --git a/ACEXML/examples/svcconf/Svcconf_Handler.cpp b/ACEXML/examples/svcconf/Svcconf_Handler.cpp
index 8376c7e41d2..588caeb34ac 100644
--- a/ACEXML/examples/svcconf/Svcconf_Handler.cpp
+++ b/ACEXML/examples/svcconf/Svcconf_Handler.cpp
@@ -44,6 +44,8 @@ ACEXML_Svcconf_Handler::endElement (const ACEXML_Char *,
ACEXML_Env &xmlenv)
// ACE_THROW_SPEC ((ACEXML_SAXException))
{
+ ACE_UNUSED_ARG(xmlenv);
+
if (ACE_OS_String::strcmp (qName, ACE_TEXT ("dynamic")) == 0)
{
if (this->in_stream_def_)
@@ -339,6 +341,8 @@ int
ACEXML_Svcconf_Handler::get_stream_id (ACEXML_Attributes *alist,
ACEXML_Env &xmlenv)
{
+ ACE_UNUSED_ARG(xmlenv);
+
if (alist != 0)
for (size_t i = 0; i < alist->getLength (); ++i)
{
@@ -359,6 +363,8 @@ int
ACEXML_Svcconf_Handler::get_id (ACEXML_Attributes *alist,
ACEXML_Env &xmlenv)
{
+ ACE_UNUSED_ARG(xmlenv);
+
if (alist != 0)
for (size_t i = 0; i < alist->getLength (); ++i)
{
@@ -379,6 +385,8 @@ int
ACEXML_Svcconf_Handler::get_dynamic_attrs (ACEXML_Attributes *alist,
ACEXML_Env &xmlenv)
{
+ ACE_UNUSED_ARG(xmlenv);
+
if (alist != 0)
{
ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
@@ -436,6 +444,8 @@ int
ACEXML_Svcconf_Handler::get_initializer_attrs (ACEXML_Attributes *alist,
ACEXML_Env &xmlenv)
{
+ ACE_UNUSED_ARG(xmlenv);
+
if (alist != 0)
{
ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
@@ -469,6 +479,8 @@ int
ACEXML_Svcconf_Handler::get_static_attrs (ACEXML_Attributes *alist,
ACEXML_Env &xmlenv)
{
+ ACE_UNUSED_ARG(xmlenv);
+
if (alist != 0)
{
ACE_Parsed_Info *info = (this->in_stream_def_ == 0 ?
diff --git a/ACEXML/examples/svcconf/Svcconf_Handler.h b/ACEXML/examples/svcconf/Svcconf_Handler.h
index 1cff80eee87..01fcdf30fe5 100644
--- a/ACEXML/examples/svcconf/Svcconf_Handler.h
+++ b/ACEXML/examples/svcconf/Svcconf_Handler.h
@@ -13,7 +13,7 @@
#ifndef ACEXML_SVCCONF_HANDLER_H
#define ACEXML_SVCCONF_HANDLER_H
-#include "common/DefaultHandler.h"
+#include "ACEXML/common/DefaultHandler.h"
class ACE_Parsed_Info
{
diff --git a/ACEXML/examples/svcconf/main.cpp b/ACEXML/examples/svcconf/main.cpp
index bbadfdc0bc0..3e0fe8f01ab 100644
--- a/ACEXML/examples/svcconf/main.cpp
+++ b/ACEXML/examples/svcconf/main.cpp
@@ -1,13 +1,13 @@
// $Id$
-#include "common/FileCharStream.h"
-#include "common/StrCharStream.h"
-#include "parser/parser/Parser.h"
+#include "ACEXML/common/FileCharStream.h"
+#include "ACEXML/common/StrCharStream.h"
+#include "ACEXML/parser/parser/Parser.h"
#include "Svcconf_Handler.h"
#include "ace/Get_Opt.h"
int
-main (int argc, ACE_TCHAR *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
ACE_TCHAR *filename = 0;