1 /*---------------------------------------------------------------------\
3 | |__ / \ / / . \ . \ |
8 \---------------------------------------------------------------------*/
9 /** \file zypp/Message.h
12 #ifndef ZYPP_MESSAGE_H
13 #define ZYPP_MESSAGE_H
17 #include "zypp/Resolvable.h"
19 ///////////////////////////////////////////////////////////////////
21 { /////////////////////////////////////////////////////////////////
23 ///////////////////////////////////////////////////////////////////
25 { /////////////////////////////////////////////////////////////////
26 DEFINE_PTR_TYPE(MessageImpl)
27 /////////////////////////////////////////////////////////////////
29 ///////////////////////////////////////////////////////////////////
30 DEFINE_PTR_TYPE(Message)
32 ///////////////////////////////////////////////////////////////////
34 // CLASS NAME : Message
36 /** Class representing the message to be shown during update */
37 class Message : public Resolvable
41 Message( detail::MessageImplPtr impl_r );
45 /** Get the text of the message */
47 /** Get the type of the message (YesNo / OK) */
50 /** Pointer to implementation */
51 detail::MessageImplPtr _pimpl;
54 /////////////////////////////////////////////////////////////////
56 ///////////////////////////////////////////////////////////////////
57 #endif // ZYPP_MESSAGE_H