diff --git a/include/ICaptureEventHandler.h b/include/ICaptureEventHandler.h new file mode 100644 index 0000000..5f2462d --- /dev/null +++ b/include/ICaptureEventHandler.h @@ -0,0 +1,31 @@ +// Copyright (c) 2008-2010 Raynaldo (Wildicv) Rivera, Joshua (Dark_Kilauea) Jones +// This file is part of the "cAudio Engine" +// For conditions of distribution and use, see copyright notice in cAudio.h + +#ifndef ICAPTUREEVENTHANDLER_H +#define ICAPTUREEVENTHANDLER_H + +namespace cAudio{ + + class ICaptureEventHandler + { + + public: + //! This function is called on capture device intialize + virtual void onInit() = 0; + //! This function is called on capture buffer update + virtual void onUpdate() = 0; + //! This function is called on capture device shutdown + virtual void onRelease() = 0; + //! This function is called on capture begin + virtual void onBeginCapture() = 0; + //! This function is called on capture end + virtual void onEndCapture() = 0; + //! This function is called whe user request capture buffer + virtual void onUserRequestBuffer() = 0; + + }; + +}; + +#endif //! ICAPTUREEVENTHANDLER_H