Permalink
Browse files

[IPLUG] note about GetHost stuff

  • Loading branch information...
1 parent e6bc143 commit 67d85b22c8cae45ee7e9a87228a1793045dd5c00 @olilarkin committed Mar 4, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 WDL/IPlug/IPlugBase.h
@@ -134,6 +134,8 @@ class IPlugBase
double GetSamplesPerBeat();
virtual void GetTimeSig(int* pNum, int* pDenom) = 0;
virtual void GetTime(ITimeInfo* pTimeInfo) = 0;
+
+ // Generally you don't want to call these from your plugin constructor, but from HostSpecificInit()
virtual EHost GetHost() { return mHost; }
virtual EAPI GetAPI() { return mAPI; }
int GetHostVersion(bool decimal); // Decimal = VVVVRRMM, otherwise 0xVVVVRRMM.

0 comments on commit 67d85b2

Please sign in to comment.