diff options
author | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
---|---|---|
committer | bossiel <bossiel@yahoo.fr> | 2011-08-10 22:59:15 +0000 |
commit | 1ebf5a5fcda0c9154e22ed02404fd46525a7fd9f (patch) | |
tree | 4b6214a7142ab1035cb0e47444e88af38e712421 /thirdparties/win32/include/directshow/sysclock.h | |
download | doubango-1.0.zip doubango-1.0.tar.gz |
Move deprecated v1.0 from trunk to branches1.0
Diffstat (limited to 'thirdparties/win32/include/directshow/sysclock.h')
-rw-r--r-- | thirdparties/win32/include/directshow/sysclock.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/thirdparties/win32/include/directshow/sysclock.h b/thirdparties/win32/include/directshow/sysclock.h new file mode 100644 index 0000000..53c8e4c --- /dev/null +++ b/thirdparties/win32/include/directshow/sysclock.h @@ -0,0 +1,39 @@ +//------------------------------------------------------------------------------
+// File: SysClock.h
+//
+// Desc: DirectShow base classes - defines a system clock implementation of
+// IReferenceClock.
+//
+// Copyright (c) Microsoft Corporation. All rights reserved.
+//------------------------------------------------------------------------------
+
+
+#ifndef __SYSTEMCLOCK__
+#define __SYSTEMCLOCK__
+
+//
+// Base clock. Uses timeGetTime ONLY
+// Uses most of the code in the base reference clock.
+// Provides GetTime
+//
+
+class CSystemClock : public CBaseReferenceClock, public IAMClockAdjust, public IPersist
+{
+public:
+ // We must be able to create an instance of ourselves
+ static CUnknown * WINAPI CreateInstance(LPUNKNOWN pUnk, HRESULT *phr);
+ CSystemClock(TCHAR *pName, LPUNKNOWN pUnk, HRESULT *phr);
+
+ DECLARE_IUNKNOWN
+
+ STDMETHODIMP NonDelegatingQueryInterface(REFIID riid,void ** ppv);
+
+ // Yield up our class id so that we can be persisted
+ // Implement required Ipersist method
+ STDMETHODIMP GetClassID(CLSID *pClsID);
+
+ // IAMClockAdjust methods
+ STDMETHODIMP SetClockDelta(REFERENCE_TIME rtDelta);
+}; //CSystemClock
+
+#endif /* __SYSTEMCLOCK__ */
|