---
name: "CL_OutputSourceProvider"
section: "3"
platform: "linux"
package: "clanlib0-common-dev"
version: "0.4.4-8"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/CL_OutputSourceProvider"
---

# CL\_OutputSourceProvider(3)

Class that provides output targets.

## NAME

CL\_OutputSourceProvider - Class that provides output targets.

## DESCRIPTION

CL\_OutputSourceProvider is used to open output sources. This can be from a datafile where the outputsource is an index - or it a directory where the files are the outputsources.

## CLASS MEMBERS

- virtual **~CL\_OutputSourceProvider**()

  - virtual CL\_OutputSource \***open\_source**(

  ```
  const char *handle)
  ```

- virtual CL\_OutputSourceProvider \***clone**()

  ## MEMBERS WITH DESCRIPTIONS

- virtual **~CL\_OutputSourceProvider**()

  ```
  Description:
  ```

- virtual CL\_OutputSource \***open\_source**(

  ```
  const char *handle)
  ```

  ```
  Parameters:
  handle - handle/index/filename/identier to the output source requested.
  ```

  ```
  Description:
  ```

  Opens an outputsource using the passed handle.

  ```
  Return value:
  ```

  The output source opened.

- virtual CL\_OutputSourceProvider \***clone**()

  ```
  Description:
  ```

  Returns a copy of the current provider.

  ```
  Return value:
  ```

  The copy of the outputsource provider.

## SEE ALSO

All ClanLib API classes can be found in **clanlib (3)**.

## AUTHORS

Originally written by Magnus Norddahl \<*mbn@dark.x.dtu.dk*\> and Martin Starch \<*starch@dark.x.dtu.dk*\>. ClanLib is now developed by the ClanLib Development team as an Open Source project.

The ClanLib man pages was created using the Perceps documentation system (another excellent piece of Open Source software, available at **http://somewhere.in.the.world.org**).

See **clanlib (3)** to find out how to get a full list of contributors and details on how to submit bug reports, comments etc.
