move these non-layout enums to vclenum

Change-Id: Ie6dad53d1b8511b03c953d49b7a9f5d6f66ed56a
Reviewed-on: https://gerrit.libreoffice.org/40850
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
diff --git a/include/vcl/layout.hxx b/include/vcl/layout.hxx
index e9475b3..2c0f00f 100644
--- a/include/vcl/layout.hxx
+++ b/include/vcl/layout.hxx
@@ -610,24 +610,6 @@ public:
    bool set_property(const OString &rKey, const OUString &rValue);
};

enum class VclButtonsType
{
    NONE,
    Ok,
    Close,
    Cancel,
    YesNo,
    OkCancel
};

enum class VclMessageType
{
    Info,
    Warning,
    Question,
    Error
};

class VCL_DLLPUBLIC MessageDialog : public Dialog
{
private:
diff --git a/include/vcl/vclenum.hxx b/include/vcl/vclenum.hxx
index 95e977c6..15711cb 100644
--- a/include/vcl/vclenum.hxx
+++ b/include/vcl/vclenum.hxx
@@ -237,6 +237,25 @@ enum VclResponseType
    RET_HELP    = 10
};

enum class VclButtonsType
{
    NONE,
    Ok,
    Close,
    Cancel,
    YesNo,
    OkCancel
};

enum class VclMessageType
{
    Info,
    Warning,
    Question,
    Error
};


#endif // INCLUDED_VCL_VCLENUM_HXX

/* vim:set shiftwidth=4 softtabstop=4 expandtab: */