My Project
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
logos.cpp File Reference
#include <stdio.h>
#include <qfile.h>
#include <qdir.h>

Go to the source code of this file.

Functions

void writeDoxFont (const char *dir)
 
void removeDoxFont (const char *dir)
 

Variables

unsigned char FreeSans_ttf []
 
unsigned int FreeSans_ttf_len = 22932
 

Function Documentation

void removeDoxFont ( const char *  dir)

Definition at line 1981 of file logos.cpp.

Referenced by generateOutput().

{
QDir d(dir);
d.remove("FreeSans.ttf");
}
void writeDoxFont ( const char *  dir)

Definition at line 1968 of file logos.cpp.

References FreeSans_ttf, and FreeSans_ttf_len.

Referenced by generateOutput().

{
QCString fileName=(QCString)dir+"/FreeSans.ttf";
QFile f(fileName);
if (f.open(IO_WriteOnly))
f.writeBlock((char *)FreeSans_ttf,FreeSans_ttf_len);
else
{
fprintf(stderr,"error: Cannot open file %s for writing\n",fileName.data());
}
f.close();
}

Variable Documentation

unsigned char FreeSans_ttf[]

Definition at line 25 of file logos.cpp.

Referenced by writeDoxFont().

unsigned int FreeSans_ttf_len = 22932

Definition at line 1938 of file logos.cpp.

Referenced by writeDoxFont().