upm/src/speaker/javaupm_speaker.i
Sisinty Sasmita Patra 982065a7b7 Speaker: Removed grove dependency
* Renamed all files from grovespeaker to speaker
    * Replaced all instances of grovespeaker with speaker
    * Updated all CMake files
2016-09-14 14:09:20 -07:00

19 lines
378 B
OpenEdge ABL

%module javaupm_speaker
%include "../upm.i"
%{
#include "speaker.hpp"
%}
%include "speaker.hpp"
%pragma(java) jniclasscode=%{
static {
try {
System.loadLibrary("javaupm_speaker");
} catch (UnsatisfiedLinkError e) {
System.err.println("Native code library failed to load. \n" + e);
System.exit(1);
}
}
%}