#include <unistd.h>
#include <fstream>
#include <cstdio>
#include <cstdlib>
#include <iostream>
#include <vector>
#include "Flex.h"
#include "utils.h"
#include "exceptions.h"
#include "msgfile.h"
Include dependency graph for textpack.cc:
Go to the source code of this file.
Functions | |
static void | Read_flex (const char *filename, vector< char * > &strings) |
static void | Write_flex (const char *filename, char *title, vector< char * > &strings) |
static void | Write_text (ostream &out, vector< char * > &strings) |
static void | Usage () |
int | main (int argc, char **argv) |
int main | ( | int | argc, | |
char ** | argv | |||
) |
Definition at line 155 of file textpack.cc.
References Read_flex(), Read_text_msg_file(), U7open(), Usage(), exult_exception::what(), Write_flex(), and Write_text().
Here is the call graph for this function:
static void Read_flex | ( | const char * | filename, | |
vector< char * > & | strings | |||
) | [static] |
Definition at line 61 of file textpack.cc.
References len, Flex::number_of_objects(), and Flex::retrieve().
Referenced by main().
Here is the call graph for this function:
static void Usage | ( | ) | [static] |
Definition at line 143 of file textpack.cc.
static void Write_flex | ( | const char * | filename, | |
char * | title, | |||
vector< char * > & | strings | |||
) | [static] |
Definition at line 86 of file textpack.cc.
References U7open().
Referenced by main().
Here is the call graph for this function:
static void Write_text | ( | ostream & | out, | |
vector< char * > & | strings | |||
) | [static] |