Lines Matching refs:OH_Pasteboard
28 * @file OH_Pasteboard.h
133 typedef struct OH_Pasteboard OH_Pasteboard;
136 * @brief Creates a {@link OH_Pasteboard} instance.
138 * @return Returns the pointer to the {@link OH_Pasteboard} instance created if the operation is successful.
140 * @see OH_Pasteboard.
143 OH_Pasteboard* OH_Pasteboard_Create();
146 * @brief Destroy a {@link OH_Pasteboard} instance.
148 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance to destroy.
149 * @see OH_Pasteboard.
152 void OH_Pasteboard_Destroy(OH_Pasteboard* pasteboard);
157 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
164 * @see OH_Pasteboard OH_PasteboardObserver PASTEBOARD_ErrCode.
167 int OH_Pasteboard_Subscribe(OH_Pasteboard* pasteboard, int type, const OH_PasteboardObserver* observer);
172 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
179 * @see OH_Pasteboard OH_PasteboardObserver PASTEBOARD_ErrCode.
182 int OH_Pasteboard_Unsubscribe(OH_Pasteboard* pasteboard, int type, const OH_PasteboardObserver* observer);
187 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
191 * @see OH_Pasteboard.
194 bool OH_Pasteboard_IsRemoteData(OH_Pasteboard* pasteboard);
199 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
205 * @see OH_Pasteboard PASTEBOARD_ErrCode.
208 int OH_Pasteboard_GetDataSource(OH_Pasteboard* pasteboard, char* source, unsigned int len);
213 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
218 * @see OH_Pasteboard.
221 bool OH_Pasteboard_HasType(OH_Pasteboard* pasteboard, const char* type);
226 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
230 * @see OH_Pasteboard.
233 bool OH_Pasteboard_HasData(OH_Pasteboard* pasteboard);
238 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
241 * @see OH_Pasteboard OH_UdmfData PASTEBOARD_ErrCode.
244 OH_UdmfData* OH_Pasteboard_GetData(OH_Pasteboard* pasteboard, int* status);
249 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
254 * @see OH_Pasteboard OH_UdmfData PASTEBOARD_ErrCode.
257 int OH_Pasteboard_SetData(OH_Pasteboard* pasteboard, OH_UdmfData* data);
262 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
266 * @see OH_Pasteboard PASTEBOARD_ErrCode.
269 int OH_Pasteboard_ClearData(OH_Pasteboard* pasteboard);