Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / orbsvcs / DevGuideExamples / NamingService / Naming_Server / NamingTask.h
blob4b5cbba13e7bfd018aad150fc44a360037678813
1 #ifndef NAMINGTASK_H
2 #define NAMINGTASK_H
4 #include "tao/corba.h"
5 #include "ace/Task.h"
7 class NamingTask : public ACE_Task<ACE_MT_SYNCH>
9 public:
10 NamingTask (int argc, ACE_TCHAR** argv);
11 virtual int svc();
12 void waitInit ();
13 void end();
15 private:
16 int argc_;
17 ACE_TCHAR **argv_;
18 CORBA::ORB_var orb_;
19 bool initialized_;
22 #endif