FreeRDP
SDL3/dialogs/res/convert_res_to_c.cpp File Reference
#include <string>
#include <fstream>
#include <algorithm>
#include <iomanip>
#include <iostream>

Functions

static void usage (const char *prg)
 
static int write_comment_header (std::ostream &out, const fs::path &prg, const std::string &fname)
 
static int write_cpp_header (std::ostream &out, const fs::path &prg, const fs::path &file, const std::string &name, const std::string &type)
 
static int readwrite (std::ofstream &out, std::ifstream &ifs)
 
static int write_cpp_trailer (std::ostream &out)
 
static int write_hpp_header (const fs::path &prg, const fs::path &file, const std::string &name, const std::string &fname)
 
int main (int argc, char *argv[])
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)
Here is the call graph for this function:

◆ readwrite()

static int readwrite ( std::ofstream &  out,
std::ifstream &  ifs 
)
static
Here is the caller graph for this function:

◆ usage()

static void usage ( const char *  prg)
static

FreeRDP: A Remote Desktop Protocol Implementation

Copyright 2023 Armin Novak armin.nosp@m..nov.nosp@m.ak@th.nosp@m.inca.nosp@m.st.co.nosp@m.m

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Here is the caller graph for this function:

◆ write_comment_header()

static int write_comment_header ( std::ostream &  out,
const fs::path prg,
const std::string &  fname 
)
static
Here is the caller graph for this function:

◆ write_cpp_header()

static int write_cpp_header ( std::ostream &  out,
const fs::path prg,
const fs::path file,
const std::string &  name,
const std::string &  type 
)
static
Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_cpp_trailer()

static int write_cpp_trailer ( std::ostream &  out)
static
Here is the caller graph for this function:

◆ write_hpp_header()

static int write_hpp_header ( const fs::path prg,
const fs::path file,
const std::string &  name,
const std::string &  fname 
)
static
Here is the call graph for this function:
Here is the caller graph for this function: