Header indentation updated, changed "* " style.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@31930 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus 2009-07-29 17:58:46 +00:00
parent 1857ae604e
commit e4b11fdb81
2 changed files with 91 additions and 83 deletions

View File

@ -1,6 +1,6 @@
/*
* Copyright 2004-2008, Haiku. All rights reserved.
* Distributed under the terms of the MIT License.
* Copyright 2004-2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT license.
*
* Authors:
* Marcus Overhagen
@ -29,7 +29,7 @@
#include "debug.h"
// #pragma mark ImageLoader
// #pragma mark - ImageLoader
/*! The ImageLoader class is a convenience class to temporarily load
an image file, and unload it on deconstruction automatically.

View File

@ -1,14 +1,19 @@
/*
** Copyright 2004, the OpenBeOS project. All rights reserved.
** Distributed under the terms of the OpenBeOS License.
**
** Authors: Marcus Overhagen, Axel Dörfler
* Copyright 2004-2009, Haiku. All rights reserved.
* Distributed under the terms of the MIT license.
*
* Authors:
* Marcus Overhagen
* Axel Dörfler
*/
#ifndef _ADD_ON_MANAGER_H
#define _ADD_ON_MANAGER_H
// Manager for codec add-ons (reader, writer, encoder, decoder)
// BMediaAddOn are handled in the NodeManager
/*! Manager for codec add-ons (reader, writer, encoder, decoder)
BMediaAddOn are handled in the NodeManager
*/
#include "ReaderPlugin.h"
#include "DecoderPlugin.h"
@ -18,6 +23,7 @@
#include "AddOnMonitor.h"
#include "AddOnMonitorHandler.h"
class AddOnManager {
public:
AddOnManager();
@ -26,18 +32,20 @@ class AddOnManager {
void LoadState();
void SaveState();
status_t GetDecoderForFormat(xfer_entry_ref *out_ref,
const media_format &in_format);
status_t GetDecoderForFormat(xfer_entry_ref* _ref,
const media_format& format);
status_t GetReaders(xfer_entry_ref *out_res, int32 *out_count,
int32 max_count);
status_t GetReaders(xfer_entry_ref* _ref,
int32* _count, int32 maxCount);
private:
status_t RegisterAddOn(BEntry& entry);
void RegisterAddOns();
void RegisterReader(ReaderPlugin *reader, const entry_ref &ref);
void RegisterDecoder(DecoderPlugin *decoder, const entry_ref &ref);
void RegisterReader(ReaderPlugin* reader,
const entry_ref& ref);
void RegisterDecoder(DecoderPlugin* decoder,
const entry_ref& ref);
private:
struct reader_info {