pnmimagetypes: unexpose PNMFileType* classes

They are not exposed to Python, and I cannot think of a good reason to use these classes directly in C++ code.

Call init_libpnmimagetypes() to register these classes with the PNMFileTypeRegistry instead.
This commit is contained in:
rdb 2020-01-21 15:36:48 +01:00
parent 876cb60220
commit 68a4031b22
12 changed files with 12 additions and 13 deletions

View File

@ -25,7 +25,7 @@
/**
* For reading and writing Windows BMP files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeBMP : public PNMFileType {
class PNMFileTypeBMP : public PNMFileType {
public:
PNMFileTypeBMP();

View File

@ -36,7 +36,7 @@ class ImfStdIstream;
/**
* For reading and writing EXR floating-point or integer files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeEXR : public PNMFileType {
class PNMFileTypeEXR : public PNMFileType {
public:
PNMFileTypeEXR();

View File

@ -25,7 +25,7 @@
/**
* For reading and writing headerless R,G,B files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeIMG : public PNMFileType {
class PNMFileTypeIMG : public PNMFileType {
public:
PNMFileTypeIMG();

View File

@ -55,7 +55,7 @@ extern "C" {
/**
* For reading and writing Jpeg files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeJPG : public PNMFileType {
class PNMFileTypeJPG : public PNMFileType {
public:
PNMFileTypeJPG();

View File

@ -28,7 +28,7 @@
/**
* For reading and writing PNG files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypePNG : public PNMFileType {
class PNMFileTypePNG : public PNMFileType {
public:
PNMFileTypePNG();

View File

@ -25,7 +25,7 @@
/**
* For reading and writing basic PNM files--*.pbm, *.ppm, *.pnm.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypePNM : public PNMFileType {
class PNMFileTypePNM : public PNMFileType {
public:
PNMFileTypePNM();

View File

@ -25,7 +25,7 @@
* For reading and writing PFM files using the basic PNMImage interface, as if
* they were basic RGB files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypePfm : public PNMFileType {
class PNMFileTypePfm : public PNMFileType {
public:
PNMFileTypePfm();

View File

@ -25,7 +25,7 @@
/**
* For reading and writing SGI RGB files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeSGI : public PNMFileType {
class PNMFileTypeSGI : public PNMFileType {
public:
PNMFileTypeSGI();

View File

@ -25,7 +25,7 @@
/**
* For reading and SoftImage native image files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeSoftImage : public PNMFileType {
class PNMFileTypeSoftImage : public PNMFileType {
public:
PNMFileTypeSoftImage();

View File

@ -27,7 +27,7 @@
* when compiling without support for more specific libraries that are more
* full-featured, such as libpng or libjpeg.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeStbImage : public PNMFileType {
class PNMFileTypeStbImage : public PNMFileType {
public:
PNMFileTypeStbImage();

View File

@ -26,11 +26,10 @@
struct ImageHeader;
/**
* For reading and writing Targa image files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeTGA : public PNMFileType {
class PNMFileTypeTGA : public PNMFileType {
public:
PNMFileTypeTGA();

View File

@ -30,7 +30,7 @@
/**
* For reading and writing TIFF files.
*/
class EXPCL_PANDA_PNMIMAGETYPES PNMFileTypeTIFF : public PNMFileType {
class PNMFileTypeTIFF : public PNMFileType {
public:
PNMFileTypeTIFF();