Lines Matching defs:OH_Pasteboard
28 * @file OH_Pasteboard.h
139 typedef struct OH_Pasteboard OH_Pasteboard;
142 * @brief Creates a {@link OH_Pasteboard} instance.
144 * @return Returns the pointer to the {@link OH_Pasteboard} instance created if the operation is successful.
146 * @see OH_Pasteboard.
149 OH_Pasteboard* OH_Pasteboard_Create();
152 * @brief Destroy a {@link OH_Pasteboard} instance.
154 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance to destroy.
155 * @see OH_Pasteboard.
158 void OH_Pasteboard_Destroy(OH_Pasteboard* pasteboard);
163 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
170 * @see OH_Pasteboard OH_PasteboardObserver PASTEBOARD_ErrCode.
173 int OH_Pasteboard_Subscribe(OH_Pasteboard* pasteboard, int type, const OH_PasteboardObserver* observer);
178 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
185 * @see OH_Pasteboard OH_PasteboardObserver PASTEBOARD_ErrCode.
188 int OH_Pasteboard_Unsubscribe(OH_Pasteboard* pasteboard, int type, const OH_PasteboardObserver* observer);
193 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
197 * @see OH_Pasteboard.
200 bool OH_Pasteboard_IsRemoteData(OH_Pasteboard* pasteboard);
205 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
211 * @see OH_Pasteboard PASTEBOARD_ErrCode.
214 int OH_Pasteboard_GetDataSource(OH_Pasteboard* pasteboard, char* source, unsigned int len);
219 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
224 * @see OH_Pasteboard.
227 bool OH_Pasteboard_HasType(OH_Pasteboard* pasteboard, const char* type);
232 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
236 * @see OH_Pasteboard.
239 bool OH_Pasteboard_HasData(OH_Pasteboard* pasteboard);
244 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
247 * @see OH_Pasteboard OH_UdmfData PASTEBOARD_ErrCode.
250 OH_UdmfData* OH_Pasteboard_GetData(OH_Pasteboard* pasteboard, int* status);
255 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
260 * @see OH_Pasteboard OH_UdmfData PASTEBOARD_ErrCode.
263 int OH_Pasteboard_SetData(OH_Pasteboard* pasteboard, OH_UdmfData* data);
268 * @param pasteboard Pointer to the {@link OH_Pasteboard} instance.
272 * @see OH_Pasteboard PASTEBOARD_ErrCode.
275 int OH_Pasteboard_ClearData(OH_Pasteboard* pasteboard);