#ifndef _VIDEOCOMPANY_H
#define _VIDEOCOMPANY_H

#include "Common/ServerS.h"
#include "Common/ServerC.h"

#include <tao/corba.h>

class OPENFUSION_VIDEO_DLL VideoCompany
  : public POA_Server::Company
{
public:

  VideoCompany (const char *name, const char *type);

  virtual char *getName (void);

  virtual Server::OfferList *getOffers (const char *category) = 0;

  Server::Company_ptr getCompanyCORBARef (void)
    {
      Server::Company_var objVar = _this ();
      return Server::Company::_duplicate (objVar.in ());
    }

  const char *getType (void)
    {
      return type_.c_str ();
    }

private:

  ACE_CString name_;

  ACE_CString type_;
};

#endif  // _VIDEOCOMPANY_H
