Skip to content

Commit

Permalink
Revert "Rename header params to match BeBook. No implementation."
Browse files Browse the repository at this point in the history
This reverts commit 67f773e.

The convention is to use leading underscores to indicate out
parameters.
  • Loading branch information
jscipione committed Dec 24, 2012
1 parent 67f773e commit 4b831fa
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions headers/os/media/FileInterface.h
Expand Up @@ -23,17 +23,16 @@ class BFileInterface : public virtual BMediaNode {
size_t size);

virtual status_t GetNextFileFormat(int32* cookie,
media_file_format* outFormat) = 0;
media_file_format* _format) = 0;
virtual void DisposeFileFormatCookie(int32 cookie) = 0;

virtual status_t GetDuration(bigtime_t* outDuration) = 0;
virtual status_t GetDuration(bigtime_t* _time) = 0;
virtual status_t SniffRef(const entry_ref& file,
char* outMimeType, // 256 bytes
float* outQuality) = 0;
virtual status_t SetRef(const entry_ref& file, bool create,
bigtime_t* outDuration) = 0;
virtual status_t GetRef(entry_ref* outRef,
char* outMimeType) = 0;
char* _mimeType, // 256 bytes
float* _quality) = 0;
virtual status_t SetRef(const entry_ref& file,
bool create, bigtime_t* _time) = 0;
virtual status_t GetRef(entry_ref* _ref, char* _mimeType) = 0;

// TODO: Needs a Perform() virtual method!

Expand Down

0 comments on commit 4b831fa

Please sign in to comment.