9 #include "../sf/service.h"
10 #include "../services/caps.h"
CapsAlbumFileContents
AlbumFileContents.
Definition: caps.h:142
CapsAlbumStorage
Definition: caps.h:25
Result capscWriteDataToAlbumMovieWriteStream(u64 stream, u64 offset, const void *buffer, u64 size)
Write data to an AlbumMovieWriteStream.
Result capscGenerateCurrentAlbumFileId(const CapsApplicationId *application_id, CapsAlbumFileContents contents, CapsAlbumFileId *file_id)
Generate an AlbumFileId based on parameters and current time.
Result capscInitialize(void)
Initialize caps:c.
Result capscRegisterAppletResourceUserId(u64 appletResourceUserId, const CapsApplicationId *application_id)
Register an applet for later usage.
Result capscSetOverlayScreenShotThumbnailData(const CapsAlbumFileId *file_id, const void *image, u64 image_size)
Sets thumbnail data for the last taken screenshot.
Service * capscGetServiceSession(void)
Gets the Service for caps:c.
Result capscEndAlbumMovieWriteStreamMetaSection(u64 stream)
End AlbumMovieWriteStream meta section.
Result capscGetAlbumMovieReadStreamImageDataSize(u64 stream, u64 *size)
Gets the data size of an Image taken from an AlbumMovieReadStream.
Result capscCommitAlbumMovieWriteStream(u64 stream)
Closes a finished AlbumMovieWriteStream.
void capscExit(void)
Exit caps:c.
Result capscReadDataFromAlbumMovieWriteStream(u64 stream, u64 offset, void *buffer, u64 size, u64 *actual_size)
Reads data from an AlbumMovieWriteStream.
Result capscWriteMetaToAlbumMovieWriteStream(u64 stream, u64 offset, const void *buffer, u64 size)
Write meta data to an AlbumMovieWriteStream.
Result capscEndAlbumMovieWriteStreamDataSection(u64 stream)
End AlbumMovieWriteStream data section.
Result capscReadMovieDataFromAlbumMovieReadStream(u64 stream, u64 offset, void *buffer, size_t size, u64 *actual_size)
Reads data from an AlbumMovieReadStream.
Result capscOpenAlbumMovieReadStream(u64 *stream, const CapsAlbumFileId *file_id)
Opens an AlbumMovieReadStream.
Result capscCheckApplicationIdRegistered(u64 application_id)
Checks whether an ApplicationId is registered.
Result capscNotifyAlbumStorageIsAvailable(CapsAlbumStorage storage)
Notify the service that a storage is now available.
Result capscDiscardAlbumMovieWriteStream(u64 stream)
Closes an AlbumMovieWriteStream in any state.
Result capscGetApplicationIdFromAruid(CapsApplicationId *application_id, u64 aruid)
Get an ApplicationId that corresponds to an AppletResourceUserId.
Result capscSaveAlbumScreenShotFileEx(const CapsAlbumFileId *file_id, u64 version, u64 makernote_offset, u64 makernote_size, const void *buffer, u64 buffer_size)
Save a jpeg image.
Result capscStartAlbumMovieWriteStreamDataSection(u64 stream)
Start AlbumMovieWriteStream data section.
Result capscNotifyAlbumStorageIsUnAvailable(CapsAlbumStorage storage)
Notify the service that a storage is now unavailable.
Result capscSetAlbumMovieWriteStreamDataSize(u64 stream, u64 size)
Sets the data size of an AlbumMovieWriteStream.
Result capscGetAlbumMovieWriteStreamBrokenReason(u64 stream)
Gets the BrokenReason for an AlbumMovieWriteStream.
Result capscSetOverlayMovieThumbnailData(const CapsAlbumFileId *file_id, const void *image, u64 image_size)
Sets thumbnail data for the last recorded movie.
Result capscCloseAlbumMovieStream(u64 stream)
Closes an AlbumMovieReadStream.
Result capscGetAlbumMovieWriteStreamDataSize(u64 stream, u64 *size)
Gets the data size of an AlbumMovieWriteStream.
Result capscReadImageDataFromAlbumMovieReadStream(u64 stream, u64 offset, void *buffer, size_t size, u64 *actual_size)
Reads data of an Image taken from an AlbumMovieReadStream.
Result capscGetAlbumMovieStreamSize(u64 stream, u64 *size)
Gets the data size of an AlbumMovieReadStream.
Result capscFinishAlbumMovieWriteStream(u64 stream)
Finish write to AlbumMovieWriteStream.
Result capscStartAlbumMovieWriteStreamMetaSection(u64 stream)
Start AlbumMovieWriteStream meta section.
Result capscOpenAlbumMovieWriteStream(u64 *stream, const CapsAlbumFileId *file_id)
Opens an AlbumMovieWriteStream.
Result capscCommitAlbumMovieWriteStreamEx(u64 stream, CapsAlbumEntry *entry)
Closes a finished AlbumMovieWriteStream.
Result capscDiscardAlbumMovieWriteStreamNoDelete(u64 stream)
Closes an AlbumMovieWriteStream in any state without deleting the temporary file.
Result capscReadFileAttributeFromAlbumMovieReadStream(u64 stream, CapsScreenShotAttribute *attribute)
Gets the file attribute of an AlbumMovieReadStream.
Result capscUnregisterAppletResourceUserId(u64 appletResourceUserId, const CapsApplicationId *application_id)
Unregister an applet.
Result capscGenerateApplicationAlbumEntry(CapsApplicationAlbumEntry *appEntry, const CapsAlbumEntry *entry, u64 application_id)
Generate an ApplicationAlbumEntry based on parameters.
Result capscGetAlbumMovieReadStreamBrokenReason(u64 stream)
Gets the BrokenReason for an AlbumMovieReadStream.
Result capscSaveAlbumScreenShotFile(const CapsAlbumFileId *file_id, const void *buffer, u64 buffer_size)
Save a jpeg image.
AlbumEntry.
Definition: caps.h:102
AlbumEntryId.
Definition: caps.h:91
ApplicationAlbumEntry.
Definition: caps.h:108
ScreenShotAttribute.
Definition: caps.h:38
Service object structure.
Definition: service.h:14
uint64_t u64
64-bit unsigned integer.
Definition: types.h:22
uint8_t u8
8-bit unsigned integer.
Definition: types.h:19
u32 Result
Function error code result type.
Definition: types.h:44