Merge lp:~jamesh/go-unityscopes/new-activation-responses into lp:go-unityscopes/v2
Proposed by
James Henstridge
Status: | Merged |
---|---|
Merged at revision: | 71 |
Proposed branch: | lp:~jamesh/go-unityscopes/new-activation-responses |
Merge into: | lp:go-unityscopes/v2 |
Diff against target: |
155 lines (+80/-3) 4 files modified
activationresponse.cpp (+22/-0) activationresponse.go (+43/-3) activationresponse_test.go (+13/-0) shim.h (+2/-0) |
To merge this branch: | bzr merge lp:~jamesh/go-unityscopes/new-activation-responses |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavi Garcia (community) | Approve | ||
Review via email: mp+275522@code.launchpad.net |
Description of the change
Add support for the UpdateResult and UpdatePreview activation response types.
To post a comment you must log in.
I have compilation issues: _______ _______ _______ _______ _______ _______ ______ ponse.cpp: In function ‘void activation_ response_ init_update_ result( _ActivationResp onse*, _Result*)’: ponse.cpp: 25:46: error: ‘Result’ was not declared in this scope
ActivationRes ponse(* reinterpret_ cast<Result* >(result) );
^ ponse.cpp: 25:27: error: expected primary-expression before ‘(’ token
ActivationRes ponse(* reinterpret_ cast<Result* >(result) );
^ ponse.cpp: 25:46: error: ‘Result’ does not name a type
ActivationRes ponse(* reinterpret_ cast<Result* >(result) );
^ ponse.cpp: 25:52: error: expected ‘>’ before ‘*’ token
ActivationRes ponse(* reinterpret_ cast<Result* >(result) );
^ ponse.cpp: 25:52: error: expected ‘(’ before ‘*’ token ponse.cpp: 25:53: error: expected primary-expression before ‘>’ token
ActivationRes ponse(* reinterpret_ cast<Result* >(result) );
^ ponse.cpp: In function ‘void activation_ response_ init_update_ preview( _ActivationResp onse*, void*, int, char**)’: ponse.cpp: 31:9: error: ‘PreviewWidgetList’ was not declared in this scope
PreviewWidget List widgets; ponse.cpp: 33:13: error: ‘widgets’ was not declared in this scope
widgets. push_back( PreviewWidget( std::string( ponse.cpp: 34:52: error: ‘PreviewWidget’ was not declared in this scope
widget_ data[i] .p, widget_ data[i] .n)));
^ ponse.cpp: 37:32: error: ‘widgets’ was not declared in this scope
Activatio nResponse( widgets) ; _______ _______ _______ _______ _______ _______ _______ _______ _______
_______
./activationres
./activationres
./activationres
./activationres
./activationres
./activationres
./activationres
./activationres
./activationres
^
./activationres
^
./activationres
./activationres
_______
I have the following version of libunity-scopes-dev installed: 0.6.16+ 15.04.20150410. 3-0ubuntu1
Could it be possible that we need to update the version.h file to indicate the right version of scopes-api to compile with?