summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.vcxproj
blob: f8c6377ad88eb76232aa5ed246b2460fda40ff01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  <PropertyGroup Label="Configuration">
    <PlatformToolset>v110</PlatformToolset>
  </PropertyGroup>
  <ItemGroup Label="ProjectConfigurations">
    <ProjectConfiguration Include="Release|Win32">
      <Configuration>Release</Configuration>
      <Platform>Win32</Platform>
    </ProjectConfiguration>
    <ProjectConfiguration Include="Release|x64">
      <Configuration>Release</Configuration>
      <Platform>x64</Platform>
    </ProjectConfiguration>
  </ItemGroup>
  <PropertyGroup Label="Globals">
    <ProjectGuid>{E4BDB4C8-2335-415A-ACEE-BA88B19BFE82}</ProjectGuid>
    <Keyword>Win32Proj</Keyword>
    <RootNamespace>fegtk</RootNamespace>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
    <ConfigurationType>Application</ConfigurationType>
    <UseDebugLibraries>false</UseDebugLibraries>
    <WholeProgramOptimization>true</WholeProgramOptimization>
    <CharacterSet>MultiByte</CharacterSet>
  </PropertyGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
  <ImportGroup Label="ExtensionSettings">
  </ImportGroup>
  <ImportGroup Label="PropertySheets" Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    <Import Project="..\..\win32\hexchat.props" />
  </ImportGroup>
  <ImportGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="PropertySheets">
    <Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
    <Import Project="..\..\win32\hexchat.props" />
  </ImportGroup>
  <PropertyGroup Label="UserMacros" />
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <LinkIncremental>false</LinkIncremental>
    <TargetName>hexchat</TargetName>
    <OutDir>$(HexChatBin)</OutDir>
    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <LinkIncremental>false</LinkIncremental>
    <TargetName>hexchat</TargetName>
    <OutDir>$(HexChatBin)</OutDir>
    <IntDir>$(HexChatObj)$(ProjectName)\</IntDir>
  </PropertyGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'">
    <ClCompile>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>WIN32;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
      <DisableSpecificWarnings>4244;%(DisableSpecificWarnings)</DisableSpecificWarnings>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <AdditionalDependencies>$(DepLibs);common.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
    </Link>
  </ItemDefinitionGroup>
  <ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
    <ClCompile>
      <PrecompiledHeader>
      </PrecompiledHeader>
      <FunctionLevelLinking>true</FunctionLevelLinking>
      <IntrinsicFunctions>true</IntrinsicFunctions>
      <PreprocessorDefinitions>WIN32;_WIN64;_AMD64_;NDEBUG;_WINDOWS;$(OwnFlags);%(PreprocessorDefinitions)</PreprocessorDefinitions>
      <AdditionalIncludeDirectories>$(DepsRoot)\include;$(Glib);$(Gtk);%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
      <MultiProcessorCompilation>true</MultiProcessorCompilation>
      <DisableSpecificWarnings>4244;4267;%(DisableSpecificWarnings)</DisableSpecificWarnings>
    </ClCompile>
    <Link>
      <SubSystem>Windows</SubSystem>
      <GenerateDebugInformation>true</GenerateDebugInformation>
      <EnableCOMDATFolding>true</EnableCOMDATFolding>
      <OptimizeReferences>true</OptimizeReferences>
      <AdditionalLibraryDirectories>$(DepsRoot)\lib;$(OutDir);%(AdditionalLibraryDirectories)</AdditionalLibraryDirectories>
      <AdditionalDependencies>$(DepLibs);common.lib;%(AdditionalDependencies)</AdditionalDependencies>
      <EntryPointSymbol>mainCRTStartup</EntryPointSymbol>
    </Link>
  </ItemDefinitionGroup>
  <ItemGroup>
    <ClInclude Include="about.h" />
    <ClInclude Include="ascii.h" />
    <ClInclude Include="banlist.h" />
    <ClInclude Include="chanlist.h" />
    <ClInclude Include="chanview.h" />
    <ClInclude Include="custom-list.h" />
    <ClInclude Include="editlist.h" />
    <ClInclude Include="fe-gtk.h" />
    <ClInclude Include="fkeys.h" />
    <ClInclude Include="gtkutil.h" />
    <ClInclude Include="joind.h" />
    <ClInclude Include="maingui.h" />
    <ClInclude Include="menu.h" />
    <ClInclude Include="mmx_cmod.h" />
    <ClInclude Include="notifygui.h" />
    <ClInclude Include="palette.h" />
    <ClInclude Include="pixmaps.h" />
    <ClInclude Include="plugin-tray.h" />
    <ClInclude Include="plugingui.h" />
    <ClInclude Include="rawlog.h" />
    <ClInclude Include="search.h" />
    <ClInclude Include="servlistgui.h" />
    <ClInclude Include="setup.h" />
    <ClInclude Include="sexy-iso-codes.h" />
    <ClInclude Include="sexy-marshal.h" />
    <ClInclude Include="sexy-spell-entry.h" />
    <ClInclude Include="textgui.h" />
    <ClInclude Include="urlgrab.h" />
    <ClInclude Include="userlistgui.h" />
    <ClInclude Include="xtext.h" />
  </ItemGroup>
  <ItemGroup>
    <ClCompile Include="about.c" />
    <ClCompile Include="ascii.c" />
    <ClCompile Include="banlist.c" />
    <ClCompile Include="chanlist.c" />
    <ClCompile Include="chanview.c" />
    <ClCompile Include="custom-list.c" />
    <ClCompile Include="dccgui.c" />
    <ClCompile Include="editlist.c" />
    <ClCompile Include="fe-gtk.c" />
    <ClCompile Include="fkeys.c" />
    <ClCompile Include="gtkutil.c" />
    <ClCompile Include="ignoregui.c" />
    <ClCompile Include="joind.c" />
    <ClCompile Include="maingui.c" />
    <ClCompile Include="menu.c" />
    <ClCompile Include="notifygui.c" />
    <ClCompile Include="palette.c" />
    <ClCompile Include="pixmaps.c" />
    <ClCompile Include="plugin-tray.c" />
    <ClCompile Include="plugingui.c" />
    <ClCompile Include="rawlog.c" />
    <ClCompile Include="search.c" />
    <ClCompile Include="servlistgui.c" />
    <ClCompile Include="setup.c" />
    <ClCompile Include="sexy-iso-codes.c" />
    <ClCompile Include="sexy-marshal.c" />
    <ClCompile Include="sexy-spell-entry.c" />
    <ClCompile Include="textgui.c" />
    <ClCompile Include="urlgrab.c" />
    <ClCompile Include="userlistgui.c" />
    <ClCompile Include="xtext.c" />
  </ItemGroup>
  <ItemGroup>
    <Manifest Include="hexchat.exe.manifest" />
  </ItemGroup>
  <ItemGroup>
    <ResourceCompile Include="hexchat.rc" />
  </ItemGroup>
  <ItemGroup>
    <None Include="..\..\share\icons\hexchat.ico" />
  </ItemGroup>
  <Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
  <ImportGroup Label="ExtensionTargets">
  </ImportGroup>
</Project>
/span>(struct session *sess); int fe_is_chanwindow (struct server *serv); void fe_add_chan_list (struct server *serv, char *chan, char *users, char *topic); void fe_chan_list_end (struct server *serv); int fe_is_banwindow (struct session *sess); void fe_add_ban_list (struct session *sess, char *mask, char *who, char *when, int is_exemption); void fe_ban_list_end (struct session *sess, int is_exemption); void fe_notify_update (char *name); void fe_notify_ask (char *name, char *networks); void fe_text_clear (struct session *sess, int lines); void fe_close_window (struct session *sess); void fe_progressbar_start (struct session *sess); void fe_progressbar_end (struct server *serv); void fe_print_text (struct session *sess, char *text, time_t stamp); void fe_userlist_insert (struct session *sess, struct User *newuser, int row, int sel); int fe_userlist_remove (struct session *sess, struct User *user); void fe_userlist_rehash (struct session *sess, struct User *user); void fe_userlist_update (struct session *sess, struct User *user); void fe_userlist_move (struct session *sess, struct User *user, int new_row); void fe_userlist_numbers (struct session *sess); void fe_userlist_clear (struct session *sess); void fe_userlist_set_selected (struct session *sess); void fe_uselect (session *sess, char *word[], int do_clear, int scroll_to); void fe_dcc_add (struct DCC *dcc); void fe_dcc_update (struct DCC *dcc); void fe_dcc_remove (struct DCC *dcc); int fe_dcc_open_recv_win (int passive); int fe_dcc_open_send_win (int passive); int fe_dcc_open_chat_win (int passive); void fe_clear_channel (struct session *sess); void fe_session_callback (struct session *sess); void fe_server_callback (struct server *serv); void fe_url_add (const char *text); void fe_pluginlist_update (void); void fe_buttons_update (struct session *sess); void fe_dlgbuttons_update (struct session *sess); void fe_dcc_send_filereq (struct session *sess, char *nick, int maxcps, int passive); void fe_set_channel (struct session *sess); void fe_set_title (struct session *sess); void fe_set_nonchannel (struct session *sess, int state); void fe_set_nick (struct server *serv, char *newnick); void fe_ignore_update (int level); void fe_beep (void); void fe_lastlog (session *sess, session *lastlog_sess, char *sstr, gtk_xtext_search_flags flags); void fe_set_lag (server *serv, int lag); void fe_set_throttle (server *serv); void fe_set_away (server *serv); void fe_serverlist_open (session *sess); void fe_get_str (char *prompt, char *def, void *callback, void *ud); void fe_get_int (char *prompt, int def, void *callback, void *ud); #define FRF_WRITE 1 /* save file */ #define FRF_MULTIPLE 2 /* multi-select */ #define FRF_ADDFOLDER 4 /* add ~/.config/hexchat to favourites */ #define FRF_CHOOSEFOLDER 8 /* choosing a folder only */ #define FRF_FILTERISINITIAL 16 /* filter is initial directory */ #define FRF_NOASKOVERWRITE 32 /* don't ask to overwrite existing files */ #define FRF_EXTENSIONS 64 /* specify file extensions to be displayed */ void fe_get_file (const char *title, char *initial, void (*callback) (void *userdata, char *file), void *userdata, int flags); typedef enum { FE_GUI_HIDE, FE_GUI_SHOW, FE_GUI_FOCUS, FE_GUI_FLASH, FE_GUI_COLOR, FE_GUI_ICONIFY, FE_GUI_MENU, FE_GUI_ATTACH, FE_GUI_APPLY, } fe_gui_action; void fe_ctrl_gui (session *sess, fe_gui_action action, int arg); int fe_gui_info (session *sess, int info_type); void *fe_gui_info_ptr (session *sess, int info_type); void fe_confirm (const char *message, void (*yesproc)(void *), void (*noproc)(void *), void *ud); char *fe_get_inputbox_contents (struct session *sess); int fe_get_inputbox_cursor (struct session *sess); void fe_set_inputbox_contents (struct session *sess, char *text); void fe_set_inputbox_cursor (struct session *sess, int delta, int pos); void fe_open_url (const char *url); void fe_menu_del (menu_entry *); char *fe_menu_add (menu_entry *); void fe_menu_update (menu_entry *); #define FE_SE_CONNECT 0 #define FE_SE_LOGGEDIN 1 #define FE_SE_DISCONNECT 2 #define FE_SE_RECONDELAY 3 #define FE_SE_CONNECTING 4 void fe_server_event (server *serv, int type, int arg); /* pass NULL filename2 for default xchat icon */ void fe_tray_set_flash (const char *filename1, const char *filename2, int timeout); /* pass NULL filename for default xchat icon */ void fe_tray_set_file (const char *filename); typedef enum { FE_ICON_NORMAL = 0, FE_ICON_MESSAGE = 2, FE_ICON_HIGHLIGHT = 5, FE_ICON_PRIVMSG = 8, FE_ICON_FILEOFFER = 11 } feicon; void fe_tray_set_icon (feicon icon); void fe_tray_set_tooltip (const char *text); void fe_tray_set_balloon (const char *title, const char *text); #endif