Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoreutarass2008-02-26 21:19:36 +0000
committereutarass2008-02-26 21:19:36 +0000
commitc2e0a80cda20ac9322121f0a05e65f85964fcfa1 (patch)
tree4d1bbb7dfc297a14d77270d1fb3d53dc2615330e /examples/org.eclipse.tm.tcf.examples.daytime.agent
parent94fbe6cda0f6ddb394b08594e49ffa6de7d87d33 (diff)
downloadorg.eclipse.tcf-c2e0a80cda20ac9322121f0a05e65f85964fcfa1.tar.gz
org.eclipse.tcf-c2e0a80cda20ac9322121f0a05e65f85964fcfa1.tar.xz
org.eclipse.tcf-c2e0a80cda20ac9322121f0a05e65f85964fcfa1.zip
Example projects: added readme files, added copyright notices, did some cosmetic changes.
Diffstat (limited to 'examples/org.eclipse.tm.tcf.examples.daytime.agent')
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/config.h8
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c2
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h2
-rw-r--r--examples/org.eclipse.tm.tcf.examples.daytime.agent/readme.txt17
4 files changed, 20 insertions, 9 deletions
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/config.h b/examples/org.eclipse.tm.tcf.examples.daytime.agent/config.h
index eff8d739e..c2b1a5cb3 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/config.h
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/config.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 Wind River Systems, Inc. and others.
+ * Copyright (c) 2008 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -21,16 +21,10 @@
#define D_config
#if defined(WIN32) || defined(__CYGWIN__)
-# define TARGET_WINDOWS 1
-# define TARGET_VXWORKS 0
# define TARGET_UNIX 0
#elif defined(_WRS_KERNEL)
-# define TARGET_WINDOWS 0
-# define TARGET_VXWORKS 1
# define TARGET_UNIX 0
#else
-# define TARGET_WINDOWS 0
-# define TARGET_VXWORKS 0
# define TARGET_UNIX 1
#endif
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
index 73f672a5d..1faf9af9c 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.c
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 Wind River Systems, Inc. and others.
+ * Copyright (c) 2008 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h
index c65fd1339..327600ef9 100644
--- a/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/daytime.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007, 2008 Wind River Systems, Inc. and others.
+ * Copyright (c) 2008 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
diff --git a/examples/org.eclipse.tm.tcf.examples.daytime.agent/readme.txt b/examples/org.eclipse.tm.tcf.examples.daytime.agent/readme.txt
new file mode 100644
index 000000000..3b6ac9fe2
--- /dev/null
+++ b/examples/org.eclipse.tm.tcf.examples.daytime.agent/readme.txt
@@ -0,0 +1,17 @@
+Readme for TCF Agent Daytime Example
+------------------------------
+
+The Agent Daytime Example shows how TCF agent can be customized and extended with user defined service.
+The example provides code to build the agent with custom set of services, including user defined DayTime service.
+The example is mainly meant for developer's educational use,
+DayTime service does not meant to be of any other value.
+
+See "org.eclipse.tm.tcf.examples.daytime" for details on extending TCF Java binding for DayTime service.
+
+The example includes:
+1. Makefile to build the customized agent.
+2. Implementation of DayTime service: daytime.h daytime.c
+3. Agent configuration header file: config.h
+
+CDT can be used to edit and build the example project.
+Supported agent execution environments: CygWin, Linux.

Back to the top