2016-02-27 10:57:10 +01:00
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
#include "Common.hpp"
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
namespace SqMod {
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
int SampleFunction()
|
|
|
|
{
|
2016-06-03 20:31:58 +02:00
|
|
|
OutputMessage("Hello from the sample plug-in function!");
|
2016-02-27 10:57:10 +01:00
|
|
|
return rand();
|
|
|
|
}
|
|
|
|
|
|
|
|
// ------------------------------------------------------------------------------------------------
|
|
|
|
void SampleType::SampleMethod() const
|
|
|
|
{
|
|
|
|
OutputMessage("I have the values %d and %d", m_MyVal, mMyNum);
|
|
|
|
}
|
|
|
|
|
|
|
|
} // Namespace:: SqMod
|