/* DO NOT EDIT THIS FILE - it is machine generated */
#include <jni.h>
/* Header for class com_funambol_omadmclient_android_service_NotificationCallbackInterface */

#ifndef _Included_com_funambol_omadmclient_android_service_NotificationCallbackInterface
#define _Included_com_funambol_omadmclient_android_service_NotificationCallbackInterface
#ifdef __cplusplus
extern "C" {
#endif

JNIEXPORT jlong JNICALL Java_com_funambol_omadmclient_android_service_OmaDmClinetService_CreateMessageListener(JNIEnv *, jclass);

JNIEXPORT jlong JNICALL Java_com_funambol_omadmclient_android_service_OmaDmClinetService_StartMessageListener(JNIEnv *, jclass);

JNIEXPORT jlong JNICALL Java_com_funambol_omadmclient_android_service_OmaDmClinetService_StopMessageListener(JNIEnv *, jclass);


#ifdef __cplusplus
}

#include "DaemonDM/IMessageHandler.h"
#include "common/Errors.h"

namespace NS_DM_Client
{

class AndroidMessageHandler : public IMessageHandler
{
public:
    virtual bool Init();
    virtual bool Release();

    virtual StatusCode Display(const char* message, long min_time, long max_time);
    virtual StatusCode Confirmation(const char* message, long min_time, long max_time);
    virtual StatusCode UserInput(const char* message, long min_time, long max_time, char*& input,
        long max_len = 0, bool echo_password = 0);
    virtual StatusCode UserChoice(const char* message, long min_time, long max_time,
        const char* avialable_choise_set, char*& choise_set, bool allowMultipleChoises);
    virtual StatusCode ProgressNotification(const char* message, long min_time, long max_time,
        long size_to_download);

    virtual void ReleaseString(char* str);

    virtual ~AndroidMessageHandler() { }

};

}




#endif
#endif
