1 // Copyright (c) 2021 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
5 #ifndef COMMAND_REQUEST_HANDLER_HH_
6 #define COMMAND_REQUEST_HANDLER_HH_
8 #include "abstract_request_handler.hh"
9 #include "command_parcelable.hh"
10 #include "result_parcelable.hh"
14 namespace pkgmgr_server {
15 namespace request_handler {
18 #define EXPORT_API __attribute__((visibility("default")))
21 class EXPORT_API CommandRequestHandler : public AbstractRequestHandler {
23 bool HandleRequest(const unsigned char* data, int size,
24 const std::string& locale) override;
27 } // namespace request_handler
28 } // namespace pkgmgr_server
30 #endif // COMMAND_REQUEST_HANDLER_HH_