Commit d5a44bae authored by Thomas Ives's avatar Thomas Ives Committed by Thomas Braun
Browse files

client/cb_sub_model.h: Move back into ApiUtil.h

This enum is part of the ApiUtil class's API.  The is no point putting
it in a separate header.
parent e9495b74
Loading
Loading
Loading
Loading
+12 −1
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@
#include <tango/client/AsynReq.h>
#include <tango/client/AttributeInfoEx.h>
#include <tango/client/CallBackThread.h>
#include <tango/client/cb_sub_model.h>
#include <tango/client/CbThreadCmd.h>
#include <tango/client/Connection.h>
#include <tango/client/Database.h>
@@ -35,6 +34,18 @@ namespace Tango
 *                                                                                         *
 ***************************************************************************************/

/**
 * Possible callback mode
 *
 * @ingroup Client
 * @headerfile tango.h
 */
enum cb_sub_model
{
    PUSH_CALLBACK, ///< Callback push model
    PULL_CALLBACK  ///< Callback pull model
};

/**
 * Miscellaneous utility methods usefull in a Tango client.
 *
+0 −1
Original line number Diff line number Diff line
@@ -39,7 +39,6 @@ set(CLIENT_HEADERS
    PipeEventData.h
    PipeEventDataList.h
    PipeInfo.h
    cb_sub_model.h
    ApiExcept.h
    ApiUtil.h
    AsynReq.h
+0 −24
Original line number Diff line number Diff line
/*
 * SPDX-FileCopyrightText: 2025 Copyright contributors to the cppTango project
 *
 * SPDX-License-Identifier: LGPL-3.0-or-later
 */
#ifndef TANGO_CLIENT_CB_SUB_MODEL_H
#define TANGO_CLIENT_CB_SUB_MODEL_H

namespace Tango
{
/**
 * Possible callback mode
 *
 * @ingroup Client
 * @headerfile tango.h
 */
enum cb_sub_model
{
    PUSH_CALLBACK, ///< Callback push model
    PULL_CALLBACK  ///< Callback pull model
};

} // namespace Tango
#endif