Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
2.0 KiB

  1. //+---------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. // Copyright (C) Microsoft Corporation, 1992 - 1994.
  5. //
  6. // File: cicntrl.hxx
  7. //
  8. // Contents: The Content Index control object implementing the
  9. // ICiControl interface.
  10. //
  11. // Classes: CCiControl
  12. //
  13. // History: 12-03-96 srikants Created
  14. //
  15. //----------------------------------------------------------------------------
  16. #pragma once
  17. #include "ciframe.hxx"
  18. const LONGLONG sigCiCntrl = 0x204C52544E434943i64; // "CICNTRL"
  19. class CCiControl : public ICiControl
  20. {
  21. public:
  22. CCiControl();
  23. virtual ~CCiControl();
  24. //
  25. // IUnknown methods.
  26. //
  27. STDMETHOD(QueryInterface) (THIS_ REFIID riid,LPVOID *ppiuk );
  28. STDMETHOD_(ULONG, AddRef) (THIS);
  29. STDMETHOD_(ULONG, Release) (THIS);
  30. //
  31. // ICiControl methods.
  32. //
  33. STDMETHOD(CreateContentIndex) (
  34. ICiCDocStore *pICiCDocStore,
  35. ICiManager ** ppICiManager)
  36. {
  37. Win4Assert( !"Not Yet Implemented" );
  38. return E_NOTIMPL;
  39. }
  40. STDMETHOD(DestroyContentIndex) (
  41. ICiManager *pICiManager)
  42. {
  43. Win4Assert( !"Not Yet Implemented" );
  44. return E_NOTIMPL;
  45. }
  46. STDMETHOD(RegisterDocStore) (
  47. const WCHAR *pwszDocStoreName,
  48. ICiCDocStore *pICiCDocStore)
  49. {
  50. Win4Assert( !"Not Yet Implemented" );
  51. return E_NOTIMPL;
  52. }
  53. STDMETHOD(DeRegisterDocStore) (
  54. const WCHAR *pwszDocStoreName)
  55. {
  56. Win4Assert( !"Not Yet Implemented" );
  57. return E_NOTIMPL;
  58. }
  59. STDMETHOD(LookupDocStore) (
  60. const WCHAR *pwszDocStoreName,
  61. ICiCDocStore **ppICiCDocStore)
  62. {
  63. Win4Assert( !"Not Yet Implemented" );
  64. return E_NOTIMPL;
  65. }
  66. private:
  67. const LONGLONG _sigCiCntrl;// signature
  68. long _refCount; // ref-counting
  69. };