IDemoDll.h
上传用户:goldcmy89
上传日期:2017-12-03
资源大小:2246k
文件大小:5k
- /*
- * DO NOT EDIT. THIS FILE IS GENERATED FROM IDemoDll.idl
- */
- #ifndef __gen_IDemoDll_h__
- #define __gen_IDemoDll_h__
- #ifndef __gen_nsISupports_h__
- #include "nsISupports.h"
- #endif
- /* For IDL files that don't want to include root IDL files. */
- #ifndef NS_NO_VTABLE
- #define NS_NO_VTABLE
- #endif
- /* starting interface: IDemoDll */
- #define IDEMODLL_IID_STR "0b2fd530-2c2f-4254-9703-c3a9c817a5b7"
- #define IDEMODLL_IID
- {0x0b2fd530, 0x2c2f, 0x4254,
- { 0x97, 0x03, 0xc3, 0xa9, 0xc8, 0x17, 0xa5, 0xb7 }}
- class NS_NO_VTABLE IDemoDll : public nsISupports {
- public:
- NS_DEFINE_STATIC_IID_ACCESSOR(IDEMODLL_IID)
- /* void init (in string aLangFile, in string aParamFile); */
- NS_IMETHOD Init(const char *aLangFile, const char *aParamFile) = 0;
- /* void record (in long aTop, in long aLeft, in long aWidth, in long aHight); */
- NS_IMETHOD Record(PRInt32 aTop, PRInt32 aLeft, PRInt32 aWidth, PRInt32 aHight) = 0;
- /* void pause (); */
- NS_IMETHOD Pause(void) = 0;
- /* void stop (); */
- NS_IMETHOD Stop(void) = 0;
- /* void destroy (); */
- NS_IMETHOD Destroy(void) = 0;
- /* attribute ACString recordFileName; */
- NS_IMETHOD GetRecordFileName(nsACString & aRecordFileName) = 0;
- NS_IMETHOD SetRecordFileName(const nsACString & aRecordFileName) = 0;
- };
- /* Use this macro when declaring classes that implement this interface. */
- #define NS_DECL_IDEMODLL
- NS_IMETHOD Init(const char *aLangFile, const char *aParamFile);
- NS_IMETHOD Record(PRInt32 aTop, PRInt32 aLeft, PRInt32 aWidth, PRInt32 aHight);
- NS_IMETHOD Pause(void);
- NS_IMETHOD Stop(void);
- NS_IMETHOD Destroy(void);
- NS_IMETHOD GetRecordFileName(nsACString & aRecordFileName);
- NS_IMETHOD SetRecordFileName(const nsACString & aRecordFileName);
- /* Use this macro to declare functions that forward the behavior of this interface to another object. */
- #define NS_FORWARD_IDEMODLL(_to)
- NS_IMETHOD Init(const char *aLangFile, const char *aParamFile) { return _to Init(aLangFile, aParamFile); }
- NS_IMETHOD Record(PRInt32 aTop, PRInt32 aLeft, PRInt32 aWidth, PRInt32 aHight) { return _to Record(aTop, aLeft, aWidth, aHight); }
- NS_IMETHOD Pause(void) { return _to Pause(); }
- NS_IMETHOD Stop(void) { return _to Stop(); }
- NS_IMETHOD Destroy(void) { return _to Destroy(); }
- NS_IMETHOD GetRecordFileName(nsACString & aRecordFileName) { return _to GetRecordFileName(aRecordFileName); }
- NS_IMETHOD SetRecordFileName(const nsACString & aRecordFileName) { return _to SetRecordFileName(aRecordFileName); }
- /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
- #define NS_FORWARD_SAFE_IDEMODLL(_to)
- NS_IMETHOD Init(const char *aLangFile, const char *aParamFile) { return !_to ? NS_ERROR_NULL_POINTER : _to->Init(aLangFile, aParamFile); }
- NS_IMETHOD Record(PRInt32 aTop, PRInt32 aLeft, PRInt32 aWidth, PRInt32 aHight) { return !_to ? NS_ERROR_NULL_POINTER : _to->Record(aTop, aLeft, aWidth, aHight); }
- NS_IMETHOD Pause(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Pause(); }
- NS_IMETHOD Stop(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Stop(); }
- NS_IMETHOD Destroy(void) { return !_to ? NS_ERROR_NULL_POINTER : _to->Destroy(); }
- NS_IMETHOD GetRecordFileName(nsACString & aRecordFileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->GetRecordFileName(aRecordFileName); }
- NS_IMETHOD SetRecordFileName(const nsACString & aRecordFileName) { return !_to ? NS_ERROR_NULL_POINTER : _to->SetRecordFileName(aRecordFileName); }
- #if 0
- /* Use the code below as a template for the implementation class for this interface. */
- /* Header file */
- class _MYCLASS_ : public IDemoDll
- {
- public:
- NS_DECL_ISUPPORTS
- NS_DECL_IDEMODLL
- _MYCLASS_();
- private:
- ~_MYCLASS_();
- protected:
- /* additional members */
- };
- /* Implementation file */
- NS_IMPL_ISUPPORTS1(_MYCLASS_, IDemoDll)
- _MYCLASS_::_MYCLASS_()
- {
- /* member initializers and constructor code */
- }
- _MYCLASS_::~_MYCLASS_()
- {
- /* destructor code */
- }
- /* void init (in string aLangFile, in string aParamFile); */
- NS_IMETHODIMP _MYCLASS_::Init(const char *aLangFile, const char *aParamFile)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* void record (in long aTop, in long aLeft, in long aWidth, in long aHight); */
- NS_IMETHODIMP _MYCLASS_::Record(PRInt32 aTop, PRInt32 aLeft, PRInt32 aWidth, PRInt32 aHight)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* void pause (); */
- NS_IMETHODIMP _MYCLASS_::Pause()
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* void stop (); */
- NS_IMETHODIMP _MYCLASS_::Stop()
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* void destroy (); */
- NS_IMETHODIMP _MYCLASS_::Destroy()
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* attribute ACString recordFileName; */
- NS_IMETHODIMP _MYCLASS_::GetRecordFileName(nsACString & aRecordFileName)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- NS_IMETHODIMP _MYCLASS_::SetRecordFileName(const nsACString & aRecordFileName)
- {
- return NS_ERROR_NOT_IMPLEMENTED;
- }
- /* End of implementation class template. */
- #endif
- #endif /* __gen_IDemoDll_h__ */