summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h')
-rw-r--r--TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h33
1 files changed, 19 insertions, 14 deletions
diff --git a/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h b/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h
index 624635e7244..88dda6f6a5e 100644
--- a/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h
+++ b/TAO/orbsvcs/tests/AVStreams/mpeg/source/server/Video_Repository.h
@@ -2,16 +2,16 @@
// ============================================================================
// $Id$
-//
//
-// = FILENAME
+//
+// = FILENAME
// Video_Repository.h
-//
-// = DESCRIPTION
+//
+// = DESCRIPTION
// As a trading service dynamic property, creates a sequence of
// structures, each structure describing a movie in the video
-// repository.
-//
+// repository.
+//
// = AUTHORS
// Seth Widoff <sbw1@cs.wustl.edu>
//
@@ -20,9 +20,14 @@
#if (! defined TAO_VIDEO_REPOSITORY_H)
#define TAO_VIDEO_REPOSITORY_H
-#include "orbsvcs/Trader/Trader_Utils.h"
+#include "orbsvcs/Trader/Trader_Utils.h"
#include "ace/OS.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
#include "Video_RepositoryC.h"
#include "Property_Exporter.h"
@@ -31,7 +36,7 @@ class TAO_Video_Repository :
public TAO_Exportable
// = DESCRIPTION
// When evalDP is invoked by the Dynamic Property Dispatcher, the
-// TAO_Video_Repository parses the database file and creates a Movie
+// TAO_Video_Repository parses the database file and creates a Movie
// Sequence, each structure of which describes a movie in the
// database. The evalDP then crams the sequence into a dynamically
// allocated Any, which it returns to the dispatcher.
@@ -43,21 +48,21 @@ class TAO_Video_Repository :
public:
static const char* MOVIE_INFO;
-
+
TAO_Video_Repository (const char* filename);
// TAO_Video_Repository requires the pathname of the video
// repository database.
~TAO_Video_Repository (void);
-
+
virtual CORBA::Any* evalDP (const char* name,
CORBA::TypeCode_ptr returned_type,
const CORBA::Any& extra_info,
- CORBA::Environment& _env)
+ CORBA::Environment& _env)
TAO_THROW_SPEC ((CosTradingDynamic::DPEvalFailure));
virtual void export_properties (TAO_Property_Exporter& prop_exporter);
-
+
virtual int define_properties
(CosTradingRepos::ServiceTypeRepository::PropStructSeq& prop_seq,
CORBA::ULong offet = 0) const;
@@ -67,9 +72,9 @@ private:
void parse_file (const char* database, int num_lines);
static void obtain_movie_info (const char* file_name,
- TAO_VR::Movie& movie) {}
+ TAO_VR::Movie& movie) {}
// Extract the techincal information from the actual MPEG file.
-
+
TAO_Video_Repository (void) {}
TAO_Video_Repository& operator= (const TAO_Video_Repository& rep)
{ return *this; }