Use the C++ versions of C headers

This commit is contained in:
Thomas Goyne 2012-12-01 11:36:30 -08:00
parent f337db86d3
commit ff03fef2db
15 changed files with 23 additions and 27 deletions

View file

@ -38,8 +38,8 @@
#ifndef AGI_PRE
#include <algorithm>
#include <clocale>
#include <functional>
#include <locale.h>
#include <wx/dir.h>
#include <wx/filename.h>

View file

@ -35,7 +35,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <ctype.h>
#include <cctype>
#include <wx/intl.h>
#include <wx/tokenzr.h>

View file

@ -35,7 +35,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <math.h>
#include <cmath>
#include <wx/bmpbuttn.h>
#include <wx/panel.h>

View file

@ -34,11 +34,12 @@
#pragma once
#ifndef AGI_PRE
#include <memory>
#include <vector>
#include <set>
#include <cassert>
#include <cstdint>
#include <assert.h>
#include <memory>
#include <set>
#include <vector>
#include <wx/event.h>
#include <wx/string.h>
#include <wx/timer.h>

View file

@ -38,7 +38,7 @@
#ifndef AGI_PRE
#include <Mmreg.h>
#include <time.h>
#include <ctime>
#include <wx/filename.h>
#endif

View file

@ -36,7 +36,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <assert.h>
#include <cassert>
#include <cstdint>
#ifndef __WINDOWS__
#include <sys/fcntl.h>

View file

@ -37,9 +37,9 @@
#ifdef WITH_AUTO4_LUA
#ifndef AGI_PRE
#include <assert.h>
#include <algorithm>
#include <cassert>
#include <boost/range/adaptor/indirected.hpp>
#include <boost/range/algorithm_ext.hpp>

View file

@ -37,7 +37,7 @@
#include "charset_conv.h"
#ifndef AGI_PRE
#include <errno.h>
#include <cerrno>
#include <cstdint>
#include <wx/intl.h>

View file

@ -35,7 +35,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <stdio.h>
#include <cstdio>
#include <vector>
#include <wx/bitmap.h>

View file

@ -34,13 +34,10 @@
/// Most of this code was taken from http://www.codeproject.com/audio/waveInFFT.asp
/// And rewriten by Rodrigo Braz Monteiro
///////////
// Headers
#include "config.h"
#ifndef AGI_PRE
#include <math.h>
#include <cmath>
#endif
#include "fft.h"

View file

@ -35,11 +35,10 @@
#include "config.h"
#ifndef AGI_PRE
#include <errno.h>
#include <cstdint>
#include <stdio.h>
#include <algorithm>
#include <cerrno>
#include <cstdint>
#include <cstdio>
#include <iterator>
#include <wx/filename.h>

View file

@ -35,7 +35,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <stdio.h>
#include <cstdio>
#endif
#include "subtitle_format_transtation.h"

View file

@ -35,10 +35,9 @@
#include "config.h"
#ifndef AGI_PRE
#include <assert.h>
#include <errno.h>
#include <algorithm>
#include <cassert>
#include <cerrno>
#include <string>
#include <wx/string.h>

View file

@ -35,7 +35,7 @@
#include "config.h"
#ifndef AGI_PRE
#include <string.h>
#include <cstring>
#include <wx/clipbrd.h>
#include <wx/config.h>

View file

@ -34,7 +34,7 @@
#include "include/aegisub/video_provider.h"
#ifndef AGI_PRE
#include <stdio.h>
#include <cstdio>
#include <vector>