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