diff options
author | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
---|---|---|
committer | upstream source tree <ports@midipix.org> | 2015-03-15 20:14:05 -0400 |
commit | 554fd8c5195424bdbcabf5de30fdc183aba391bd (patch) | |
tree | 976dc5ab7fddf506dadce60ae936f43f58787092 /libjava/javax/security/auth/callback/ConfirmationCallback.h | |
download | cbb-gcc-4.6.4-upstream.tar.bz2 cbb-gcc-4.6.4-upstream.tar.xz |
obtained gcc-4.6.4.tar.bz2 from upstream website;upstream
verified gcc-4.6.4.tar.bz2.sig;
imported gcc-4.6.4 source tree from verified upstream tarball.
downloading a git-generated archive based on the 'upstream' tag
should provide you with a source tree that is binary identical
to the one extracted from the above tarball.
if you have obtained the source via the command 'git clone',
however, do note that line-endings of files in your working
directory might differ from line-endings of the respective
files in the upstream repository.
Diffstat (limited to 'libjava/javax/security/auth/callback/ConfirmationCallback.h')
-rw-r--r-- | libjava/javax/security/auth/callback/ConfirmationCallback.h | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/libjava/javax/security/auth/callback/ConfirmationCallback.h b/libjava/javax/security/auth/callback/ConfirmationCallback.h new file mode 100644 index 000000000..4e7443832 --- /dev/null +++ b/libjava/javax/security/auth/callback/ConfirmationCallback.h @@ -0,0 +1,72 @@ + +// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- + +#ifndef __javax_security_auth_callback_ConfirmationCallback__ +#define __javax_security_auth_callback_ConfirmationCallback__ + +#pragma interface + +#include <java/lang/Object.h> +#include <gcj/array.h> + +extern "Java" +{ + namespace javax + { + namespace security + { + namespace auth + { + namespace callback + { + class ConfirmationCallback; + } + } + } + } +} + +class javax::security::auth::callback::ConfirmationCallback : public ::java::lang::Object +{ + +public: + ConfirmationCallback(jint, jint, jint); + ConfirmationCallback(jint, JArray< ::java::lang::String * > *, jint); + ConfirmationCallback(::java::lang::String *, jint, jint, jint); + ConfirmationCallback(::java::lang::String *, jint, JArray< ::java::lang::String * > *, jint); + virtual ::java::lang::String * getPrompt(); + virtual jint getMessageType(); + virtual jint getOptionType(); + virtual JArray< ::java::lang::String * > * getOptions(); + virtual jint getDefaultOption(); + virtual void setSelectedIndex(jint); + virtual jint getSelectedIndex(); +private: + void setMessageType(jint); + void setOptionType(jint, jint); + void setOptions(JArray< ::java::lang::String * > *, jint); + void setPrompt(::java::lang::String *); +public: + static const jint UNSPECIFIED_OPTION = -1; + static const jint YES_NO_OPTION = 0; + static const jint YES_NO_CANCEL_OPTION = 1; + static const jint OK_CANCEL_OPTION = 2; + static const jint YES = 0; + static const jint NO = 1; + static const jint CANCEL = 2; + static const jint OK = 3; + static const jint INFORMATION = 0; + static const jint WARNING = 1; + static const jint ERROR = 2; +private: + ::java::lang::String * __attribute__((aligned(__alignof__( ::java::lang::Object)))) prompt; + jint messageType; + jint optionType; + jint defaultOption; + JArray< ::java::lang::String * > * options; + jint selection; +public: + static ::java::lang::Class class$; +}; + +#endif // __javax_security_auth_callback_ConfirmationCallback__ |