Kaydet (Commit) 26b0e864 authored tarafından Noel Grandin's avatar Noel Grandin

inline InteractionContinuation_Impl

since it only contains one field, and does nothing special with it

Change-Id: Ie1c099a4507a6b99af28be5852793ccaa557aa72
üst de409aee
...@@ -139,8 +139,6 @@ public: ...@@ -139,8 +139,6 @@ public:
}; };
struct InteractionContinuation_Impl;
/** /**
* This class is the base for implementations of the interface * This class is the base for implementations of the interface
* XInteractionContinuation. Classes derived from this bas class work together * XInteractionContinuation. Classes derived from this bas class work together
...@@ -152,7 +150,7 @@ struct InteractionContinuation_Impl; ...@@ -152,7 +150,7 @@ struct InteractionContinuation_Impl;
*/ */
class UCBHELPER_DLLPUBLIC InteractionContinuation : public cppu::OWeakObject class UCBHELPER_DLLPUBLIC InteractionContinuation : public cppu::OWeakObject
{ {
std::unique_ptr<InteractionContinuation_Impl> m_pImpl; InteractionRequest* m_pRequest;
protected: protected:
/** /**
......
...@@ -187,23 +187,10 @@ InteractionRequest::getContinuations() ...@@ -187,23 +187,10 @@ InteractionRequest::getContinuations()
// InteractionContinuation Implementation. // InteractionContinuation Implementation.
namespace ucbhelper
{
struct InteractionContinuation_Impl
{
InteractionRequest * m_pRequest;
explicit InteractionContinuation_Impl( InteractionRequest * pRequest )
: m_pRequest( pRequest ) {}
};
}
InteractionContinuation::InteractionContinuation( InteractionContinuation::InteractionContinuation(
InteractionRequest * pRequest ) InteractionRequest * pRequest )
: m_pImpl( new InteractionContinuation_Impl( pRequest ) ) : m_pRequest( pRequest )
{ {
} }
...@@ -216,7 +203,7 @@ InteractionContinuation::~InteractionContinuation() ...@@ -216,7 +203,7 @@ InteractionContinuation::~InteractionContinuation()
void InteractionContinuation::recordSelection() void InteractionContinuation::recordSelection()
{ {
m_pImpl->m_pRequest->setSelection( this ); m_pRequest->setSelection( this );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment