code stringlengths 3 10M | language stringclasses 31 values |
|---|---|
/**
*
*/
module hunt.wechat.bean.shakearound.device.applystatus.DeviceApplyStatusResult;
import hunt.wechat.bean.shakearound.AbstractResult;
/**
* 微信摇一摇周边-设备管理-查询设备ID申请审核状态-响应参数
*
*
*/
class DeviceApplyStatusResult : AbstractResult!(DeviceApplyStatusResultData) {
}
| D |
/Users/peza/Documents/crypto/COM_token_Substrate-chain/substrate-node-template/runtime/wasm/target/wasm32-unknown-unknown/release/deps/substrate_inherents-b383a8b343fc7b34.rmeta: /Users/peza/.cargo/git/checkouts/substrate-7e08433d4c370a21/cc1d67e/core/inherents/src/lib.rs
/Users/peza/Documents/crypto/COM_token_Substrate-chain/substrate-node-template/runtime/wasm/target/wasm32-unknown-unknown/release/deps/libsubstrate_inherents-b383a8b343fc7b34.rlib: /Users/peza/.cargo/git/checkouts/substrate-7e08433d4c370a21/cc1d67e/core/inherents/src/lib.rs
/Users/peza/Documents/crypto/COM_token_Substrate-chain/substrate-node-template/runtime/wasm/target/wasm32-unknown-unknown/release/deps/substrate_inherents-b383a8b343fc7b34.d: /Users/peza/.cargo/git/checkouts/substrate-7e08433d4c370a21/cc1d67e/core/inherents/src/lib.rs
/Users/peza/.cargo/git/checkouts/substrate-7e08433d4c370a21/cc1d67e/core/inherents/src/lib.rs:
| D |
// Copyright 2018 - 2021 Michael D. Parker
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module bindbc.opengl.bind.nv.nv_32;
import bindbc.loader;
import bindbc.opengl.config,
bindbc.opengl.context;
import bindbc.opengl.bind.types;
// NV_vertex_buffer_unified_memory
version (GL_NV) enum useNVVertexBufferUnifiedMemory = true;
else version (GL_NV_vertex_buffer_unified_memory) enum useNVVertexBufferUnifiedMemory = true;
else enum useNVVertexBufferUnifiedMemory = false;
static if (useNVVertexBufferUnifiedMemory ) {
private bool _hasNVVertexBufferUnifiedMemory;
bool hasNVVertexBufferUnifiedMemory() { return _hasNVVertexBufferUnifiedMemory; }
enum uint GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV = 0x8F1E;
enum uint GL_ELEMENT_ARRAY_UNIFIED_NV = 0x8F1F;
enum uint GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV = 0x8F20;
enum uint GL_TEXTURE_COORD_ARRAY_ADDRESS_NV = 0x8F25;
enum uint GL_VERTEX_ARRAY_ADDRESS_NV = 0x8F21;
enum uint GL_NORMAL_ARRAY_ADDRESS_NV = 0x8F22;
enum uint GL_COLOR_ARRAY_ADDRESS_NV = 0x8F23;
enum uint GL_INDEX_ARRAY_ADDRESS_NV = 0x8F24;
enum uint GL_EDGE_FLAG_ARRAY_ADDRESS_NV = 0x8F26;
enum uint GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV = 0x8F27;
enum uint GL_FOG_COORD_ARRAY_ADDRESS_NV = 0x8F28;
enum uint GL_ELEMENT_ARRAY_ADDRESS_NV = 0x8F29;
enum uint GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV = 0x8F2A;
enum uint GL_TEXTURE_COORD_ARRAY_LENGTH_NV = 0x8F2F;
enum uint GL_VERTEX_ARRAY_LENGTH_NV = 0x8F2B;
enum uint GL_NORMAL_ARRAY_LENGTH_NV = 0x8F2C;
enum uint GL_COLOR_ARRAY_LENGTH_NV = 0x8F2D;
enum uint GL_INDEX_ARRAY_LENGTH_NV = 0x8F2E;
enum uint GL_EDGE_FLAG_ARRAY_LENGTH_NV = 0x8F30;
enum uint GL_SECONDARY_COLOR_ARRAY_LENGTH_NV = 0x8F31;
enum uint GL_FOG_COORD_ARRAY_LENGTH_NV = 0x8F32;
enum uint GL_ELEMENT_ARRAY_LENGTH_NV = 0x8F33;
extern (System) @nogc nothrow {
alias pglBufferAddressRangeNV = void function(GLenum,GLuint,GLuint64,GLsizeiptr);
alias pglVertexFormatNV = void function(GLint,GLenum,GLsizei);
alias pglNormalFormatNV = void function(GLenum,GLsizei);
alias pglColorFormatNV = void function(GLint,GLenum,GLsizei);
alias pglIndexFormatNV = void function(GLenum,GLsizei);
alias pglTexCoordFormatNV = void function(GLint,GLenum,GLsizei);
alias pglEdgeFlagFormatNV = void function(GLsizei);
alias pglSecondaryColorFormatNV = void function(GLint,GLenum,GLsizei);
alias pglFogCoordFormatNV = void function(GLenum,GLsizei);
alias pglVertexAttribFormatNV = void function(GLuint,GLint,GLenum,GLboolean,GLsizei);
alias pglVertexAttribIFormatNV = void function(GLuint,GLint,GLenum,GLsizei);
alias pglGetIntegerui64i_vNV = void function(GLenum,GLuint,GLuint64[]);
}
__gshared {
pglBufferAddressRangeNV glBufferAddressRangeNV;
pglVertexFormatNV glVertexFormatNV;
pglNormalFormatNV glNormalFormatNV;
pglColorFormatNV glColorFormatNV;
pglIndexFormatNV glIndexFormatNV;
pglTexCoordFormatNV glTexCoordFormatNV;
pglEdgeFlagFormatNV glEdgeFlagFormatNV;
pglSecondaryColorFormatNV glSecondaryColorFormatNV;
pglFogCoordFormatNV glFogCoordFormatNV;
pglVertexAttribFormatNV glVertexAttribFormatNV;
pglVertexAttribIFormatNV glVertexAttribIFormatNV;
pglGetIntegerui64i_vNV glGetIntegerui64i_vNV;
}
private @nogc nothrow
bool loadNVShaderBufferLoad(SharedLib lib, GLSupport contextVersion)
{
lib.bindGLSymbol(cast(void**)&glBufferAddressRangeNV, "glBufferAddressRangeNV");
lib.bindGLSymbol(cast(void**)&glVertexFormatNV, "glVertexFormatNV");
lib.bindGLSymbol(cast(void**)&glNormalFormatNV, "glNormalFormatNV");
lib.bindGLSymbol(cast(void**)&glColorFormatNV, "glColorFormatNV");
lib.bindGLSymbol(cast(void**)&glIndexFormatNV, "glIndexFormatNV");
lib.bindGLSymbol(cast(void**)&glTexCoordFormatNV, "glTexCoordFormatNV");
lib.bindGLSymbol(cast(void**)&glEdgeFlagFormatNV, "glEdgeFlagFormatNV");
lib.bindGLSymbol(cast(void**)&glSecondaryColorFormatNV, "glSecondaryColorFormatNV");
lib.bindGLSymbol(cast(void**)&glFogCoordFormatNV, "glFogCoordFormatNV");
lib.bindGLSymbol(cast(void**)&glVertexAttribFormatNV, "glVertexAttribFormatNV");
lib.bindGLSymbol(cast(void**)&glVertexAttribIFormatNV, "glVertexAttribIFormatNV");
lib.bindGLSymbol(cast(void**)&glGetIntegerui64i_vNV, "glGetIntegerui64i_vNV");
return resetErrorCountGL;
}
} else enum hasNVVertexBufferUnifiedMemory = false;
package @nogc nothrow
void loadNV_32(SharedLib lib, GLSupport contextVersion)
{
static if(useNVVertexBufferUnifiedMemory ) _hasNVVertexBufferUnifiedMemory =
hasExtension(contextVersion, "GL_NV_vertex_buffer_unified_memory") &&
lib.loadNVShaderBufferLoad(contextVersion);
}
| D |
// GBA Does Not Have A MMU
module memory;
import types;
import std.stdio;
import std.format;
import std.file;
/++ Class that handles the memory of the GBA +/
class Memory
{
//ram
uint8[] bios; /++ bios RAM+/
uint8[] wram2; /++ Work RAM 2 +/
uint8[] wram1; /++ Work RAM 1 +/
uint8[] io; /++ Input/Output RAM +/
//vram
uint8[] obj_pallete; /++ OBJ pallete VRAM +/
uint8[] vram; /++ VRAM +/
uint8[] obj_attr; /++ OBJ attributes +/
//rom
uint8[] rom; /++ ROM +/
uint8[] srom; /++ Special ROM +/
/++ Initialises the Memory +/
this()
{
bios = new uint8[16_384];
wram2 = new uint8[262_144];
wram1 = new uint8[32_768];
io = new uint8[0x3FE];
obj_pallete = new uint8[1024];
vram = new uint8[98_314];
obj_attr = new uint8[1024];
rom = new uint8[33_554_432];
srom = new uint8[65_536];
}
/++ Reads a 32bit number from memory +/
uint32 read32(uint32 address)
{
if (address <= 0x3FFF)
return (bios[address + 3] << 24) | (bios[address + 2] << 16) | (
bios[address + 1] << 8) | bios[address];
if (address >= 0x02000000 && address <= 0x0203FFFF)
return (wram2[address - 0x02000000 + 3] << 24) | (wram2[address - 0x02000000 + 2] << 16) | (
wram2[address - 0x02000000 + 1] << 8) | wram2[address - 0x02000000];
if (address >= 0x03000000 && address <= 0x03007FFF)
return (wram1[address - 0x03000000 + 3] << 24) | (wram1[address - 0x03000000 + 2] << 16) | (
wram1[address - 0x03000000 + 1] << 8) | wram1[address - 0x03000000];
if (address >= 0x04000000 && address <= 0x040003FE)
{
write("read to io at addr: ");
write(format("%X", address));
writeln("");
return (io[address - 0x04000000 + 3] << 24) | (io[address - 0x04000000 + 2] << 16) | (
io[address - 0x04000000 + 1] << 8) | io[address - 0x04000000];
}
if (address >= 0x05000000 && address <= 0x050003FF)
return (obj_pallete[address - 0x05000000 + 3] << 24) | (obj_pallete[address - 0x05000000 + 2] << 16) | (
obj_pallete[address - 0x05000000 + 1] << 8) | obj_pallete[address - 0x05000000];
if (address >= 0x06000000 && address <= 0x06017FFF)
return (vram[address - 0x06000000 + 3] << 24) | (vram[address + 2] - 0x06000000 << 16) | (
vram[address - 0x06000000 + 1] << 8) | vram[address - 0x06000000];
if (address >= 0x07000000 && address <= 0x070003FF)
return (obj_attr[address - 0x07000000 + 3] << 24) | (obj_attr[address - 0x07000000 + 2] << 16) | (
obj_attr[address - 0x07000000 + 1] << 8) | obj_attr[address - 0x07000000];
if(address >= 0x08000000 && address <= 0x09FFFFFF)
return (rom[address - 0x08000000 + 3] << 24) | (rom[address - 0x08000000 + 2] << 16)
| (rom[address - 0x08000000 + 1] << 8) | rom[address - 0x08000000];
/*
if(address >= 0x0A000000 && address <= 0x0BFFFFFF)
return rom[address];
if(address >= 0x0C000000 && address <= 0x0DFFFFFF)
return rom[address];
*/
//if(address >= 0x05000000 && address <= 0x050003FF)
return 0;
}
/++ Reads a 16bit number from memory +/
uint16 read16(uint32 address)
{
if (address <= 0x3FFF)
return (bios[address + 1] << 8) | bios[address];
if (address >= 0x02000000 && address <= 0x0203FFFF)
return (wram2[address - 0x02000000 + 1] << 8) | wram2[address - 0x02000000];
if (address >= 0x03000000 && address <= 0x03007FFF)
return (wram1[address - 0x03000000 + 1] << 8) | wram1[address - 0x03000000];
if (address >= 0x04000000 && address <= 0x040003FE)
return (io[address - 0x04000000 + 1] << 8) | io[address - 0x04000000];
if (address >= 0x05000000 && address <= 0x050003FF)
return (obj_pallete[address - 0x05000000 + 1] << 8) | obj_pallete[address - 0x05000000];
if (address >= 0x06000000 && address <= 0x06017FFF)
return (vram[address - 0x06000000 + 1] << 8) | vram[address - 0x06000000];
if (address >= 0x07000000 && address <= 0x070003FF)
return (obj_attr[address - 0x07000000 + 1] << 8) | obj_attr[address - 0x07000000];
if(address >= 0x08000000 && address <= 0x09FFFFFF)
return (rom[address - 0x08000000 + 1] << 8) | rom[address - 0x08000000];
return 0;
}
/++ Reads a 8bit number from memory +/
uint8 read8(ulong address)
{
if (address <= 0x3FFF)
return bios[address];
if (address >= 0x02000000 && address <= 0x0203FFFF)
return wram2[address - 0x02000000];
if (address >= 0x03000000 && address <= 0x03007FFF)
return wram1[address - 0x03000000];
if (address >= 0x04000000 && address <= 0x040003FE)
return io[address - 0x04000000];
if (address >= 0x05000000 && address <= 0x050003FF)
return obj_pallete[address - 0x05000000];
if (address >= 0x06000000 && address <= 0x06017FFF)
return vram[address - 0x06000000];
if (address >= 0x07000000 && address <= 0x070003FF)
return obj_attr[address - 0x07000000];
// if(address >= 0x08000000 && address <= 0x09FFFFFF)
// return rom[address];
// if(address >= 0x0A000000 && address <= 0x0BFFFFFF)
// return rom[address];
//if(address >= 0x0C000000 && address <= 0x0DFFFFFF)
// return rom[address];
return 0;
}
/++ Writes a 32bit number to memory +/
void write32(uint32 address, uint32 value)
{
uint8 nibble1, nibble2, nibble3, nibble4;
nibble4 = value >> 24;
nibble3 = (value >> 16) & 0b1111_1111;
nibble2 = (value >> 8) & 0b1111_1111;
nibble1 = value & 0b1111_1111;
if (address <= 0x3FFF)
{
bios[address + 3] = nibble4;
bios[address + 2] = nibble3;
bios[address + 1] = nibble2;
bios[address] = nibble1;
}
if (address >= 0x02000000 && address <= 0x0203FFFF)
{
wram2[address - 0x02000000 + 3] = nibble4;
wram2[address - 0x02000000 + 2] = nibble3;
wram2[address - 0x02000000 + 1] = nibble2;
wram2[address - 0x02000000] = nibble1;
}
if (address >= 0x03000000 && address <= 0x03007FFF)
{
wram1[address - 0x03000000 + 3] = nibble4;
wram1[address - 0x03000000 + 2] = nibble3;
wram1[address - 0x03000000 + 1] = nibble2;
wram1[address - 0x03000000] = nibble1;
}
if (address >= 0x04000000 && address <= 0x040003FE)
{
write("write to io at addr: ");
write(format("%X", address));
write(" the value: ");
write(format("%X", value));
writeln("");
io[address - 0x04000000 + 3] = nibble4;
io[address - 0x04000000 + 2] = nibble3;
io[address - 0x04000000 + 1] = nibble2;
io[address - 0x04000000] = nibble1;
}
if (address >= 0x05000000 && address <= 0x050003FF)
{
obj_pallete[address - 0x05000000 + 3] = nibble4;
obj_pallete[address - 0x05000000 + 2] = nibble3;
obj_pallete[address - 0x05000000 + 1] = nibble2;
obj_pallete[address - 0x05000000] = nibble1;
}
if (address >= 0x06000000 && address <= 0x06017FFF)
{
vram[address - 0x06000000 + 3] = nibble4;
vram[address - 0x06000000 + 2] = nibble3;
vram[address - 0x06000000 + 1] = nibble2;
vram[address - 0x06000000] = nibble1;
}
if (address >= 0x07000000 && address <= 0x070003FF)
{
obj_attr[address - 0x07000000 + 3] = nibble4;
obj_attr[address - 0x07000000 + 2] = nibble3;
obj_attr[address - 0x07000000 + 1] = nibble2;
obj_attr[address - 0x07000000] = nibble1;
}
if(address >= 0x08000000 && address <= 0x09FFFFFF)
{
write("Written in ROM");
}
}
/++ Writes a 16bit number to memory +/
void write16(uint32 address, uint16 value)
{
uint8 nibble1, nibble2;
nibble2 = (value >> 8) & 0b1111_1111;
nibble1 = value & 0b1111_1111;
if (address <= 0x3FFF)
{
bios[address + 1] = nibble2;
bios[address] = nibble1;
}
if (address >= 0x02000000 && address <= 0x0203FFFF)
{
wram2[address - 0x02000000 + 1] = nibble2;
wram2[address - 0x02000000] = nibble1;
}
if (address >= 0x03000000 && address <= 0x03007FFF)
{
wram1[address - 0x03000000 + 1] = nibble2;
wram1[address - 0x03000000] = nibble1;
}
if (address >= 0x04000000 && address <= 0x040003FE)
{
io[address - 0x04000000 + 1] = nibble2;
io[address - 0x04000000] = nibble1;
}
if (address >= 0x05000000 && address <= 0x050003FF)
{
obj_pallete[address - 0x05000000 + 1] = nibble2;
obj_pallete[address - 0x05000000] = nibble1;
}
if (address >= 0x06000000 && address <= 0x06017FFF)
{
vram[address - 0x06000000 + 1] = nibble2;
vram[address - 0x06000000] = nibble1;
}
if (address >= 0x07000000 && address <= 0x070003FF)
{
obj_attr[address - 0x07000000 + 1] = nibble2;
obj_attr[address - 0x07000000] = nibble1;
}
if(address >= 0x08000000 && address <= 0x09FFFFFF)
{
write("Written in ROM");
}
}
/++ Writes a 8bit number to memory +/
void write8(uint32 address, uint32 value)
{
}
/++ Reads the game from a file, stores it into ROM +/
void read_game()
{
auto game = File("test.gba", "r");
rom = cast(uint8[]) game.rawRead(new char[1_000_000]);
}
}
| D |
/**
* This module provides OS specific helper function for DLL support
*
* Copyright: Copyright Digital Mars 2010 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Rainer Schuetze
* Source: $(DRUNTIMESRC src/core/sys/windows/_dll.d)
*/
/* NOTE: This file has been patched from the original DMD distribution to
* work with the GDC compiler.
*/
module core.sys.windows.dll;
version( Windows )
{
import core.sys.windows.windows;
import core.stdc.string;
import core.runtime;
public import core.sys.windows.threadaux;
///////////////////////////////////////////////////////////////////
// support fixing implicit TLS for dynamically loaded DLLs on Windows XP
extern (C)
{
version (MinGW)
{
extern __gshared void* _tls_start;
extern __gshared void* _tls_end;
extern __gshared void* __xl_a;
alias _tls_start _tlsstart;
alias _tls_end _tlsend;
alias __xl_a _tls_callbacks_a;
}
else version (Win32)
{
extern __gshared void* _tlsstart;
extern __gshared void* _tlsend;
extern __gshared void* _tls_callbacks_a;
extern __gshared int _tls_index;
}
}
extern (C) // rt.minfo
{
void rt_moduleTlsCtor();
void rt_moduleTlsDtor();
}
private:
version (Win32)
{
struct dll_aux
{
// don't let symbols leak into other modules
struct LdrpTlsListEntry
{
LdrpTlsListEntry* next;
LdrpTlsListEntry* prev;
void* tlsstart;
void* tlsend;
void* ptr_tlsindex;
void* callbacks;
void* zerofill;
int tlsindex;
}
alias extern(Windows)
void* fnRtlAllocateHeap(void* HeapHandle, uint Flags, size_t Size) nothrow;
// find a code sequence and return the address after the sequence
static void* findCodeSequence( void* adr, int len, ref ubyte[] pattern ) nothrow
{
if( !adr )
return null;
ubyte* code = cast(ubyte*) adr;
for( int p = 0; p < len; p++ )
{
if( code[ p .. p + pattern.length ] == pattern[ 0 .. $ ] )
{
ubyte* padr = code + p + pattern.length;
return padr;
}
}
return null;
}
// find a code sequence and return the (relative) address that follows
static void* findCodeReference( void* adr, int len, ref ubyte[] pattern, bool relative ) nothrow
{
if( !adr )
return null;
ubyte* padr = cast(ubyte*) findCodeSequence( adr, len, pattern );
if( padr )
{
if( relative )
return padr + 4 + *cast(int*) padr;
return *cast(void**) padr;
}
return null;
}
// crawl through ntdll to find function _LdrpAllocateTls@0 and references
// to _LdrpNumberOfTlsEntries, _NtdllBaseTag and _LdrpTlsList
// LdrInitializeThunk
// -> _LdrpInitialize@12
// -> _LdrpInitializeThread@4
// -> _LdrpAllocateTls@0
// -> je chunk
// _LdrpNumberOfTlsEntries - number of entries in TlsList
// _NtdllBaseTag - tag used for RtlAllocateHeap
// _LdrpTlsList - root of the double linked list with TlsList entries
static __gshared int* pNtdllBaseTag; // remembered for reusage in addTlsData
static __gshared ubyte[] jmp_LdrpInitialize = [ 0x33, 0xED, 0xE9 ]; // xor ebp,ebp; jmp _LdrpInitialize
static __gshared ubyte[] jmp__LdrpInitialize = [ 0x5D, 0xE9 ]; // pop ebp; jmp __LdrpInitialize
static __gshared ubyte[] jmp__LdrpInitialize_xp64 = [ 0x5D, 0x90, 0x90, 0x90, 0x90, 0x90 ]; // pop ebp; nop; nop; nop; nop; nop;
static __gshared ubyte[] call_LdrpInitializeThread = [ 0xFF, 0x75, 0x08, 0xE8 ]; // push [ebp+8]; call _LdrpInitializeThread
static __gshared ubyte[] call_LdrpAllocateTls = [ 0x00, 0x00, 0xE8 ]; // jne 0xc3; call _LdrpAllocateTls
static __gshared ubyte[] call_LdrpAllocateTls_svr03 = [ 0x65, 0xfc, 0x00, 0xE8 ]; // and [ebp+fc], 0; call _LdrpAllocateTls
static __gshared ubyte[] jne_LdrpAllocateTls = [ 0x0f, 0x85 ]; // jne body_LdrpAllocateTls
static __gshared ubyte[] mov_LdrpNumberOfTlsEntries = [ 0x8B, 0x0D ]; // mov ecx, _LdrpNumberOfTlsEntries
static __gshared ubyte[] mov_NtdllBaseTag = [ 0x51, 0x8B, 0x0D ]; // push ecx; mov ecx, _NtdllBaseTag
static __gshared ubyte[] mov_NtdllBaseTag_srv03 = [ 0x50, 0xA1 ]; // push eax; mov eax, _NtdllBaseTag
static __gshared ubyte[] mov_LdrpTlsList = [ 0x8B, 0x3D ]; // mov edi, _LdrpTlsList
static LdrpTlsListEntry* addTlsListEntry( void** peb, void* tlsstart, void* tlsend, void* tls_callbacks_a, int* tlsindex ) nothrow
{
HANDLE hnd = GetModuleHandleA( "NTDLL" );
assert( hnd, "cannot get module handle for ntdll" );
ubyte* fn = cast(ubyte*) GetProcAddress( hnd, "LdrInitializeThunk" );
assert( fn, "cannot find LdrInitializeThunk in ntdll" );
void* pLdrpInitialize = findCodeReference( fn, 20, jmp_LdrpInitialize, true );
void* p_LdrpInitialize = findCodeReference( pLdrpInitialize, 40, jmp__LdrpInitialize, true );
if( !p_LdrpInitialize )
p_LdrpInitialize = findCodeSequence( pLdrpInitialize, 40, jmp__LdrpInitialize_xp64 );
void* pLdrpInitializeThread = findCodeReference( p_LdrpInitialize, 200, call_LdrpInitializeThread, true );
void* pLdrpAllocateTls = findCodeReference( pLdrpInitializeThread, 40, call_LdrpAllocateTls, true );
if(!pLdrpAllocateTls)
pLdrpAllocateTls = findCodeReference( pLdrpInitializeThread, 100, call_LdrpAllocateTls_svr03, true );
void* pBodyAllocateTls = findCodeReference( pLdrpAllocateTls, 40, jne_LdrpAllocateTls, true );
int* pLdrpNumberOfTlsEntries = cast(int*) findCodeReference( pBodyAllocateTls, 60, mov_LdrpNumberOfTlsEntries, false );
pNtdllBaseTag = cast(int*) findCodeReference( pBodyAllocateTls, 30, mov_NtdllBaseTag, false );
if(!pNtdllBaseTag)
pNtdllBaseTag = cast(int*) findCodeReference( pBodyAllocateTls, 30, mov_NtdllBaseTag_srv03, false );
LdrpTlsListEntry* pLdrpTlsList = cast(LdrpTlsListEntry*)findCodeReference( pBodyAllocateTls, 80, mov_LdrpTlsList, false );
if( !pLdrpNumberOfTlsEntries || !pNtdllBaseTag || !pLdrpTlsList )
return null;
fnRtlAllocateHeap* fnAlloc = cast(fnRtlAllocateHeap*) GetProcAddress( hnd, "RtlAllocateHeap" );
if( !fnAlloc )
return null;
// allocate new TlsList entry (adding 0xC0000 to the tag is obviously a flag also usesd by
// the nt-loader, could be the result of HEAP_MAKE_TAG_FLAGS(0,HEAP_NO_SERIALIZE|HEAP_GROWABLE)
// but this is not documented in the msdn entry for RtlAlloateHeap
void* heap = peb[6];
LdrpTlsListEntry* entry = cast(LdrpTlsListEntry*) (*fnAlloc)( heap, *pNtdllBaseTag | 0xc0000, LdrpTlsListEntry.sizeof );
if( !entry )
return null;
// fill entry
entry.tlsstart = tlsstart;
entry.tlsend = tlsend;
entry.ptr_tlsindex = tlsindex;
entry.callbacks = tls_callbacks_a;
entry.zerofill = null;
entry.tlsindex = *pLdrpNumberOfTlsEntries;
// and add it to the end of TlsList
*tlsindex = *pLdrpNumberOfTlsEntries;
entry.next = pLdrpTlsList;
entry.prev = pLdrpTlsList.prev;
pLdrpTlsList.prev.next = entry;
pLdrpTlsList.prev = entry;
(*pLdrpNumberOfTlsEntries)++;
return entry;
}
// reallocate TLS array and create a copy of the TLS data section
static bool addTlsData( void** teb, void* tlsstart, void* tlsend, int tlsindex ) nothrow
{
HANDLE hnd = GetModuleHandleA( "NTDLL" );
assert( hnd, "cannot get module handle for ntdll" );
fnRtlAllocateHeap* fnAlloc = cast(fnRtlAllocateHeap*) GetProcAddress( hnd, "RtlAllocateHeap" );
if( !fnAlloc || !pNtdllBaseTag )
return false;
void** peb = cast(void**) teb[12];
void* heap = peb[6];
auto sz = tlsend - tlsstart;
void* tlsdata = cast(void*) (*fnAlloc)( heap, *pNtdllBaseTag | 0xc0000, sz );
if( !tlsdata )
return false;
// no relocations! not even self-relocations. Windows does not do them.
core.stdc.string.memcpy( tlsdata, tlsstart, sz );
// create copy of tls pointer array
void** array = cast(void**) (*fnAlloc)( heap, *pNtdllBaseTag | 0xc0000, (tlsindex + 1) * (void*).sizeof );
if( !array )
return false;
if( tlsindex > 0 && teb[11] )
core.stdc.string.memcpy( array, teb[11], tlsindex * (void*).sizeof);
array[tlsindex] = tlsdata;
teb[11] = cast(void*) array;
// let the old array leak, in case a oncurrent thread is still relying on it
return true;
}
alias bool BOOLEAN;
struct UNICODE_STRING
{
short Length;
short MaximumLength;
wchar* Buffer;
}
struct LIST_ENTRY
{
LIST_ENTRY* next;
LIST_ENTRY* prev;
}
// the following structures can be found here: http://undocumented.ntinternals.net/
struct LDR_MODULE
{
LIST_ENTRY InLoadOrderModuleList;
LIST_ENTRY InMemoryOrderModuleList;
LIST_ENTRY InInitializationOrderModuleList;
PVOID BaseAddress;
PVOID EntryPoint;
ULONG SizeOfImage;
UNICODE_STRING FullDllName;
UNICODE_STRING BaseDllName;
ULONG Flags;
SHORT LoadCount;
SHORT TlsIndex;
LIST_ENTRY HashTableEntry;
ULONG TimeDateStamp;
}
struct PEB_LDR_DATA
{
ULONG Length;
BOOLEAN Initialized;
PVOID SsHandle;
LIST_ENTRY InLoadOrderModuleList;
LIST_ENTRY InMemoryOrderModuleList;
LIST_ENTRY InInitializationOrderModuleList;
}
static LDR_MODULE* findLdrModule( HINSTANCE hInstance, void** peb ) nothrow
{
PEB_LDR_DATA* ldrData = cast(PEB_LDR_DATA*) peb[3];
LIST_ENTRY* root = &ldrData.InLoadOrderModuleList;
for(LIST_ENTRY* entry = root.next; entry != root; entry = entry.next)
{
LDR_MODULE *ldrMod = cast(LDR_MODULE*) entry;
if(ldrMod.BaseAddress == hInstance)
return ldrMod;
}
return null;
}
static bool setDllTlsUsage( HINSTANCE hInstance, void** peb ) nothrow
{
LDR_MODULE *thisMod = findLdrModule( hInstance, peb );
if( !thisMod )
return false;
thisMod.TlsIndex = -1; // uses TLS (not the index itself)
thisMod.LoadCount = -1; // never unload
return true;
}
}
}
public:
/* *****************************************************
* Fix implicit thread local storage for the case when a DLL is loaded
* dynamically after process initialization.
* The link time variables are passed to allow placing this function into
* an RTL DLL itself.
* The problem is described in Bugzilla 3342 and
* http://www.nynaeve.net/?p=187, to quote from the latter:
*
* "When a DLL using implicit TLS is loaded, because the loader doesn't process the TLS
* directory, the _tls_index value is not initialized by the loader, nor is there space
* allocated for module's TLS data in the ThreadLocalStoragePointer arrays of running
* threads. The DLL continues to load, however, and things will appear to work... until the
* first access to a __declspec(thread) variable occurs, that is."
*
* _tls_index is initialized by the compiler to 0, so we can use this as a test.
*/
bool dll_fixTLS( HINSTANCE hInstance, void* tlsstart, void* tlsend, void* tls_callbacks_a, int* tlsindex ) nothrow
{
version (Win64)
return true; // fixed
else
{
/* If the OS has allocated a TLS slot for us, we don't have to do anything
* tls_index 0 means: the OS has not done anything, or it has allocated slot 0
* Vista and later Windows systems should do this correctly and not need
* this function.
*/
if( *tlsindex != 0 )
return true;
void** peb;
version (GNU_InlineAsm)
{
asm { "movl %%fs:0x30, %0;" : "=r" peb; }
}
else
{
asm
{
mov EAX,FS:[0x30];
mov peb, EAX;
}
}
dll_aux.LDR_MODULE *ldrMod = dll_aux.findLdrModule( hInstance, peb );
if( !ldrMod )
return false; // not in module list, bail out
if( ldrMod.TlsIndex != 0 )
return true; // the OS has already setup TLS
dll_aux.LdrpTlsListEntry* entry = dll_aux.addTlsListEntry( peb, tlsstart, tlsend, tls_callbacks_a, tlsindex );
if( !entry )
return false;
scope (failure) assert(0); // enforce nothrow, Bugzilla 13561
if( !enumProcessThreads(
function (uint id, void* context) nothrow {
dll_aux.LdrpTlsListEntry* entry = cast(dll_aux.LdrpTlsListEntry*) context;
return dll_aux.addTlsData( getTEB( id ), entry.tlsstart, entry.tlsend, entry.tlsindex );
}, entry ) )
return false;
ldrMod.TlsIndex = -1; // flag TLS usage (not the index itself)
ldrMod.LoadCount = -1; // prevent unloading of the DLL,
// since XP does not keep track of used TLS entries
return true;
}
}
// fixup TLS storage, initialize runtime and attach to threads
// to be called from DllMain with reason DLL_PROCESS_ATTACH
bool dll_process_attach( HINSTANCE hInstance, bool attach_threads,
void* tlsstart, void* tlsend, void* tls_callbacks_a, int* tlsindex )
{
version (Win32)
{
if( !dll_fixTLS( hInstance, tlsstart, tlsend, tls_callbacks_a, tlsindex ) )
return false;
}
Runtime.initialize();
if( !attach_threads )
return true;
// attach to all other threads
return enumProcessThreads(
function (uint id, void* context) {
if( !thread_findByAddr( id ) )
{
// if the OS has not prepared TLS for us, don't attach to the thread
if( GetTlsDataAddress( id ) )
{
thread_attachByAddr( id );
thread_moduleTlsCtor( id );
}
}
return true;
}, null );
}
// same as above, but only usable if druntime is linked statically
bool dll_process_attach( HINSTANCE hInstance, bool attach_threads = true )
{
version (Win64)
{
return dll_process_attach( hInstance, attach_threads,
null, null, null, null );
}
else
{
return dll_process_attach( hInstance, attach_threads,
&_tlsstart, &_tlsend, &_tls_callbacks_a, &_tls_index );
}
}
// to be called from DllMain with reason DLL_PROCESS_DETACH
void dll_process_detach( HINSTANCE hInstance, bool detach_threads = true )
{
// detach from all other threads
if( detach_threads )
enumProcessThreads(
function (uint id, void* context) {
if( id != GetCurrentThreadId() && thread_findByAddr( id ) )
{
thread_moduleTlsDtor( id );
thread_detachByAddr( id );
}
return true;
}, null );
Runtime.terminate();
}
/* Make sure that tlsCtorRun is itself a tls variable
*/
static bool tlsCtorRun;
static this() { tlsCtorRun = true; }
static ~this() { tlsCtorRun = false; }
// to be called from DllMain with reason DLL_THREAD_ATTACH
bool dll_thread_attach( bool attach_thread = true, bool initTls = true )
{
// if the OS has not prepared TLS for us, don't attach to the thread
// (happened when running under x64 OS)
if( !GetTlsDataAddress( GetCurrentThreadId() ) )
return false;
if( !thread_findByAddr( GetCurrentThreadId() ) )
{
// only attach to thread and initalize it if it is not in the thread list (so it's not created by "new Thread")
if( attach_thread )
thread_attachThis();
if( initTls && !tlsCtorRun ) // avoid duplicate calls
rt_moduleTlsCtor();
}
return true;
}
// to be called from DllMain with reason DLL_THREAD_DETACH
bool dll_thread_detach( bool detach_thread = true, bool exitTls = true )
{
// if the OS has not prepared TLS for us, we did not attach to the thread
if( !GetTlsDataAddress( GetCurrentThreadId() ) )
return false;
if( thread_findByAddr( GetCurrentThreadId() ) )
{
if( exitTls && tlsCtorRun ) // avoid dtors to be run twice
rt_moduleTlsDtor();
if( detach_thread )
thread_detachThis();
}
return true;
}
}
| D |
/**
* Identify the characteristics of the host CPU, providing information
* about cache sizes and assembly optimisation hints. This module is
* provided primarily for assembly language programmers.
*
* References:
* Some of this information was extremely difficult to track down. Some of the
* documents below were found only in cached versions stored by search engines!
* This code relies on information found in:
*
* $(UL
* $(LI "Intel(R) 64 and IA-32 Architectures Software Developers Manual,
* Volume 2A: Instruction Set Reference, A-M" (2007).
* )
* $(LI "AMD CPUID Specification", Advanced Micro Devices, Rev 2.28 (2008).
* )
* $(LI "AMD Processor Recognition Application Note For Processors Prior to AMD
* Family 0Fh Processors", Advanced Micro Devices, Rev 3.13 (2005).
* )
* $(LI "AMD Geode(TM) GX Processors Data Book",
* Advanced Micro Devices, Publication ID 31505E, (2005).
* )
* $(LI "AMD K6 Processor Code Optimisation", Advanced Micro Devices, Rev D (2000).
* )
* $(LI "Application note 106: Software Customization for the 6x86 Family",
* Cyrix Corporation, Rev 1.5 (1998)
* )
* $(LI $(LINK http://www.datasheetcatalog.org/datasheet/nationalsemiconductor/GX1.pdf))
* $(LI "Geode(TM) GX1 Processor Series Low Power Integrated X86 Solution",
* National Semiconductor, (2002)
* )
* $(LI "The VIA Isaiah Architecture", G. Glenn Henry, Centaur Technology, Inc (2008).
* )
* $(LI $(LINK http://www.sandpile.org/ia32/cpuid.htm))
* $(LI $(LINK http://www.akkadia.org/drepper/cpumemory.pdf))
* $(LI "What every programmer should know about memory",
* Ulrich Depper, Red Hat, Inc., (2007).
* )
* $(LI "CPU Identification by the Windows Kernel", G. Chappell (2009).
* $(LINK http://www.geoffchappell.com/viewer.htm?doc=studies/windows/km/cpu/cx8.htm)
* )
* $(LI "Intel(R) Processor Identification and the CPUID Instruction, Application
* Note 485" (2009).
* )
* )
*
* Bugs: Currently only works on x86 and Itanium CPUs.
* Many processors have bugs in their microcode for the CPUID instruction,
* so sometimes the cache information may be incorrect.
*
* Copyright: Copyright Don Clugston 2007 - 2009.
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Authors: Don Clugston, Tomas Lindquist Olsen <tomas@famolsen.dk>
* Source: $(DRUNTIMESRC core/_cpuid.d)
*/
/* Copyright Don Clugston 2007 - 2009.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
module core.cpuid;
@trusted:
nothrow:
// If optimizing for a particular processor, it is generally better
// to identify based on features rather than model. NOTE: Normally
// it's only worthwhile to optimise for the latest Intel and AMD CPU,
// with a backup for other CPUs.
// Pentium -- preferPentium1()
// PMMX -- + mmx()
// PPro -- default
// PII -- + mmx()
// PIII -- + mmx() + sse()
// PentiumM -- + mmx() + sse() + sse2()
// Pentium4 -- preferPentium4()
// PentiumD -- + isX86_64()
// Core2 -- default + isX86_64()
// AMD K5 -- preferPentium1()
// AMD K6 -- + mmx()
// AMD K6-II -- + mmx() + 3dnow()
// AMD K7 -- preferAthlon()
// AMD K8 -- + sse2()
// AMD K10 -- + isX86_64()
// Cyrix 6x86 -- preferPentium1()
// 6x86MX -- + mmx()
version(D_InlineAsm_X86)
{
version = InlineAsm_X86_Any;
}
else version(D_InlineAsm_X86_64)
{
version = InlineAsm_X86_Any;
}
public:
/// Cache size and behaviour
struct CacheInfo
{
/// Size of the cache, in kilobytes, per CPU.
/// For L1 unified (data + code) caches, this size is half the physical size.
/// (we don't halve it for larger sizes, since normally
/// data size is much greater than code size for critical loops).
size_t size;
/// Number of ways of associativity, eg:
/// 1 = direct mapped
/// 2 = 2-way set associative
/// 3 = 3-way set associative
/// ubyte.max = fully associative
ubyte associativity;
/// Number of bytes read into the cache when a cache miss occurs.
uint lineSize;
}
public:
/// $(RED Scheduled for deprecation. Please use $(D dataCaches) instead.)
// Note: When we deprecate it, we simply make it private.
__gshared CacheInfo[5] datacache;
@property {
/// The data caches. If there are fewer than 5 physical caches levels,
/// the remaining levels are set to size_t.max (== entire memory space)
const(CacheInfo)[5] dataCaches() { return datacache; }
/// Returns vendor string, for display purposes only.
/// Do NOT use this to determine features!
/// Note that some CPUs have programmable vendorIDs.
string vendor() {return cast(string)vendorID;}
/// Returns processor string, for display purposes only
string processor() {return processorName;}
/// Does it have an x87 FPU on-chip?
bool x87onChip() {return (features&FPU_BIT)!=0;}
/// Is MMX supported?
bool mmx() {return (features&MMX_BIT)!=0;}
/// Is SSE supported?
bool sse() {return (features&SSE_BIT)!=0;}
/// Is SSE2 supported?
bool sse2() {return (features&SSE2_BIT)!=0;}
/// Is SSE3 supported?
bool sse3() {return (miscfeatures&SSE3_BIT)!=0;}
/// Is SSSE3 supported?
bool ssse3() {return (miscfeatures&SSSE3_BIT)!=0;}
/// Is SSE4.1 supported?
bool sse41() {return (miscfeatures&SSE41_BIT)!=0;}
/// Is SSE4.2 supported?
bool sse42() {return (miscfeatures&SSE42_BIT)!=0;}
/// Is SSE4a supported?
bool sse4a() {return (amdmiscfeatures&SSE4A_BIT)!=0;}
/// Is AES supported
bool aes() {return (miscfeatures&AES_BIT)!=0;}
/// Is pclmulqdq supported
bool hasPclmulqdq() {return (miscfeatures&PCLMULQDQ_BIT)!=0;}
/// Is rdrand supported
bool hasRdrand() {return (miscfeatures&RDRAND_BIT)!=0;}
/// Is AVX supported
bool avx()
{
enum mask = XF_SSE_BIT|XF_YMM_BIT;
return (xfeatures & mask) == mask && (miscfeatures&AVX_BIT)!=0;
}
/// Is VEX-Encoded AES supported
bool vaes() {return avx && aes;}
/// Is vpclmulqdq supported
bool hasVpclmulqdq(){return avx && hasPclmulqdq; }
/// Is FMA supported
bool fma() {return avx && (miscfeatures&FMA_BIT)!=0;}
/// Is FP16C supported
bool fp16c() {return avx && (miscfeatures&FP16C_BIT)!=0;}
/// Is AVX2 supported
bool avx2() {return avx && (extfeatures & AVX2_BIT) != 0;}
/// Is HLE (hardware lock elision) supported
bool hle() {return (extfeatures & HLE_BIT) != 0;}
/// Is RTM (restricted transactional memory) supported
bool rtm() {return (extfeatures & RTM_BIT) != 0;}
/// Is rdseed supported
bool hasRdseed() {return (extfeatures&RDSEED_BIT)!=0;}
/// Is SHA supported
bool hasSha() {return (extfeatures&SHA_BIT)!=0;}
/// Is AMD 3DNOW supported?
bool amd3dnow() {return (amdfeatures&AMD_3DNOW_BIT)!=0;}
/// Is AMD 3DNOW Ext supported?
bool amd3dnowExt() {return (amdfeatures&AMD_3DNOW_EXT_BIT)!=0;}
/// Are AMD extensions to MMX supported?
bool amdMmx() {return (amdfeatures&AMD_MMX_BIT)!=0;}
/// Is fxsave/fxrstor supported?
bool hasFxsr() {return (features&FXSR_BIT)!=0;}
/// Is cmov supported?
bool hasCmov() {return (features&CMOV_BIT)!=0;}
/// Is rdtsc supported?
bool hasRdtsc() {return (features&TIMESTAMP_BIT)!=0;}
/// Is cmpxchg8b supported?
bool hasCmpxchg8b() {return (features&CMPXCHG8B_BIT)!=0;}
/// Is cmpxchg8b supported?
bool hasCmpxchg16b() {return (miscfeatures&CMPXCHG16B_BIT)!=0;}
/// Is SYSENTER/SYSEXIT supported?
bool hasSysEnterSysExit() {
// The SYSENTER/SYSEXIT features were buggy on Pentium Pro and early PentiumII.
// (REF: www.geoffchappell.com).
if (probablyIntel && (family < 6 || (family==6 && (model< 3 || (model==3 && stepping<3)))))
return false;
return (features & SYSENTERSYSEXIT_BIT)!=0;
}
/// Is 3DNow prefetch supported?
bool has3dnowPrefetch()
{return (amdmiscfeatures&AMD_3DNOW_PREFETCH_BIT)!=0;}
/// Are LAHF and SAHF supported in 64-bit mode?
bool hasLahfSahf() {return (amdmiscfeatures&LAHFSAHF_BIT)!=0;}
/// Is POPCNT supported?
bool hasPopcnt() {return (miscfeatures&POPCNT_BIT)!=0;}
/// Is LZCNT supported?
bool hasLzcnt() {return (amdmiscfeatures&LZCNT_BIT)!=0;}
/// Is this an Intel64 or AMD 64?
bool isX86_64() {return (amdfeatures&AMD64_BIT)!=0;}
/// Is this an IA64 (Itanium) processor?
bool isItanium() { return (features&IA64_BIT)!=0; }
/// Is hyperthreading supported?
bool hyperThreading() { return maxThreads>maxCores; }
/// Returns number of threads per CPU
uint threadsPerCPU() {return maxThreads;}
/// Returns number of cores in CPU
uint coresPerCPU() {return maxCores;}
/// Optimisation hints for assembly code.
///
/// For forward compatibility, the CPU is compared against different
/// microarchitectures. For 32-bit x86, comparisons are made against
/// the Intel PPro/PII/PIII/PM family.
///
/// The major 32-bit x86 microarchitecture 'dynasties' have been:
///
/// * Intel P6 (PentiumPro, PII, PIII, PM, Core, Core2).
/// * AMD Athlon (K7, K8, K10).
/// * Intel NetBurst (Pentium 4, Pentium D).
/// * In-order Pentium (Pentium1, PMMX, Atom)
///
/// Other early CPUs (Nx586, AMD K5, K6, Centaur C3, Transmeta,
/// Cyrix, Rise) were mostly in-order.
///
/// Some new processors do not fit into the existing categories:
///
/// * Intel Atom 230/330 (family 6, model 0x1C) is an in-order core.
/// * Centaur Isiah = VIA Nano (family 6, model F) is an out-of-order core.
///
/// Within each dynasty, the optimisation techniques are largely
/// identical (eg, use instruction pairing for group 4). Major
/// instruction set improvements occur within each dynasty.
/// Does this CPU perform better on AMD K7 code than PentiumPro..Core2 code?
bool preferAthlon() { return probablyAMD && family >=6; }
/// Does this CPU perform better on Pentium4 code than PentiumPro..Core2 code?
bool preferPentium4() { return probablyIntel && family == 0xF; }
/// Does this CPU perform better on Pentium I code than Pentium Pro code?
bool preferPentium1() { return family < 6 || (family==6 && model < 0xF && !probablyIntel); }
}
__gshared:
// All these values are set only once, and never subsequently modified.
public:
/// $(RED Warning: This field will be turned into a property in a future release.)
///
/// Processor type (vendor-dependent).
/// This should be visible ONLY for display purposes.
uint stepping, model, family;
/// $(RED This field has been deprecated. Please use $(D cacheLevels) instead.)
uint numCacheLevels = 1;
/// The number of cache levels in the CPU.
@property uint cacheLevels() { return numCacheLevels; }
private:
bool probablyIntel; // true = _probably_ an Intel processor, might be faking
bool probablyAMD; // true = _probably_ an AMD processor
string processorName;
char [12] vendorID;
char [48] processorNameBuffer;
uint features = 0; // mmx, sse, sse2, hyperthreading, etc
uint miscfeatures = 0; // sse3, etc.
uint extfeatures = 0; // HLE, AVX2, RTM, etc.
uint amdfeatures = 0; // 3DNow!, mmxext, etc
uint amdmiscfeatures = 0; // sse4a, sse5, svm, etc
ulong xfeatures = 0; // XFEATURES_ENABLED_MASK
uint maxCores = 1;
uint maxThreads = 1;
// Note that this may indicate multi-core rather than hyperthreading.
@property bool hyperThreadingBit() { return (features&HTT_BIT)!=0;}
// feature flags CPUID1_EDX
enum : uint
{
FPU_BIT = 1,
TIMESTAMP_BIT = 1<<4, // rdtsc
MDSR_BIT = 1<<5, // RDMSR/WRMSR
CMPXCHG8B_BIT = 1<<8,
SYSENTERSYSEXIT_BIT = 1<<11,
CMOV_BIT = 1<<15,
MMX_BIT = 1<<23,
FXSR_BIT = 1<<24,
SSE_BIT = 1<<25,
SSE2_BIT = 1<<26,
HTT_BIT = 1<<28,
IA64_BIT = 1<<30
}
// feature flags misc CPUID1_ECX
enum : uint
{
SSE3_BIT = 1,
PCLMULQDQ_BIT = 1<<1, // from AVX
MWAIT_BIT = 1<<3,
SSSE3_BIT = 1<<9,
FMA_BIT = 1<<12, // from AVX
CMPXCHG16B_BIT = 1<<13,
SSE41_BIT = 1<<19,
SSE42_BIT = 1<<20,
POPCNT_BIT = 1<<23,
AES_BIT = 1<<25, // AES instructions from AVX
OSXSAVE_BIT = 1<<27, // Used for AVX
AVX_BIT = 1<<28,
FP16C_BIT = 1<<29,
RDRAND_BIT = 1<<30,
}
// Feature flags for cpuid.{EAX = 7, ECX = 0}.EBX.
enum : uint
{
FSGSBASE_BIT = 1 << 0,
BMI1_BIT = 1 << 3,
HLE_BIT = 1 << 4,
AVX2_BIT = 1 << 5,
SMEP_BIT = 1 << 7,
BMI2_BIT = 1 << 8,
ERMS_BIT = 1 << 9,
INVPCID_BIT = 1 << 10,
RTM_BIT = 1 << 11,
RDSEED_BIT = 1 << 18,
SHA_BIT = 1 << 29,
}
// feature flags XFEATURES_ENABLED_MASK
enum : ulong
{
XF_FP_BIT = 0x1,
XF_SSE_BIT = 0x2,
XF_YMM_BIT = 0x4,
}
// AMD feature flags CPUID80000001_EDX
enum : uint
{
AMD_MMX_BIT = 1<<22,
// FXR_OR_CYRIXMMX_BIT = 1<<24, // Cyrix/NS: 6x86MMX instructions.
FFXSR_BIT = 1<<25,
PAGE1GB_BIT = 1<<26, // support for 1GB pages
RDTSCP_BIT = 1<<27,
AMD64_BIT = 1<<29,
AMD_3DNOW_EXT_BIT = 1<<30,
AMD_3DNOW_BIT = 1<<31
}
// AMD misc feature flags CPUID80000001_ECX
enum : uint
{
LAHFSAHF_BIT = 1,
LZCNT_BIT = 1<<5,
SSE4A_BIT = 1<<6,
AMD_3DNOW_PREFETCH_BIT = 1<<8,
}
version(InlineAsm_X86_Any) {
// Note that this code will also work for Itanium in x86 mode.
__gshared uint max_cpuid, max_extended_cpuid;
// CPUID2: "cache and tlb information"
void getcacheinfoCPUID2()
{
// We are only interested in the data caches
void decipherCpuid2(ubyte x) {
if (x==0) return;
// Values from http://www.sandpile.org/ia32/cpuid.htm.
// Includes Itanium and non-Intel CPUs.
//
static immutable ubyte [63] ids = [
0x0A, 0x0C, 0x0D, 0x2C, 0x60, 0x0E, 0x66, 0x67, 0x68,
// level 2 cache
0x41, 0x42, 0x43, 0x44, 0x45, 0x78, 0x79, 0x7A, 0x7B, 0x7C, 0x7D, 0x7F,
0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x49, 0x4E,
0x39, 0x3A, 0x3B, 0x3C, 0x3D, 0x3E, 0x48, 0x80, 0x81,
// level 3 cache
0x22, 0x23, 0x25, 0x29, 0x46, 0x47, 0x4A, 0x4B, 0x4C, 0x4D,
0xD0, 0xD1, 0xD2, 0xD6, 0xD7, 0xD8, 0xDC, 0xDD, 0xDE,
0xE2, 0xE3, 0xE4, 0xEA, 0xEB, 0xEC
];
static immutable uint [63] sizes = [
8, 16, 16, 64, 16, 24, 8, 16, 32,
128, 256, 512, 1024, 2048, 1024, 128, 256, 512, 1024, 2048, 512,
256, 512, 1024, 2048, 512, 1024, 4096, 6*1024,
128, 192, 128, 256, 384, 512, 3072, 512, 128,
512, 1024, 2048, 4096, 4096, 8192, 6*1024, 8192, 12*1024, 16*1024,
512, 1024, 2048, 1024, 2048, 4096, 1024+512, 3*1024, 6*1024,
2*1024, 4*1024, 8*1024, 12*1024, 28*1024, 24*1024
];
// CPUBUG: Pentium M reports 0x2C but tests show it is only 4-way associative
static immutable ubyte [63] ways = [
2, 4, 4, 8, 8, 6, 4, 4, 4,
4, 4, 4, 4, 4, 4, 8, 8, 8, 8, 8, 2,
8, 8, 8, 8, 4, 8, 16, 24,
4, 6, 2, 4, 6, 4, 12, 8, 8,
4, 8, 8, 8, 4, 8, 12, 16, 12, 16,
4, 4, 4, 8, 8, 8, 12, 12, 12,
16, 16, 16, 24, 24, 24
];
enum { FIRSTDATA2 = 8, FIRSTDATA3 = 28+9 }
for (size_t i=0; i< ids.length; ++i) {
if (x==ids[i]) {
int level = i< FIRSTDATA2 ? 0: i<FIRSTDATA3 ? 1 : 2;
if (x==0x49 && family==0xF && model==0x6) level=2;
datacache[level].size=sizes[i];
datacache[level].associativity=ways[i];
if (level == 3 || x==0x2C || x==0x0D || (x>=0x48 && x<=0x80)
|| x==0x86 || x==0x87
|| (x>=0x66 && x<=0x68) || (x>=0x39 && x<=0x3E)){
datacache[level].lineSize = 64;
} else datacache[level].lineSize = 32;
}
}
}
uint[4] a;
bool firstTime = true;
// On a multi-core system, this could theoretically fail, but it's only used
// for old single-core CPUs.
uint numinfos = 1;
do {
asm {
mov EAX, 2;
cpuid;
mov a, EAX;
mov a+4, EBX;
mov a+8, ECX;
mov a+12, EDX;
}
if (firstTime) {
if (a[0]==0x0000_7001 && a[3]==0x80 && a[1]==0 && a[2]==0) {
// Cyrix MediaGX MMXEnhanced returns: EAX= 00007001, EDX=00000080.
// These are NOT standard Intel values
// (TLB = 32 entry, 4 way associative, 4K pages)
// (L1 cache = 16K, 4way, linesize16)
datacache[0].size=8;
datacache[0].associativity=4;
datacache[0].lineSize=16;
return;
}
// lsb of a is how many times to loop.
numinfos = a[0] & 0xFF;
// and otherwise it should be ignored
a[0] &= 0xFFFF_FF00;
firstTime = false;
}
for (int c=0; c<4;++c) {
// high bit set == no info.
if (a[c] & 0x8000_0000) continue;
decipherCpuid2(cast(ubyte)(a[c] & 0xFF));
decipherCpuid2(cast(ubyte)((a[c]>>8) & 0xFF));
decipherCpuid2(cast(ubyte)((a[c]>>16) & 0xFF));
decipherCpuid2(cast(ubyte)((a[c]>>24) & 0xFF));
}
} while (--numinfos);
}
// CPUID4: "Deterministic cache parameters" leaf
void getcacheinfoCPUID4()
{
int cachenum = 0;
for(;;) {
uint a, b, number_of_sets;
asm {
mov EAX, 4;
mov ECX, cachenum;
cpuid;
mov a, EAX;
mov b, EBX;
mov number_of_sets, ECX;
}
++cachenum;
if ((a&0x1F)==0) break; // no more caches
uint numthreads = ((a>>14) & 0xFFF) + 1;
uint numcores = ((a>>26) & 0x3F) + 1;
if (numcores > maxCores) maxCores = numcores;
if ((a&0x1F)!=1 && ((a&0x1F)!=3)) continue; // we only want data & unified caches
++number_of_sets;
ubyte level = cast(ubyte)(((a>>5)&7)-1);
if (level > datacache.length) continue; // ignore deep caches
datacache[level].associativity = a & 0x200 ? ubyte.max :cast(ubyte)((b>>22)+1);
datacache[level].lineSize = (b & 0xFFF)+ 1; // system coherency line size
uint line_partitions = ((b >> 12)& 0x3FF) + 1;
// Size = number of sets * associativity * cachelinesize * linepartitions
// and must convert to Kb, also dividing by the number of hyperthreads using this cache.
ulong sz = (datacache[level].associativity< ubyte.max)? number_of_sets *
datacache[level].associativity : number_of_sets;
datacache[level].size = cast(uint)(
(sz * datacache[level].lineSize * line_partitions ) / (numthreads *1024));
if (level == 0 && (a&0xF)==3) {
// Halve the size for unified L1 caches
datacache[level].size/=2;
}
}
}
// CPUID8000_0005 & 6
void getAMDcacheinfo()
{
uint c5, c6, d6;
asm {
mov EAX, 0x8000_0005; // L1 cache
cpuid;
// EAX has L1_TLB_4M.
// EBX has L1_TLB_4K
// EDX has L1 instruction cache
mov c5, ECX;
}
datacache[0].size = ( (c5>>24) & 0xFF);
datacache[0].associativity = cast(ubyte)( (c5 >> 16) & 0xFF);
datacache[0].lineSize = c5 & 0xFF;
if (max_extended_cpuid >= 0x8000_0006) {
// AMD K6-III or K6-2+ or later.
ubyte numcores = 1;
if (max_extended_cpuid >=0x8000_0008) {
asm {
mov EAX, 0x8000_0008;
cpuid;
mov numcores, CL;
}
++numcores;
if (numcores>maxCores) maxCores = numcores;
}
asm {
mov EAX, 0x8000_0006; // L2/L3 cache
cpuid;
mov c6, ECX; // L2 cache info
mov d6, EDX; // L3 cache info
}
immutable ubyte [] assocmap = [ 0, 1, 2, 0, 4, 0, 8, 0, 16, 0, 32, 48, 64, 96, 128, 0xFF ];
datacache[1].size = (c6>>16) & 0xFFFF;
datacache[1].associativity = assocmap[(c6>>12)&0xF];
datacache[1].lineSize = c6 & 0xFF;
// The L3 cache value is TOTAL, not per core.
datacache[2].size = ((d6>>18)*512)/numcores; // could be up to 2 * this, -1.
datacache[2].associativity = assocmap[(d6>>12)&0xF];
datacache[2].lineSize = d6 & 0xFF;
}
}
// For Intel CoreI7 and later, use function 0x0B
// to determine number of processors.
void getCpuInfo0B()
{
int level=0;
int threadsPerCore;
uint a, b, c, d;
do {
asm {
mov EAX, 0x0B;
mov ECX, level;
cpuid;
mov a, EAX;
mov b, EBX;
mov c, ECX;
mov d, EDX;
}
if (b!=0) {
// I'm not sure about this. The docs state that there
// are 2 hyperthreads per core if HT is factory enabled.
if (level==0)
threadsPerCore = b & 0xFFFF;
else if (level==1) {
maxThreads = b & 0xFFFF;
maxCores = maxThreads / threadsPerCore;
}
}
++level;
} while (a!=0 || b!=0);
}
void cpuidX86()
{
char * venptr = vendorID.ptr;
uint a, b, c, d, a2;
version(D_InlineAsm_X86)
{
asm {
mov EAX, 0;
cpuid;
mov a, EAX;
mov EAX, venptr;
mov [EAX], EBX;
mov [EAX + 4], EDX;
mov [EAX + 8], ECX;
}
}
else version(D_InlineAsm_X86_64)
{
asm {
mov EAX, 0;
cpuid;
mov a, EAX;
mov RAX, venptr;
mov [RAX], EBX;
mov [RAX + 4], EDX;
mov [RAX + 8], ECX;
}
}
asm {
mov EAX, 0x8000_0000;
cpuid;
mov a2, EAX;
}
max_cpuid = a;
max_extended_cpuid = a2;
probablyIntel = vendorID == "GenuineIntel";
probablyAMD = vendorID == "AuthenticAMD";
uint apic = 0; // brand index, apic id
asm {
mov EAX, 1; // model, stepping
cpuid;
mov a, EAX;
mov apic, EBX;
mov c, ECX;
mov d, EDX;
}
features = d;
miscfeatures = c;
if (max_cpuid >= 7)
{
uint ext;
asm
{
mov EAX, 7; // Structured extended feature leaf.
mov ECX, 0; // Main leaf.
cpuid;
mov ext, EBX; // HLE, AVX2, RTM, etc.
}
extfeatures = ext;
}
if (miscfeatures & OSXSAVE_BIT)
{
asm {
mov ECX, 0;
xgetbv;
mov d, EDX;
mov a, EAX;
}
xfeatures = cast(ulong)d << 32 | a;
}
amdfeatures = 0;
amdmiscfeatures = 0;
if (max_extended_cpuid >= 0x8000_0001) {
asm {
mov EAX, 0x8000_0001;
cpuid;
mov c, ECX;
mov d, EDX;
}
amdmiscfeatures = c;
amdfeatures = d;
}
// Try to detect fraudulent vendorIDs
if (amd3dnow) probablyIntel = false;
stepping = a & 0xF;
uint fbase = (a >> 8) & 0xF;
uint mbase = (a >> 4) & 0xF;
family = ((fbase == 0xF) || (fbase == 0)) ? fbase + (a >> 20) & 0xFF : fbase;
model = ((fbase == 0xF) || (fbase == 6 && probablyIntel) ) ?
mbase + ((a >> 12) & 0xF0) : mbase;
if (!probablyIntel && max_extended_cpuid >= 0x8000_0008) {
// determine max number of cores for AMD
asm {
mov EAX, 0x8000_0008;
cpuid;
mov c, ECX;
}
uint apicsize = (c>>12) & 0xF;
if (apicsize == 0) {
// use legacy method
if (hyperThreadingBit) maxCores = c & 0xFF;
else maxCores = 1;
} else {
// maxcores = 2^ apicsize
maxCores = 1;
while (apicsize) { maxCores<<=1; --apicsize; }
}
}
if (max_extended_cpuid >= 0x8000_0004) {
char *procptr = processorNameBuffer.ptr;
version(D_InlineAsm_X86)
{
asm {
push ESI;
mov ESI, procptr;
mov EAX, 0x8000_0002;
cpuid;
mov [ESI], EAX;
mov [ESI+4], EBX;
mov [ESI+8], ECX;
mov [ESI+12], EDX;
mov EAX, 0x8000_0003;
cpuid;
mov [ESI+16], EAX;
mov [ESI+20], EBX;
mov [ESI+24], ECX;
mov [ESI+28], EDX;
mov EAX, 0x8000_0004;
cpuid;
mov [ESI+32], EAX;
mov [ESI+36], EBX;
mov [ESI+40], ECX;
mov [ESI+44], EDX;
pop ESI;
}
}
else version(D_InlineAsm_X86_64)
{
asm {
push RSI;
mov RSI, procptr;
mov EAX, 0x8000_0002;
cpuid;
mov [RSI], EAX;
mov [RSI+4], EBX;
mov [RSI+8], ECX;
mov [RSI+12], EDX;
mov EAX, 0x8000_0003;
cpuid;
mov [RSI+16], EAX;
mov [RSI+20], EBX;
mov [RSI+24], ECX;
mov [RSI+28], EDX;
mov EAX, 0x8000_0004;
cpuid;
mov [RSI+32], EAX;
mov [RSI+36], EBX;
mov [RSI+40], ECX;
mov [RSI+44], EDX;
pop RSI;
}
}
// Intel P4 and PM pad at front with spaces.
// Other CPUs pad at end with nulls.
int start = 0, end = 0;
while (processorNameBuffer[start] == ' ') { ++start; }
while (processorNameBuffer[processorNameBuffer.length-end-1] == 0) { ++end; }
processorName = cast(string)(processorNameBuffer[start..$-end]);
} else {
processorName = "Unknown CPU";
}
// Determine cache sizes
// Intel docs specify that they return 0 for 0x8000_0005.
// AMD docs do not specify the behaviour for 0004 and 0002.
// Centaur/VIA and most other manufacturers use the AMD method,
// except Cyrix MediaGX MMX Enhanced uses their OWN form of CPUID2!
// NS Geode GX1 provides CyrixCPUID2 _and_ does the same wrong behaviour
// for CPUID80000005. But Geode GX uses the AMD method
// Deal with Geode GX1 - make it same as MediaGX MMX.
if (max_extended_cpuid==0x8000_0005 && max_cpuid==2) {
max_extended_cpuid = 0x8000_0004;
}
// Therefore, we try the AMD method unless it's an Intel chip.
// If we still have no info, try the Intel methods.
datacache[0].size = 0;
if (max_cpuid<2 || !probablyIntel) {
if (max_extended_cpuid >= 0x8000_0005) {
getAMDcacheinfo();
} else if (probablyAMD) {
// According to AMDProcRecognitionAppNote, this means CPU
// K5 model 0, or Am5x86 (model 4), or Am4x86DX4 (model 4)
// Am5x86 has 16Kb 4-way unified data & code cache.
datacache[0].size = 8;
datacache[0].associativity = 4;
datacache[0].lineSize = 32;
} else {
// Some obscure CPU.
// Values for Cyrix 6x86MX (family 6, model 0)
datacache[0].size = 64;
datacache[0].associativity = 4;
datacache[0].lineSize = 32;
}
}
if ((datacache[0].size == 0) && max_cpuid>=4) {
getcacheinfoCPUID4();
}
if ((datacache[0].size == 0) && max_cpuid>=2) {
getcacheinfoCPUID2();
}
if (datacache[0].size == 0) {
// Pentium, PMMX, late model 486, or an obscure CPU
if (mmx) { // Pentium MMX. Also has 8kB code cache.
datacache[0].size = 16;
datacache[0].associativity = 4;
datacache[0].lineSize = 32;
} else { // Pentium 1 (which also has 8kB code cache)
// or 486.
// Cyrix 6x86: 16, 4way, 32 linesize
datacache[0].size = 8;
datacache[0].associativity = 2;
datacache[0].lineSize = 32;
}
}
if (max_cpuid >=0x0B) {
// For Intel i7 and later, use function 0x0B to determine
// cores and hyperthreads.
getCpuInfo0B();
} else {
if (hyperThreadingBit) maxThreads = (apic>>>16) & 0xFF;
else maxThreads = maxCores;
}
}
// Return true if the cpuid instruction is supported.
// BUG(WONTFIX): Returns false for Cyrix 6x86 and 6x86L. They will be treated as 486 machines.
bool hasCPUID()
{
version(D_InlineAsm_X86_64)
return true;
else
{
uint flags;
asm {
pushfd;
pop EAX;
mov flags, EAX;
xor EAX, 0x0020_0000;
push EAX;
popfd;
pushfd;
pop EAX;
xor flags, EAX;
}
return (flags & 0x0020_0000) !=0;
}
}
} else { // inline asm X86
bool hasCPUID() { return false; }
void cpuidX86()
{
datacache[0].size = 8;
datacache[0].associativity = 2;
datacache[0].lineSize = 32;
}
}
/*
// TODO: Implement this function with OS support
void cpuidPPC()
{
enum :int { PPC601, PPC603, PPC603E, PPC604,
PPC604E, PPC620, PPCG3, PPCG4, PPCG5 }
// TODO:
// asm { mfpvr; } returns the CPU version but unfortunately it can
// only be used in kernel mode. So OS support is required.
int cputype = PPC603;
// 601 has a 8KB combined data & code L1 cache.
uint sizes[] = [4, 8, 16, 16, 32, 32, 32, 32, 64];
ubyte ways[] = [8, 2, 4, 4, 4, 8, 8, 8, 8];
uint L2size[]= [0, 0, 0, 0, 0, 0, 0, 256, 512];
uint L3size[]= [0, 0, 0, 0, 0, 0, 0, 2048, 0];
datacache[0].size = sizes[cputype];
datacache[0].associativity = ways[cputype];
datacache[0].lineSize = (cputype==PPCG5)? 128 :
(cputype == PPC620 || cputype == PPCG3)? 64 : 32;
datacache[1].size = L2size[cputype];
datacache[2].size = L3size[cputype];
datacache[1].lineSize = datacache[0].lineSize;
datacache[2].lineSize = datacache[0].lineSize;
}
// TODO: Implement this function with OS support
void cpuidSparc()
{
// UltaSparcIIi : L1 = 16, 2way. L2 = 512, 4 way.
// UltraSparcIII : L1 = 64, 4way. L2= 4096 or 8192.
// UltraSparcIIIi: L1 = 64, 4way. L2= 1024, 4 way
// UltraSparcIV : L1 = 64, 4way. L2 = 16*1024.
// UltraSparcIV+ : L1 = 64, 4way. L2 = 2048, L3=32*1024.
// Sparc64V : L1 = 128, 2way. L2 = 4096 4way.
}
*/
shared static this()
{
if (hasCPUID()) {
cpuidX86();
} else {
// it's a 386 or 486, or a Cyrix 6x86.
//Probably still has an external cache.
}
if (datacache[0].size==0) {
// Guess same as Pentium 1.
datacache[0].size = 8;
datacache[0].associativity = 2;
datacache[0].lineSize = 32;
}
numCacheLevels = 1;
// And now fill up all the unused levels with full memory space.
for (size_t i=1; i< datacache.length; ++i) {
if (datacache[i].size==0) {
// Set all remaining levels of cache equal to full address space.
datacache[i].size = size_t.max/1024;
datacache[i].associativity = 1;
datacache[i].lineSize = datacache[i-1].lineSize;
}
else
++numCacheLevels;
}
}
| D |
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/debug/wbuild/node-template-runtime/target/release/build/serde_json-e2169a7cb091f6b3/build_script_build-e2169a7cb091f6b3: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/build.rs
/Users/pacmac/Documents/GitHub/Blockchain/substarte_blockchain/substrate-node-template/target/debug/wbuild/node-template-runtime/target/release/build/serde_json-e2169a7cb091f6b3/build_script_build-e2169a7cb091f6b3.d: /Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/build.rs
/Users/pacmac/.cargo/registry/src/github.com-1ecc6299db9ec823/serde_json-1.0.64/build.rs:
| D |
module unzip;
import std.c.string;
// Very VERY crude binding to some of the minizip functions.
// Will be improved. I promise! :)
extern(C)
{
unzFile unzOpen( const char* path );
int unzClose( unzFile file );
unzFile unzOpen2( const char* path, zlib_filefunc_def* pzlib_filefunc_def );
int unzGoToFirstFile( unzFile file );
int unzGoToNextFile( unzFile file );
int unzGetCurrentFileInfo( unzFile file, unz_file_info* pfile_info,
char* szFileName, uint fileNameBufferSize,
void* extraField, uint extraFieldBufferSize,
char* szComment, uint commentBufferSize );
int unzOpenCurrentFile( unzFile file );
int unzOpenCurrentFilePassword( unzFile file, const char* password );
int unzCloseCurrentFile( unzFile file );
int unzReadCurrentFile( unzFile file, void* buf, uint len );
}
// Very bad idea, I know! Only ONE zip file can be open at any time!
zlib_filefunc_def fileFuncs;
ubyte[] streamBuf;
uint streamPos = 0;
unzFile unzOpenBuffered( ref ubyte[] fileBuffer )
{
streamBuf = fileBuffer;
fileFuncs.opaque = streamBuf.ptr;
fileFuncs.zopen_file = &bufOpen;
fileFuncs.zread_file = &bufRead;
fileFuncs.zwrite_file = &bufWrite;
fileFuncs.ztell_file = &bufTell;
fileFuncs.zseek_file = &bufSeek;
fileFuncs.zclose_file = &bufClose;
fileFuncs.zerror_file = &bufError;
return unzOpen2( null, &fileFuncs );
}
enum ZLIB_FILEFUNC_SEEK_SET = 0;
enum ZLIB_FILEFUNC_SEEK_CUR = 1;
enum ZLIB_FILEFUNC_SEEK_END = 2;
extern(C)
{
void* bufOpen( void* opaque, const char* filename, int mode )
{
streamPos = 0;
return &streamPos;
}
uint bufRead( void* opaque, void* stream, void* buf, uint size )
{
uint readable = (streamBuf.length > streamPos) ? streamBuf.length-streamPos : 0;
if( !readable ) return 0;
readable = (size > readable) ? readable : size;
memcpy(buf, &streamBuf[streamPos], readable);
streamPos += readable;
return readable;
}
uint bufWrite( void* opaque, void* stream, void* buf, uint size )
{
return 0;
}
int bufTell( void* opaque, void* stream )
{
return streamPos;
}
int bufSeek( void* opaque, void* stream, uint offset, int origin )
{
switch( origin )
{
case ZLIB_FILEFUNC_SEEK_SET:
streamPos = offset;
break;
case ZLIB_FILEFUNC_SEEK_CUR:
streamPos += offset;
break;
case ZLIB_FILEFUNC_SEEK_END:
streamPos = streamBuf.length + offset;
break;
default:
return -1;
}
return 0;
}
int bufClose( void* opaque, void* stream )
{
streamBuf = null;
return 0;
}
int bufError( void* opaque, void* stream )
{
return 0;
}
struct unz_file_info
{
uint version_;
uint version_needed;
uint flag;
uint compression_method;
uint dosDate;
uint crc;
uint compressed_size;
uint uncompressed_size;
uint size_filename;
uint size_file_extra;
uint size_file_comment;
uint disk_num_start;
uint internal_fa;
uint external_fa;
tm_unz tmu_date;
}
struct tm_unz
{
uint tm_sec;
uint tm_min;
uint tm_hour;
uint tm_mday;
uint tm_mon;
uint tm_year;
}
alias uint unzFile;
struct zlib_filefunc_def
{
void* function( void* opaque, const char* filename, int mode ) zopen_file;
uint function( void* opaque, void* stream, void* buf, uint size ) zread_file;
uint function( void* opaque, void* stream, void* buf, uint size ) zwrite_file;
int function( void* opaque, void* stream ) ztell_file;
int function( void* opaque, void* stream, uint offset, int origin ) zseek_file;
int function( void* opaque, void* stream ) zclose_file;
int function( void* opaque, void* stream ) zerror_file;
void* opaque;
}
} | D |
instance BAU_916_Bauer (Npc_Default)
{
// ------ NSC ------
name = NAME_BAUER;
guild = GIL_BAU;
id = 916;
voice = 1;
flags = 0; //NPC_FLAG_IMMORTAL oder 0
npctype = NPCTYPE_AMBIENT;
// ------ Attribute ------
B_SetAttributesToChapter (self, 1); //setzt Attribute und LEVEL entsprechend dem angegebenen Kapitel (1-6)
// ------ Kampf-Taktik ------
fight_tactic = FAI_HUMAN_COWARD; // MASTER / STRONG / COWARD
// ------ Equippte Waffen ------ //Munition wird automatisch generiert, darf aber angegeben werden
EquipItem (self, ItMw_1h_Bau_Axe);
// ------ Inventory ------
B_CreateAmbientInv (self);
// ------ visuals ------ //Muss NACH Attributen kommen, weil in B_SetNpcVisual die Breite abh. v. STR skaliert wird
B_SetNpcVisual (self, MALE, "Hum_Head_Bald", Face_P_NormalBald, BodyTex_P, ITAR_Bau_L);
Mdl_SetModelFatness (self, 0);
Mdl_ApplyOverlayMds (self, "Humans_Relaxed.mds"); // Tired / Militia / Mage / Arrogance / Relaxed
// ------ NSC-relevante Talente vergeben ------
B_GiveNpcTalents (self);
// ------ Kampf-Talente ------ //Der enthaltene B_AddFightSkill setzt Talent-Ani abhängig von TrefferChance% - alle Kampftalente werden gleichhoch gesetzt
B_SetFightSkills (self, 15); //Grenzen für Talent-Level liegen bei 30 und 60
// ------ TA anmelden ------
daily_routine = Rtn_Start_916;
};
FUNC VOID Rtn_Start_916 ()
{
TA_Smalltalk (08,00,22,00,"NW_BIGFARM_KITCHEN_02");
TA_Smalltalk (22,00,08,00,"NW_BIGFARM_KITCHEN_02");
};
| D |
/*
* Copyright Andrej Mitrovic 2013.
* Distributed under the Boost Software License, Version 1.0.
* (See accompanying file LICENSE_1_0.txt or copy at
* http://www.boost.org/LICENSE_1_0.txt)
*/
module dtk.platform.win32.com;
version (Windows):
import dtk.imports;
import dtk.utils;
import dtk.platform.win32.defs;
C newCom(C, T...)(T arguments) if(is(C : ComObject) && T.length > 0)
{
return _newCom!C(arguments);
}
@property C newCom(C)() if(is(C : ComObject))
{
return _newCom!C();
}
private C _newCom(C, T...)(T arguments)
{
// avoid special casing in _d_newclass, where COM objects are not garbage collected
size_t size = C.classinfo.init.length;
void* p = GC.malloc(size, GC.BlkAttr.FINALIZE);
memcpy(p, C.classinfo.init.ptr, size);
C c = cast(C)p;
static if(arguments.length || __traits(compiles,c.__ctor(arguments)))
c.__ctor(arguments);
return c;
}
class ComObject : IUnknown
{
/**
Note: See Issue 4092, COM objects are allocated in the
C heap instead of the GC:
http://d.puremagic.com/issues/show_bug.cgi?id=4092
*/
@disable new(size_t size)
{
// should not be called because we don't have enough type info
assert(0);
// GC.malloc(size, GC.BlkAttr.FINALIZE);
}
HRESULT QueryInterface(const(IID)* riid, void** ppv)
{
if (*riid == IID_IUnknown)
{
*ppv = cast(void*)cast(IUnknown)this;
AddRef();
return S_OK;
}
*ppv = null;
return E_NOINTERFACE;
}
ULONG AddRef()
{
LONG lRef = atomicOp!"+="(_refCount, 1);
if (lRef == 1)
GC.addRoot(cast(void*)this);
return lRef;
}
ULONG Release()
{
LONG lRef = atomicOp!"-="(_refCount, 1);
if (lRef == 0)
GC.removeRoot(cast(void*)this);
return cast(ULONG)lRef;
}
shared(LONG) _refCount;
}
/**
Create a global memory buffer and store text contents to it.
Return the handle to the memory buffer.
*/
HGLOBAL toGlobalMem(string text)
{
// allocate and lock a global memory buffer. Make it fixed
// data so we don't have to use GlobalLock
char* ptr = cast(char*)GlobalAlloc(GMEM_FIXED, text.memSizeOf);
// copy the string into the buffer
ptr[0 .. text.length] = text[];
return cast(HGLOBAL)ptr;
}
/**
Duplicate the memory helt at the global memory handle,
and return the handle to the duplicated memory.
*/
HGLOBAL dupGlobalMem(HGLOBAL hMem)
{
// lock the source memory object
PVOID source = GlobalLock(hMem);
scope(exit) GlobalUnlock(hMem);
// create a fixed global block - just
// a regular lump of our process heap
DWORD len = GlobalSize(hMem);
PVOID dest = GlobalAlloc(GMEM_FIXED, len);
memcpy(dest, source, len);
return dest;
}
/** Perform a deep copy of a FORMATETC structure. */
FORMATETC deepDupFormatEtc(FORMATETC source)
{
FORMATETC res;
res = source;
// duplicate memory for the DVTARGETDEVICE if necessary
if (source.ptd)
{
res.ptd = cast(DVTARGETDEVICE*)CoTaskMemAlloc(DVTARGETDEVICE.sizeof);
*(res.ptd) = *(source.ptd);
}
return res;
}
| D |
/*******************************************************************************
Turtle implementation of DHT `GetVersion` request
Copyright:
Copyright (c) 2015-2017 sociomantic labs GmbH. All rights reserved.
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module fakedht.request.GetVersion;
/*******************************************************************************
Imports
*******************************************************************************/
import Protocol = dhtproto.node.request.GetVersion;
/*******************************************************************************
Request implementation. Completely provided by base in this case.
*******************************************************************************/
public scope class GetVersion : Protocol.GetVersion
{
import fakedht.mixins.RequestConstruction;
/***************************************************************************
Adds this.resources and constructor to initialize it and forward
arguments to base
***************************************************************************/
mixin RequestConstruction!();
}
| D |
//-----------------------------------------------------------------------------
// wxD - StaticBitmap.d
// (C) 2005 bero <berobero@users.sourceforge.net>
// based on
// wx.NET - StaticBitmap.cs
//
/// The wxStaticBitmap wrapper class.
//
// Written by Robert Roebling
// (C) 2003 Robert Roebling
// Licensed under the wxWidgets license, see LICENSE.txt for details.
//
// $Id: StaticBitmap.d,v 1.10 2007/03/13 17:02:41 afb Exp $
//-----------------------------------------------------------------------------
module wx.StaticBitmap;
public import wx.common;
public import wx.Control;
//! \cond EXTERN
static extern (C) IntPtr wxStaticBitmap_ctor();
static extern (C) bool wxStaticBitmap_Create(IntPtr self, IntPtr parent, int id, IntPtr label, inout Point pos, inout Size size, uint style, string name);
static extern (C) void wxStaticBitmap_SetBitmap(IntPtr self, IntPtr bitmap);
static extern (C) IntPtr wxStaticBitmap_GetBitmap(IntPtr self);
//! \endcond
//---------------------------------------------------------------------
alias StaticBitmap wxStaticBitmap;
public class StaticBitmap : Control
{
public const string wxStaticBitmapNameStr = "message";
public this()
{ super(wxStaticBitmap_ctor()); }
public this(IntPtr wxobj)
{ super(wxobj); }
public this(Window parent, int id, Bitmap label, Point pos = wxDefaultPosition, Size size = wxDefaultSize, int style = 0, string name = wxStaticBitmapNameStr)
{
super(wxStaticBitmap_ctor());
if (!Create(parent, id, label, pos, size, style, name))
{
throw new InvalidOperationException("Failed to create StaticBitmap");
}
}
public static wxObject New(IntPtr wxobj) { return new StaticBitmap(wxobj); }
//---------------------------------------------------------------------
// ctors with self created id
public this(Window parent, Bitmap label, Point pos = wxDefaultPosition, Size size = wxDefaultSize, int style = 0, string name = wxStaticBitmapNameStr)
{ this(parent, Window.UniqueID, label, pos, size, style, name);}
//---------------------------------------------------------------------
public bool Create(Window parent, int id, Bitmap label, inout Point pos, inout Size size, int style, string name)
{
return wxStaticBitmap_Create(wxobj, wxObject.SafePtr(parent), id, wxObject.SafePtr(label), pos, size, cast(uint)style, name);
}
//---------------------------------------------------------------------
public void bitmap(Bitmap value) { wxStaticBitmap_SetBitmap(wxobj, wxObject.SafePtr(value)); }
public Bitmap bitmap() { return cast(Bitmap)FindObject(wxStaticBitmap_GetBitmap(wxobj), &Bitmap.New); }
}
| D |
module mach.error.bounds;
private:
import mach.traits : isIntegral, isNumeric, hasNumericLength;
/++ Docs
This module provides the throwable types `IndexOutOfBoundsError` and
`InvalidSliceBoundsError`. These are mainly intended to be used as
static singletons, rather than created and thrown anew.
+/
unittest{ /// Example
import mach.error.mustthrow : mustthrow;
static const error = new IndexOutOfBoundsError();
error.enforce(5, 0, 10); // High-exclusive check: enforce 0 <= 5 < 10.
error.enforcei(6, 0, 10); // High-exclusive check: enforce 0 <= 6 <= 10.
mustthrow!(e => e is error)({
error.enforce(100, 0, 10); // Index out of bounds.
});
}
unittest{ /// Example
import mach.error.mustthrow : mustthrow;
static const error = new InvalidSliceBoundsError();
error.enforce(1, 2, 0, 10); // Slice 1 .. 2 is contained within 0 .. 10.
mustthrow!(e => e is error)({
error.enforce(100, 200, 0, 10); // Slice 100 .. 200 isn't contained within 0 .. 10.
});
}
/++ Docs
Optionally, some object with a numeric `length` property may be passed to these
types' `enforce` methods instead of a low and a high bound;
in this case the low bound is considered to be zero and the high bound the
length of the passed object.
+/
unittest{
static const error = new IndexOutOfBoundsError();
error.enforce(0, [0, 1, 2]); // Index 0 is within the bounds of this array.
}
unittest{
static const error = new InvalidSliceBoundsError();
error.enforce(0, 1, [0, 1, 2]); // Slice 0 .. 1 is valid for this array.
}
public:
/// Error class for failed index bounds checks.
class IndexOutOfBoundsError: Error{
this(Throwable next = null, size_t line = __LINE__, string file = __FILE__){
this("Index out of bounds.");
}
this(string message, Throwable next = null, size_t line = __LINE__, string file = __FILE__){
super(message, file, line, next);
}
/// High-exclusive bounds check.
/// If the condition (low <= value < high) is not satisfied, throw this error.
/// Returns the value being bounds-checked.
auto enforce(V, L, H)(in V value, in L low, in H high) const if(
isNumeric!V && isNumeric!L && isNumeric!H
){
if(value < low || value >= high) throw this;
return value;
}
/// High-inclusive bounds check.
/// If the condition (low <= value <= high) is not satisfied, throw this error.
/// Returns the value being bounds-checked.
auto enforcei(V, L, H)(in V value, in L low, in H high) const if(
isNumeric!V && isNumeric!L && isNumeric!H
){
if(value < low || value > high) throw this;
return value;
}
/// High-exclusive bounds check.
/// Low is 0 and high is the length of the passed object.
/// Returns the value being bounds-checked.
auto enforce(V, Obj)(in V value, auto ref Obj object) const if(
isNumeric!V && hasNumericLength!Obj
){
return this.enforce(value, 0, object.length);
}
/// High-inclusive bounds check.
/// Low is 0 and high is the length of the passed object.
/// Returns the value being bounds-checked.
auto enforcei(V, Obj)(in V value, auto ref Obj object) const if(
isNumeric!V && hasNumericLength!Obj
){
return this.enforcei(value, 0, object.length);
}
}
/// Error class for failed slice bounds checks.
class InvalidSliceBoundsError: IndexOutOfBoundsError{
this(Throwable next = null, size_t line = __LINE__, string file = __FILE__){
this("Invalid slice.");
}
this(string message, Throwable next = null, size_t line = __LINE__, string file = __FILE__){
super(message, next, line, file);
}
/// Check that the slice represented by `slow .. shigh` is entirely
/// contained within the slice `ilow .. ihigh` and throw this error if not.
auto enforce(SliceLow, SliceHigh, InLow, InHigh)(
in SliceLow slow, in SliceHigh shigh, in InLow ilow, in InHigh ihigh
) const if(
isNumeric!SliceLow && isNumeric!SliceHigh &&
isNumeric!InLow && isNumeric!InHigh
){
if(slow < ilow || shigh < slow || ihigh < shigh) throw this;
}
/// Check that the slice represented by `slow .. shigh` is entirely
/// contained within the slice `0 .. obj.length` and throw this error if not.
auto enforce(SliceLow, SliceHigh, InObj)(
in SliceLow slow, in SliceHigh shigh, auto ref InObj obj
) const if(
isNumeric!SliceLow && isNumeric!SliceHigh && hasNumericLength!InObj
){
return this.enforce(slow, shigh, 0, obj.length);
}
}
/// TODO: Remove this
auto enforcebounds(A...)(A args){
static const error = new IndexOutOfBoundsError();
error.enforce(args);
}
/// ditto
auto enforceboundsincl(A...)(A args){
static const error = new IndexOutOfBoundsError();
error.enforcei(args);
}
version(unittest){
private:
import mach.test;
}
unittest{
tests("Index bounds", {
tests("High-exclusive", {
static const error = new IndexOutOfBoundsError();
testeq(error.enforce(0, -1, 1), 0);
testeq(error.enforce(1, [0, 1, 2]), 1);
testfail((Throwable e) => (e is error), {
error.enforce(1, 0, 1);
});
testfail((Throwable e) => (e is error), {
error.enforce(10, [0, 1]);
});
});
tests("High-inclusive", {
static const error = new IndexOutOfBoundsError();
testeq(error.enforcei(0, -1, 1), 0);
testeq(error.enforcei(1, 0, 1), 1);
testeq(error.enforcei(1, [0, 1, 2]), 1);
testfail((Throwable e) => (e is error), {
error.enforcei(10, 0, 1);
});
testfail((Throwable e) => (e is error), {
error.enforcei(10, [0, 1]);
});
});
});
tests("Slice validity", {
static const error = new InvalidSliceBoundsError();
error.enforce(0, 0, 0, 0);
error.enforce(1, 2, 0, 10);
testfail((Throwable e) => (e is error), {
error.enforce(0, 2, 0, 1);
});
});
}
| D |
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/synom-abf790d0f9339f6d.rmeta: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/space.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/helper.rs
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/libsynom-abf790d0f9339f6d.rlib: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/space.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/helper.rs
/Users/oyo02699/apps/easycrm/easycrm-api/target/debug/deps/synom-abf790d0f9339f6d.d: /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/lib.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/space.rs /Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/helper.rs
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/lib.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/space.rs:
/Users/oyo02699/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/synom-0.11.3/src/helper.rs:
| D |
# FIXED
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/src/evmomapl138_aic3106.c
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdio.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/_ti_config.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/linkage.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdarg.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/_types.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/cdefs.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/machine/_types.h
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdint.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/_stdint40.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/stdint.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/machine/_stdint.h
evmomapl138_aic3106.obj: C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/_stdint.h
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_sysconfig.h
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_psc.h
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_pll.h
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_i2c.h
evmomapl138_aic3106.obj: C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_aic3106.h
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/src/evmomapl138_aic3106.c:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdio.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/_ti_config.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/linkage.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdarg.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/_types.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/cdefs.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/machine/_types.h:
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/stdint.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/_stdint40.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/stdint.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/machine/_stdint.h:
C:/CCStudio8/ccsv8/tools/compiler/ti-cgt-c6000_8.3.3/include/sys/_stdint.h:
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_sysconfig.h:
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_psc.h:
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_pll.h:
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_i2c.h:
C:/dan/omapL138/SE423_Sp19/LabRepo/LabFiles/bsl_forSYSBIOS/inc/evmomapl138_aic3106.h:
| D |
module gccbuild.build.gcc;
import scriptlike, gccbuild;
void buildStage1GCC()
{
auto comp = build.gcc;
if (!comp.stage1BuildCommand.matchesBuildType)
return;
startSection("Building stage 1 gcc");
auto saveCWD = comp.prepareBuildDir();
auto oldPath = updatePathVar(binDirStage1);
runBuildCommands(comp.stage1BuildCommand.commands, ["CONFIGURE" : comp.configureFile.toString()]);
restorePathVar(oldPath);
if (!keepBuildFiles)
rmdirRecurse(comp.buildFolder);
endSection();
}
void detectMultilib()
{
auto oldPath = updatePathVar(binDirStage1);
detectMultilib(build.target ~ "-gcc");
restorePathVar(oldPath);
}
void detectMultilib(string compiler, string msg = "Detecting available multilibs")
{
startSection(msg);
auto output = runCollectLog(compiler ~ " --print-multi-lib");
foreach (line; output.lineSplitter)
{
MultilibEntry entry;
auto parts = line.findSplit(";");
failEnforcec(cast(bool) parts, "Invalid format returned from --print-multi-lib",
line);
entry.gccFolder = parts[0];
entry.args = parts[2].splitter("@").filter!(a => !a.empty).map!(a => "-" ~ a).join(" ");
auto output2 = runCollectLog(compiler ~ " --print-multi-os-dir " ~ entry.args);
entry.osFolder = output2.strip();
build.multilibs ~= entry;
}
if (build.multilibs.length == 1 && build.multilibs[0].isDefaultLib)
writeBulletPoint("No multilib support detected");
else
{
foreach (lib; build.multilibs)
{
writeBulletPoint(
"args='" ~ lib.args ~ "' osDir='" ~ lib.osFolder ~ "' gccDir='" ~ lib.gccFolder
~ "'");
}
}
endSection();
}
void buildFinalGCC()
{
auto comp = build.gcc;
if (!comp.mainBuildCommand.matchesBuildType)
return;
startSection("Building final gcc");
auto saveCWD = comp.prepareBuildDir();
// Native builds need the newly build binutils in PATH
string oldPath;
if (build.type == ToolchainType.native || build.type == ToolchainType.cross)
oldPath = updatePathVar(binDir);
runBuildCommands(comp.mainBuildCommand.commands, ["CONFIGURE" : comp.configureFile.toString()]);
if (build.type == ToolchainType.native || build.type == ToolchainType.cross)
restorePathVar(oldPath);
if (!keepBuildFiles)
rmdirRecurse(comp.buildFolder);
endSection();
}
| D |
import std.stdio;
void main()
{
int studentCount;
writeln("How many students are in the class: ");
readf(" %s", &studentCount);//must include a space character before the %s to ignore whitespace
writeln("How many teachers are there: ");
int teacherCount;
readf(" s%", &teacherCount);//must include the & to point to the address to store the input
writeln("So, there are ", studentCount, " students in the class!");
} | D |
module android.java.android.location.LocationListener_d_interface;
import arsd.jni : IJavaObjectImplementation, JavaPackageId, JavaName, IJavaObject, ImportExportImpl, JavaInterfaceMembers;
static import arsd.jni;
import import0 = android.java.android.location.Location_d_interface;
import import2 = android.java.java.lang.Class_d_interface;
import import1 = android.java.android.os.Bundle_d_interface;
final class LocationListener : IJavaObject {
static immutable string[] _d_canCastTo = [
];
@Import void onLocationChanged(import0.Location);
@Import void onStatusChanged(string, int, import1.Bundle);
@Import void onProviderEnabled(string);
@Import void onProviderDisabled(string);
@Import import2.Class getClass();
@Import int hashCode();
@Import bool equals(IJavaObject);
@Import @JavaName("toString") string toString_();
override string toString() { return arsd.jni.javaObjectToString(this); }
@Import void notify();
@Import void notifyAll();
@Import void wait(long);
@Import void wait(long, int);
@Import void wait();
mixin IJavaObjectImplementation!(false);
public static immutable string _javaParameterString = "Landroid/location/LocationListener;";
}
| D |
/Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Intermediates.noindex/SwipeCellSUI_Example.build/Debug-iphonesimulator/SwipeCellSUI_Example.build/Objects-normal/x86_64/SwipeCellSUI_ExampleApp.o : /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/SwipeCellSUI_ExampleApp.swift /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Products/Debug-iphonesimulator/SwipeCellSUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Intermediates.noindex/SwipeCellSUI_Example.build/Debug-iphonesimulator/SwipeCellSUI_Example.build/Objects-normal/x86_64/SwipeCellSUI_ExampleApp~partial.swiftmodule : /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/SwipeCellSUI_ExampleApp.swift /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Products/Debug-iphonesimulator/SwipeCellSUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Intermediates.noindex/SwipeCellSUI_Example.build/Debug-iphonesimulator/SwipeCellSUI_Example.build/Objects-normal/x86_64/SwipeCellSUI_ExampleApp~partial.swiftdoc : /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/SwipeCellSUI_ExampleApp.swift /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Products/Debug-iphonesimulator/SwipeCellSUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Intermediates.noindex/SwipeCellSUI_Example.build/Debug-iphonesimulator/SwipeCellSUI_Example.build/Objects-normal/x86_64/SwipeCellSUI_ExampleApp~partial.swiftsourceinfo : /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/SwipeCellSUI_ExampleApp.swift /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/SwipeCellSUI_Example/ContentView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/Dominik/Documents/Programmieren/Libraries/SwipeCellSUI_Example/Build/Products/Debug-iphonesimulator/SwipeCellSUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftUI.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreData.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreLocation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/os.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UniformTypeIdentifiers.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CloudKit.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/DeveloperToolsSupport.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/dyld.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/mach-o/compact_unwind_encoding.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreData.framework/Headers/CoreData.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/os.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UniformTypeIdentifiers.framework/Headers/UniformTypeIdentifiers.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CloudKit.framework/Headers/CloudKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/Aren/Downloads/Places/DerivedData/Places/Build/Intermediates.noindex/Places.build/Debug-iphonesimulator/Places.build/Objects-normal/x86_64/ViewController.o : /Users/Aren/Downloads/Places/Places/Place.swift /Users/Aren/Downloads/Places/Places/AppDelegate.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARConfiguration.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARAnnotation.swift /Users/Aren/Downloads/Places/Places/PlaceAnnotation.swift /Users/Aren/Downloads/Places/Places/PlacesLoader.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARTrackingManager.swift /Users/Aren/Downloads/Places/Places/ViewController.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARViewController.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/Debug/DebugMapViewController.swift /Users/Aren/Downloads/Places/Places/RestaurantViewController.swift /Users/Aren/Downloads/Places/Places/AnnotationView.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARAnnotationView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Aren/Downloads/Places/DerivedData/Places/Build/Intermediates.noindex/Places.build/Debug-iphonesimulator/Places.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/Aren/Downloads/Places/Places/Place.swift /Users/Aren/Downloads/Places/Places/AppDelegate.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARConfiguration.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARAnnotation.swift /Users/Aren/Downloads/Places/Places/PlaceAnnotation.swift /Users/Aren/Downloads/Places/Places/PlacesLoader.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARTrackingManager.swift /Users/Aren/Downloads/Places/Places/ViewController.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARViewController.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/Debug/DebugMapViewController.swift /Users/Aren/Downloads/Places/Places/RestaurantViewController.swift /Users/Aren/Downloads/Places/Places/AnnotationView.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARAnnotationView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Aren/Downloads/Places/DerivedData/Places/Build/Intermediates.noindex/Places.build/Debug-iphonesimulator/Places.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/Aren/Downloads/Places/Places/Place.swift /Users/Aren/Downloads/Places/Places/AppDelegate.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARConfiguration.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARAnnotation.swift /Users/Aren/Downloads/Places/Places/PlaceAnnotation.swift /Users/Aren/Downloads/Places/Places/PlacesLoader.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARTrackingManager.swift /Users/Aren/Downloads/Places/Places/ViewController.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARViewController.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/Debug/DebugMapViewController.swift /Users/Aren/Downloads/Places/Places/RestaurantViewController.swift /Users/Aren/Downloads/Places/Places/AnnotationView.swift /Users/Aren/Downloads/Places/Places/HDAugmentedReality/Classes/ARAnnotationView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreMedia.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/simd.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/AVFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreAudio.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/MapKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CoreLocation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
| D |
/Users/Syd/Documents/Git/RemotePlug/build/RemotePlug.build/Debug-iphoneos/RemotePlug.build/Objects-normal/arm64/MainListViewController.o : /Users/Syd/Documents/Git/RemotePlug/RemotePlug/AddNewController.swift /Users/Syd/Documents/Git/RemotePlug/MainListViewCellController.swift /Users/Syd/Documents/Git/RemotePlug/RemotePlug/AppDelegate.swift /Users/Syd/Documents/Git/RemotePlug/MainListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule
/Users/Syd/Documents/Git/RemotePlug/build/RemotePlug.build/Debug-iphoneos/RemotePlug.build/Objects-normal/arm64/MainListViewController~partial.swiftmodule : /Users/Syd/Documents/Git/RemotePlug/RemotePlug/AddNewController.swift /Users/Syd/Documents/Git/RemotePlug/MainListViewCellController.swift /Users/Syd/Documents/Git/RemotePlug/RemotePlug/AppDelegate.swift /Users/Syd/Documents/Git/RemotePlug/MainListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule
/Users/Syd/Documents/Git/RemotePlug/build/RemotePlug.build/Debug-iphoneos/RemotePlug.build/Objects-normal/arm64/MainListViewController~partial.swiftdoc : /Users/Syd/Documents/Git/RemotePlug/RemotePlug/AddNewController.swift /Users/Syd/Documents/Git/RemotePlug/MainListViewCellController.swift /Users/Syd/Documents/Git/RemotePlug/RemotePlug/AppDelegate.swift /Users/Syd/Documents/Git/RemotePlug/MainListViewController.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule
| D |
// URL: https://atcoder.jp/contests/abc124/tasks/abc124_c
import std.algorithm, std.container, std.conv, std.math, std.range, std.typecons, std.stdio, std.string;
auto rdsp(){return readln.splitter;}
void pick(R,T)(ref R r,ref T t){t=r.front.to!T;r.popFront;}
void pickV(R,T...)(ref R r,ref T t){foreach(ref v;t)pick(r,v);}
void readV(T...)(ref T t){auto r=rdsp;foreach(ref v;t)pick(r,v);}
void readA(T)(size_t n,ref T[]t){t=new T[](n);auto r=rdsp;foreach(ref v;t)pick(r,v);}
void readM(T)(size_t r,size_t c,ref T[][]t){t=new T[][](r);foreach(ref v;t)readA(c,v);}
void readC(T...)(size_t n,ref T t){foreach(ref v;t)v=new typeof(v)(n);foreach(i;0..n){auto r=rdsp;foreach(ref v;t)pick(r,v[i]);}}
void readS(T)(size_t n,ref T t){t=new T(n);foreach(ref v;t){auto r=rdsp;foreach(ref j;v.tupleof)pick(r,j);}}
void writeA(T)(size_t n,T t){foreach(i,v;t.enumerate){write(v);if(i<n-1)write(" ");}writeln;}
version(unittest) {} else
void main()
{
string s; readV(s);
auto c1 = s.length.iota.count!(i => s[i] != (i%2 ? '0' : '1'));
auto c2 = s.length.iota.count!(i => s[i] != (i%2 ? '1' : '0'));
writeln(min(c1, c2));
}
| D |
import std.stdio;
import std.process;
import std.datetime;
import core.thread;
import std.conv;
void main() {
auto frames = [
[" 0 ",
"0 0",
"0 0",
"0 0",
" 0 "],
[" 1 ",
"11 ",
" 1 ",
" 1 ",
"111"],
["222",
" 2",
" 2 ",
"2 ",
"222"],
["333",
" 3",
" 33",
" 3",
"333"],
["4 4",
"4 4",
"444",
" 4",
" 4"],
["555",
"5 ",
"55 ",
" 5",
"55 "],
[" 66",
"6 ",
"66 ",
"6 6",
"66 "],
["777",
" 7",
" 7",
" 7 ",
" 7 "],
["888",
"8 8",
" 8 ",
"8 8",
"888"],
[" 99",
"9 9",
" 99",
" 9",
" 9"],
[" 0 ",
"0 0",
"0 0",
"0 0",
" 0 "]
];
version(all) {
foreach(block; frames) {
foreach(layer; block)
writeln(layer);
Thread.sleep(dur!"msecs"(200));
system("clear");
}
foreach_reverse(block; frames) {
foreach(layer; block)
writeln(layer);
Thread.sleep(dur!"msecs"(200));
system("clear");
//executeShell("clear"); // not do the thing
}
}
// Not work
version(none) {
auto num = "1979";
foreach(l; 0..5) {
writeln(frames[l][ num[0].to!int() ], ' '
, frames[l][ num[1].to!int() ], ' '
, frames[l][ num[2].to!int() ], ' '
, frames[l][ num[3].to!int() ], ' ');
}
} // version
}
| D |
import std.stdio;
void main(char[][] args)
{
writefln("Hello World, Reloaded");
// auto type inference and built-in foreach
foreach (argc, argv; args)
{
// Object Oriented Programming
CmdLin cl = new CmdLin(argc, argv);
// Improved typesafe printf
writefln(cl.argnum, cl.suffix, " arg: %s", cl.argv);
// Automatic or explicit memory management
delete cl;
}
// Nested structs and classes
struct specs
{
// all members automatically initialized
int count, allocated;
}
// Nested functions can refer to outer
// variables like args
specs argspecs()
{
specs* s = new specs;
// no need for '->'
s.count = args.length; // get length of array with .length
s.allocated = typeof(args).sizeof; // built-in native type properties
foreach (argv; args)
s.allocated += argv.length * typeof(argv[0]).sizeof;
return *s;
}
// built-in string and common string operations
writefln("argc = %d, " ~ "allocated = %d",
argspecs().count, argspecs().allocated);
}
class CmdLin
{
private int _argc;
private char[] _argv;
public:
this(int argc, char[] argv) // constructor
{
_argc = argc;
_argv = argv;
}
int argnum()
{
return _argc + 1;
}
char[] argv()
{
return _argv;
}
char[] suffix()
{
char[] suffix = "th";
switch (_argc)
{
case 0:
suffix = "st";
break;
case 1:
suffix = "nd";
break;
case 2:
suffix = "rd";
break;
default:
break;
}
return suffix;
}
}
class Test
{
static this()
{
}
}
void func1(int x)
{ int x; // illegal, x shadows parameter x
int y;
{ int y; } // illegal, y shadows enclosing scope's y
void delegate() dg;
dg = { int y; }; // ok, this y is not in the same function
struct S
{
int y; // ok, this y is a member, not a local
}
{ int z; }
{ int z; } // ok, this z is not shadowing the other z
{ int t; }
{ t++; } // illegal, t is undefined
}
char[] a;
foreach (int i, char c; a)
{
printf("a[%d] = '%c'\n", i, c);
}
char[] a = "\xE2\x89\xA0"; // \u2260 encoded as 3 UTF-8 bytes
foreach (dchar c; a)
{
printf("a[] = %x\n", c); // prints 'a[] = 2260'
}
dchar[] b = "\u2260";
foreach (char c; b)
{
printf("%x, ", c); // prints 'e2, 89, a0'
}
int[] arr = [1, 2, 3];
writefln("%(%d, %)", arr); // prints '1, 2, 3'
int gethardware()
{
asm // a comment
{
mov EAX, dword ptr 0x1234;
}
asm { push 3; }
}
switch(x)
{
case 'a':
goto case 'b';
goto default;
goto y;
}
// *** DDoc (D documentation) ***
/**
* Square root function.
*
* Params:
* x = The number to calculate the square root of.
*
* Returns: The square root of x.
*
* Throws:
* $(D MathException) if x is negative.
*
* Example:
* ---
* assert(sqrt(16) == 4);
* ---
*/
real sqrt(real x);
float sqrt(float x); /// ditto
double sqrt(double x); /++ ditto +/
/++
$(LI $(D filename) must not contain any of the following reserved
characters: <>:"/\|?*)
$(LI $(D filename) must not contain any of the following $(I reserved
characters): <>:"/\|?*)
+/
/++
+ $(LI $(D filename) must not contain any of the following reserved
+ characters: <>:"/\|?*)
+ $(LI $(D filename) must not contain any of the following $(I reserved
+ characters): <>:"/\|?*)
+ Example:
+ -----
+ struct S // A comment
+ {
+ int x;
+ enum y = max(
+ 1,
+ 2,
+ 3);
+ }
+ -----
+/
/// Highlight this: $(D n == sqrt(n)*sqrt(n))
/// $(D $(LREF takeOne))
// Bug/TODO highlighting:
/// $(LI $(BUGZILLA 8022): BigInt division bug (2))
/// Unmatched paranthesis: )
/// Broken nesting: $(D [)
/// Backslashes: $(D \dmd2\windows\bin\dmd.exe)
/// Template: $(D SortedRange!(RangeIndex, (a, b) => binaryFun!less(*a, *b)))
/// Nesting: $(D if ((())))
/// Nesting 2: $(D void multiSort(Range)(Range r) if (validPredicates!(ElementType!Range, less));)
/// Strings: $(D multiSort!("a.id < b.id", "a.date > b.date")(r))
/// Octal: $(D 0755)
/// (example: x = sin(0.1); )
/// Example:
/// ----
/// void $(B invariant())
/// {
/// const tokenStrings =
/// [
/// q{ foreach (i; 1..10) { writeln("C:\\Hello"); } },
/// ...
/// ----
// *** string escapes ***
const bell = "\007"; // octal escape
const badEscape = "\z"; // unrecognized escapes should be errors
// *** D2 string literals ***
const quotes = "C:\\Hello"c;
const backquotes = `C:\Hello`w;
const wysiwyg = r"C:\Hello"d;
const hex = x"48 65 6c 6C 6F";
const hexError = x"wrong";
const heredoc = q"EOF
C:\Hello
not end of string: "
also not end of string: EOF";
actual end of string:
EOF"; // "
const matching1 = q"( [{<" "(a)" )"; // "
const matching2 = q"[ ({<" "[a]" ]"; // "
const matching3 = q"{ ([<" "{a}" }"; // "
const matching4 = q"< ([{" "<a>" >"; // "
const tokenString = q{ foreach (i; 1..10) { writeln("C:\\Hello"); } };
// *** standard library types ***
string str;
wstring wstr;
dstring dstr;
size_t size;
hash_t hash;
Object obj;
// *** additional keywords ***
immutable typeof(this) thisType;
__gshared pure nothrow shared immutable @property @safe @trusted @system @disable x; // attributes
__gshared: pure: nothrow: shared: immutable: @property: @safe: @trusted: @system: @disable: // attribute sections
try {} catch {}
void takesByReference(ref int x);
enum b = __traits(isAbstractClass, T);
static assert(__traits(compiles, interval.span(iPosInfInterval)));
// *** decl ***
pragma(msg, "Hello");
pragma(msg, typeof(std.algorithm.map!q{a+1}([0,1,2])).stringof);
pragma(startaddress, 0x123456);
scope (exit) {}
// *** enum ***
enum x = 5; // {} // manifest constants // {}
enum int ZERO = 0; // typed manifest constants
// *** outliner ***
enum spacious = { bar }; // outliner shouldn't contain spaces // yes
void httpRequest(HttpRequest request, void delegate(Data) resultHandler, void delegate(string) errorHandler) // yes
fn(foo); // no
debug fn(foo) // no
.writeln(); // no
void fn(int i) // yes
{}
struct S(T) // yes
{
this(void delegate(string[] lines) handler) // yes
{}
}
string escapeShellCommand(in char[][] args...) // yes
{}
// *** D2 operator overloading ***
struct Overloaded
{
bool opDispatch();
bool opUnary();
bool opBinary();
bool opBinaryRight();
// ...
}
// *** : ***
static assert(is(int : long));
// *** numeric literals ***
int a = 123456;
int a = 1_2_3_4_5_6_;
int au = 1u;
int aU = 1U;
int aL = 1L;
int al = 1l; // error
int al = 1LL; // error
const bytemax = 0xFF; // last F is part of number, not float suffix
auto ulongmax = 18_446_744_073_709_551_615UL;
const sqrt_minus_1 = 1i;
const imaginaryHexFloat = 0x04p+1i;
const NULL = null;
auto b = 60.0;
auto b = 60f;
auto b = 60F;
auto b = 60.0L;
auto b = 60.0F;
auto b = 60. seconds(); // Don't color the .
auto b = 60.f; // UFCS, not float
auto b = 60.i; // UFCS, not imaginary
auto zero = 0;
auto octal = 0755; // error, octal literals are deprecated in D2
auto agent = 007; // allowed, 7 is the same in decimal and octal
real n = frexp(0x1p-16384L, x);
enum real PI = 0x1.921fb54442d18469898cc51701b84p+1L; /** $(_PI) = 3.141592... */
int y2i;
// *** declarations ***
class C;
class D:E;
struct foo;
union bar;
// *** standard properties ***
x = T.init;
arr.sort; // built-in
arr.sort(); // std.algorithm
arr.sort!(); // std.algorithm
struct S { int sort; }
S s; s.sort = 5; // custom type false-positive
{foo!(bar).init}
// *** templates and casts ***
interface I(T) { T getValue(); }
T enforce(T)(T condition, lazy string message = "Precondition failed") { ... }
T op(T, string OP = "+")(T a, T b) { return mixin("a" ~ OP ~ "b"); }
void foo(int A = 2 + 2, X...)(int b = 2 + 2) {}
void getopt(T...)(ref string[] args, T opts) {}
auto addr = cast(const(sockaddr)*) &sin;
auto a = cast(std.traits.Signed!T) b;
auto a = cast(typeof({return 5;})) b;
// *** # ***
int #line 6 "foo\bar"
x; // this is now line 6 of file foo\bar
#unknown // error
// *** TODO ***
auto EB_FE = { x : goto x; }; // delegate literals with labels (ambiguous with struct literals)
//SomeStruct s = { x : 0 }; // struct literals (ambiguous with delegate literals)
| D |
/Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphoneos/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/arm64/UIColor+AppColors.o : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIImageView+Cache.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/ErrorResponse.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/AppDelegate.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/CharacterDetailViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/CharacterImageCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/ChararcterCellViewModels/CharacterTableCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/ChararcterDetailCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterImageTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterDetailTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/Cells/CharacterTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/DefaultCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterImageViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/DiscardableImageCacheItem.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Origin.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Location.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UITextField+ClearButton.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Info.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManager.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/СharacterDetailController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/HudHelper.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Character.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManagerError.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListCoordinator.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/RequestFeeds.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIColor+AppColors.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/NetworkRequests.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/ReachabilityConnect.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Result.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/Constant.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkEndpoint.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/Alert.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharacterImageView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphoneos/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/arm64/UIColor+AppColors~partial.swiftmodule : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIImageView+Cache.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/ErrorResponse.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/AppDelegate.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/CharacterDetailViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/CharacterImageCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/ChararcterCellViewModels/CharacterTableCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/ChararcterDetailCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterImageTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterDetailTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/Cells/CharacterTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/DefaultCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterImageViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/DiscardableImageCacheItem.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Origin.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Location.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UITextField+ClearButton.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Info.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManager.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/СharacterDetailController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/HudHelper.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Character.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManagerError.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListCoordinator.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/RequestFeeds.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIColor+AppColors.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/NetworkRequests.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/ReachabilityConnect.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Result.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/Constant.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkEndpoint.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/Alert.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharacterImageView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/build/TestProjectForSibersCompanyByKurilovP.build/Debug-iphoneos/TestProjectForSibersCompanyByKurilovP.build/Objects-normal/arm64/UIColor+AppColors~partial.swiftdoc : /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIImageView+Cache.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/ErrorResponse.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/AppDelegate.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/CharacterDetailViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/CharacterImageCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/ChararcterCellViewModels/CharacterTableCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/ChararcterDetailCellViewModels/ChararcterDetailCellViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListViewModel.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterImageTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/Cells/CharacterDetailTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/Cells/CharacterTableCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/DefaultCell.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterImageViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharacterDetailTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListTableCellViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Protocols/CharactersListViewModelProtocol.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/DiscardableImageCacheItem.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Origin.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Location.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UITextField+ClearButton.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Info.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManager.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharactersImageController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterDetailScreen/СharacterDetailController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListController.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/HudHelper.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Models/Character.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkManagerError.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharactersListScreen/CharactersListCoordinator.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/RequestFeeds.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Extensions/UIColor+AppColors.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Requests/NetworkRequests.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/ReachabilityConnect.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/Result.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Helper/Constant.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Service/NetworkEndpoint.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Base/Alert.swift /Users/pavelkurilov/Library/Mobile\ Documents/com~apple~CloudDocs/TestProjectForSibersCompanyByKurilovP/TestProjectForSibersCompanyByKurilovP/Screens/CharacterImageScreen/CharacterImageView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphoneos/arm64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
INSTANCE Info_Mod_Scatty_Hi (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_Hi_Condition;
information = Info_Mod_Scatty_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Scatty_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Scatty_Hi_Info()
{
AI_Output(self, hero, "Info_Mod_Scatty_Hi_01_00"); //Du bist doch der Kerl, der damals fast unser Ende besiegelt hätte!
Log_CreateTopic (TOPIC_MOD_ALTESLAGER, LOG_NOTE);
B_LogEntry (TOPIC_MOD_ALTESLAGER, "Am Eingang des alten Lagers wurde ich von meinem alten Freund Scatty begrüßt. Anscheinend gibt es das alte Lager immer noch.");
B_StartOtherRoutine (self, "START");
Info_ClearChoices (Info_Mod_Scatty_Hi);
Info_AddChoice (Info_Mod_Scatty_Hi, "Reg dich ab, ihr habt doch überlebt, oder?", Info_Mod_Scatty_Hi_C);
Info_AddChoice (Info_Mod_Scatty_Hi, "Wenn du ein Problem hast, dann komm doch her.", Info_Mod_Scatty_Hi_B);
Info_AddChoice (Info_Mod_Scatty_Hi, "Es war nötig, außer ihr hattet vor alle zu sterben.", Info_Mod_Scatty_Hi_A);
};
FUNC VOID Info_Mod_Scatty_Hi_A()
{
AI_Output(hero, self, "Info_Mod_Scatty_Hi_A_15_00"); //Es war nötig, außer ihr hattet vor alle zu sterben.
AI_Output(self, hero, "Info_Mod_Scatty_Hi_A_01_01"); //Dann erklär mir doch mal, was nötig war.
AI_Output(hero, self, "Info_Mod_Scatty_Hi_A_15_02"); //Wenn ich nicht gewesen wäre, dann wäre der Schläfer erwacht und dann würden wir uns hier nicht mehr unterhalten.
AI_Output(self, hero, "Info_Mod_Scatty_Hi_A_01_03"); //Ja, die Sektenspinner haben etwas in der Richtung erzählt, aber die erzählen viel, wenn es viel Sumpfkraut gibt.
AI_Output(self, hero, "Info_Mod_Scatty_Hi_A_01_04"); //Jemanden, der so einen Kampf überstanden hat, können wir gut brauchen.
Scatty_Start_DIA = 1;
Info_ClearChoices (Info_Mod_Scatty_Hi);
};
FUNC VOID Info_Mod_Scatty_Hi_B()
{
AI_Output(hero, self, "Info_Mod_Scatty_Hi_B_15_00"); //Wenn du ein Problem hast, dann komm doch her.
AI_Output(self, hero, "Info_Mod_Scatty_Hi_B_01_01"); //Das lasse ich mir nicht zweimal sagen, komm her, Arschloch.
Scatty_Start_DIA = 2;
Info_ClearChoices (Info_Mod_Scatty_Hi);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_NONE, 0);
};
FUNC VOID Info_Mod_Scatty_Hi_C()
{
AI_Output(hero, self, "Info_Mod_Scatty_Hi_C_15_00"); //Reg dich ab, ihr habt doch überlebt, oder?
AI_Output(self, hero, "Info_Mod_Scatty_Hi_C_01_01"); //Soll das ein Witz sein? Sieh dir das Lager doch mal an, dann wirst du schon sehen, wie es uns ergangen ist.
AI_Output(hero, self, "Info_Mod_Scatty_Hi_C_15_02"); //Muss ich erwähnen, dass ihr es nicht anders verdient habt?
AI_Output(self, hero, "Info_Mod_Scatty_Hi_C_01_03"); //Ja, ich weiß. Aber das alte Lager ist das einzige, was wir noch haben. Auch wenn es viele Arschlöcher gibt, aber wir können nur damit leben.
Scatty_Start_DIA = 3;
Info_ClearChoices (Info_Mod_Scatty_Hi);
};
INSTANCE Info_Mod_Scatty_Umgehauen (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_Umgehauen_Condition;
information = Info_Mod_Scatty_Umgehauen_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Scatty_Umgehauen_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Scatty_Hi))
&& (Scatty_Start_DIA == 2)
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_Umgehauen_Info()
{
if (self.aivar[AIV_LastPlayerAR] == AR_NONE) //Kampf aus Dialog heraus.
{
if (B_GetAivar(self, AIV_LastFightAgainstPlayer) == FIGHT_LOST)
{
AI_Output(self, hero, "Info_Mod_Scatty_Umgehauen_01_00"); //Oh, mein armer Schädel.
AI_Output(hero, self, "Info_Mod_Scatty_Umgehauen_15_01"); //Na, ich denke du weißt, dass man sich keine Probleme mit mir einhandelt.
AI_Output(self, hero, "Info_Mod_Scatty_Umgehauen_01_02"); //Verdammt, du bist anscheinend immer noch ein guter Kämpfer. Jemanden wie dich können wir brauchen.
Scatty_Start_DIA = 4;
}
else if (B_GetAivar(self, AIV_LastFightAgainstPlayer) == FIGHT_WON)
{
AI_Output(self, hero, "Info_Mod_Scatty_Umgehauen_01_03"); //Bist wohl doch nur ein Großmaul.
AI_Output(hero, self, "Info_Mod_Scatty_Umgehauen_01_04"); //Vielleicht kannst du uns trotzdem helfen.
};
// ------ In jedem Fall: Arena-Kampf abgeschlossen ------
self.aivar[AIV_ArenaFight] = AF_NONE;
// ------ AIVAR resetten! ------
self.aivar[AIV_LastFightComment] = TRUE;
};
};
INSTANCE Info_Mod_Scatty_Hilfe (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_Hilfe_Condition;
information = Info_Mod_Scatty_Hilfe_Info;
permanent = 0;
important = 0;
description = "Warum sollte ich euch helfen?";
};
FUNC INT Info_Mod_Scatty_Hilfe_Condition()
{
if ((Scatty_Start_DIA == 3)
|| (Scatty_Start_DIA == 1)
|| (Scatty_Start_DIA == 4))
&& (Mod_Gilde > 0)
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_Hilfe_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_15_00"); //Warum sollte ich euch helfen?
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_01_01"); //Wir haben ein Problem und du warst einmal bei uns. Und du hast sicher nicht vergessen, dass wir zusammenhalten.
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_15_02"); //Habt ihr vielleicht mir geholfen? Haben wir etwa zusammengehalten, als ihr mich alle umbringen wolltet?
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_01_03"); //Wir dachten, du hast uns verraten. Wenn du mit dem neuen Lager paktierst, bist du für uns ein Verräter.
B_StartOtherRoutine (self, "START");
B_LogEntry (TOPIC_MOD_ALTESLAGER, "Anscheinend sind sie immer noch so gut drauf wie beim letzten Mal, das kann ja lustig werden. Aber diesmal haben sie die Probleme. Und sie kommen mit dem 'Du warst mal einer von uns' Spruch. Ob es wohl klug wäre, ihnen zu helfen?");
Info_ClearChoices (Info_Mod_Scatty_Hilfe);
Info_AddChoice (Info_Mod_Scatty_Hilfe, "Steckt euch eure Probleme sonst wo hin, ihr dreckigen Verräter!", Info_Mod_Scatty_Hilfe_B);
if (Mod_AnzahlNebengilden < MaxNebengilden)
{
Info_AddChoice (Info_Mod_Scatty_Hilfe, "Was soll ich für euch tun?", Info_Mod_Scatty_Hilfe_A);
};
};
FUNC VOID Info_Mod_Scatty_Hilfe_A()
{
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_A_15_00"); //Was soll ich für euch tun?
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_A_01_01"); //Nun, wir existieren hauptsächlich durch die Arenakämpfe. Nun, leider gewinnen immer weniger Kämpfer für unser Lager, also nehmen wir nichts mehr ein.
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_A_15_02"); //Und welche Rolle spiele ich dabei?
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_A_01_03"); //Nun, du könntest für das alte Lager in der Arena kämpfen. Und sonstige Sachen bezüglich der Arena regeln.
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_A_15_04"); //Verstehe, wo soll ich mich anmelden?
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_A_01_05"); //Für alles, was mit der Verwaltung des Lagers zusammenhängt, ist der Erzbaron Bartholo zuständig.
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_A_15_06"); //(ironisch) Die Erzbarone werden sich sicher freuen, mich wieder zu sehen.
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_A_01_07"); //Ich glaube kaum, dass sie dich töten werden, ohne dich anzuhören. Schließlich sind sie in einer Lage, in der sie über jeden froh sein können.
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_A_15_08"); //Sehr beruhigend.
B_LogEntry (TOPIC_MOD_ALTESLAGER, "Ich habe mich also entschlossen, ihnen zu helfen. Ich soll für sie in der Arena kämpfen und andere Sachen 'regeln', da kann ich ja gespannt sein. Ich hoffe, das werde ich nicht bereuen. Scatty meinte, ich soll mit Bartholo reden. Der wird sich freuen mich wiederzusehen.");
Scatty_Start_DIA = 5;
Info_ClearChoices (Info_Mod_Scatty_Hilfe);
};
FUNC VOID Info_Mod_Scatty_Hilfe_B()
{
AI_Output(hero, self, "Info_Mod_Scatty_Hilfe_B_15_00"); //Steckt euch eure Probleme sonst wo hin, ihr dreckigen Verräter!
AI_Output(self, hero, "Info_Mod_Scatty_Hilfe_B_01_01"); //Gut, dann verschwinde gefälligst!
B_LogEntry (TOPIC_MOD_ALTESLAGER, "Ich habe mich dazu entschlossen, das alte Lager seinem Schicksal zu überlassen.");
B_SetTopicStatus (TOPIC_MOD_ALTESLAGER, LOG_FAILED);
Info_ClearChoices (Info_Mod_Scatty_Hilfe);
AI_StopProcessInfos (self);
};
INSTANCE Info_Mod_Scatty_ArenaFight (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_ArenaFight_Condition;
information = Info_Mod_Scatty_ArenaFight_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Scatty_ArenaFight_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Thorus_Arena))
&& (Wld_IsTime(08,00,23,00))
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_ArenaFight_Info()
{
AI_Output(self, hero, "Info_Mod_Scatty_ArenaFight_01_00"); //Werte Mitglieder unseres Lagers und der anderen Lager, heute findet ein Kampf zwischen dem ungeschlagenen Unbekannten und dem angehenden Templer Gor Karanto statt. Die Wetten sind platziert.
AI_StopProcessInfos (self);
B_StartOtherRoutine (Mod_7384_OUT_Dragan_MT, "KAMPF");
B_Attack (Mod_1871_TPL_GorKaranto_MT, Mod_1872_NONE_Unbekannt_MT, AR_NONE, 0);
Wld_SendTrigger ("ARENAKAMERA");
};
INSTANCE Info_Mod_Scatty_WannaFightUB (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_WannaFightUB_Condition;
information = Info_Mod_Scatty_WannaFightUB_Info;
permanent = 0;
important = 0;
description = "Ich will gegen den Unbekannten kämpfen!";
};
FUNC INT Info_Mod_Scatty_WannaFightUB_Condition()
{
if (Mod_GorKarantoSchwach == 2)
&& (Wld_IsTime(08,00,23,00))
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_WannaFightUB_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_WannaFightUB_15_00"); //Ich will gegen den Unbekannten kämpfen!
AI_Output(self, hero, "Info_Mod_Scatty_WannaFightUB_01_01"); //Gut, hast du nun also doch Lust zu kämpfen. Ich besorge dir einen Kampf mit ihm.
AI_Output(hero, self, "Info_Mod_Scatty_WannaFightUB_15_02"); //Trage mich auf den Namen ...
AI_Output(self, hero, "Info_Mod_Scatty_WannaFightUB_01_03"); //Schon gut, Namen sind nicht wichtig. Ich glaube, es würde zu deinem Stil passen, wenn dein Name nicht erwähnt wird.
AI_Output(hero, self, "Info_Mod_Scatty_WannaFightUB_15_04"); //Dann will ich kämpfen.
AI_Output(self, hero, "Info_Mod_Scatty_WannaFightUB_01_05"); //Geh in die Arena, der Unbekannte wird dich erwarten.
B_StartOtherRoutine (Mod_1872_NONE_Unbekannt_MT, "ARENAFIGHT");
B_StartOtherRoutine (Mod_7384_OUT_Dragan_MT, "KAMPF");
Mod_1872_NONE_Unbekannt_MT.attribute[ATR_HITPOINTS] = Mod_1872_NONE_Unbekannt_MT.attribute[ATR_HITPOINTS_MAX];
Mod_GorKarantoSchwach = 3;
};
INSTANCE Info_Mod_Scatty_WannaFightUB_AK (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_WannaFightUB_AK_Condition;
information = Info_Mod_Scatty_WannaFightUB_AK_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Scatty_WannaFightUB_AK_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Scatty_WannaFightUB))
&& (Wld_IsTime(08,00,23,00))
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_WannaFightUB_AK_Info()
{
AI_Output(self, hero, "Info_Mod_Scatty_WannaFightUB_AK_01_00"); //Der ungeschlagene Unbekannte kämpft gegen den namenlosen Kämpfer der Garde. Die Wetten sind platziert.
AI_StopProcessInfos (self);
};
INSTANCE Info_Mod_Scatty_WannaFightUB_2 (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_WannaFightUB_2_Condition;
information = Info_Mod_Scatty_WannaFightUB_2_Info;
permanent = 0;
important = 0;
description = "Ich will noch mal gegen den Unbekannten kämpfen.";
};
FUNC INT Info_Mod_Scatty_WannaFightUB_2_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Thorus_Botschaft))
&& (Wld_IsTime(08,00,23,00))
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_WannaFightUB_2_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_WannaFightUB_2_15_00"); //Ich will noch mal gegen den Unbekannten kämpfen.
AI_Output(self, hero, "Info_Mod_Scatty_WannaFightUB_2_01_01"); //Gut, geh in die Arena, der Unbekannte wird dich erwarten.
B_StartOtherRoutine (Mod_1872_NONE_Unbekannt_MT, "ARENAFIGHT");
B_StartOtherRoutine (Mod_7384_OUT_Dragan_MT, "KAMPF");
Mod_1872_NONE_Unbekannt_MT.attribute[ATR_HITPOINTS] = Mod_1872_NONE_Unbekannt_MT.attribute[ATR_HITPOINTS_MAX];
Mod_GorKarantoSchwach = 8;
};
INSTANCE Info_Mod_Scatty_WannaFightUB_AK_2 (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_WannaFightUB_AK_2_Condition;
information = Info_Mod_Scatty_WannaFightUB_AK_2_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Scatty_WannaFightUB_AK_2_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Scatty_WannaFightUB_2))
&& (Wld_IsTime(08,00,23,00))
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_WannaFightUB_AK_2_Info()
{
AI_Output(self, hero, "Info_Mod_Scatty_WannaFightUB_AK_2_01_00"); //Der ungeschlagene Unbekannte kämpft gegen den namenlosen Kämpfer der Garde. Die Wetten sind platziert.
AI_StopProcessInfos (self);
};
INSTANCE Info_Mod_Scatty_UB_Besiegt (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_UB_Besiegt_Condition;
information = Info_Mod_Scatty_UB_Besiegt_Info;
permanent = 0;
important = 0;
description = "Ich habe den Unbekannten Kämpfer besiegt.";
};
FUNC INT Info_Mod_Scatty_UB_Besiegt_Condition()
{
if (Mod_GorKarantoSchwach == 10)
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_UB_Besiegt_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_UB_Besiegt_15_00"); //Ich habe den Unbekannten Kämpfer besiegt.
AI_Output(self, hero, "Info_Mod_Scatty_UB_Besiegt_01_01"); //Sehr gut, endlich mal wieder einer von unseren Kämpfern, der gewonnen hat.
AI_Output(self, hero, "Info_Mod_Scatty_UB_Besiegt_01_02"); //Hier hast du deinen Anteil an den Einnahmen.
B_GiveInvItems (self, hero, ItMi_Gold, 250);
B_GivePlayerXP (250);
B_StartOtherRoutine (self, "START");
Mod_GorKarantoSchwach = 11;
};
INSTANCE Info_Mod_Scatty_AboutSabitsch (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_AboutSabitsch_Condition;
information = Info_Mod_Scatty_AboutSabitsch_Info;
permanent = 0;
important = 0;
description = "Wie läuft so das Wettgeschäft.";
};
FUNC INT Info_Mod_Scatty_AboutSabitsch_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Dexter_TimeOver))
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_AboutSabitsch_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_AboutSabitsch_15_00"); //Wie läuft so das Wettgeschäft.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_01"); //Miserabel. Dieser neue Kämpfer, Sabitsch ist sein Name, ruiniert mir das ganze Wettgeschäft.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_02"); //Er hat bislang jeden Kampf für sich entscheiden können, ohne, dass seine Gegner jemals eine echte Chance gehabt hätten.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_03"); //Sogar so einen Typen in dunkler Kutte, der eigentlich jeden Gegner nach einigen Sekunden in den Staub schickte, hat er mit einem Schlag umgehauen.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_04"); //Zum Glück kämpft er nicht jeden Tag, sondern nur wenn sich ein Gegner findet, der bereit ist einen hohen Wetteinsatz zu zahlen.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_05"); //Und das werden, was mich hoffen lässt, immer weniger.
AI_Output(hero, self, "Info_Mod_Scatty_AboutSabitsch_15_06"); //Was ist so besonderes an diesem Kämpfer?
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_07"); //Er muss unglaubliche Kraft besitzen, da er die schwerste Axt mit höchstem Geschick schwingen kann.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_08"); //Selbst die stärksten Kerle, denen ich bisher begegnete, konnten so eine Waffe nur mit Mühe anlegen und führen.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_09"); //Da ist es umso überraschender, dass so ein Typ sich für Schmuck begeistert und den ganzen Tag behangen mit Amuletten und Ringen herumläuft, wie ein eitles Kaufmannsweib.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_10"); //Erst nachts habe ich gesehen - er hat seine Hütte nämlich ziemlich nahe meiner Arena – wie er zumindest einen Teil seines Krempels in der Truhe verstaut, seine schwere Rüstung ablegt und sich stattdessen in eine angenehme Bürgerkleidung hüllt, bevor er sich zur Nachtruhe begibt.
AI_Output(self, hero, "Info_Mod_Scatty_AboutSabitsch_01_11"); //Schon komisch der Typ, aber ein guter Freund von Thorus, wie ich mitbekommen habe.
B_LogEntry (TOPIC_MOD_BDT_ORKS, "Scatty meinte, dass Sabitsch ein unglaublich starker Kämpfer sein müsse, um seine Waffe zu führen. Außerdem trägt Sabitsch den ganzen Tag über Schmuck, welchen er nur nachts zum Teil ablegt und in seiner Truhe verstaut, um sich anschließend in Bürgerkleidung schlafen zu legen. Seine Hütte finde ich bei der Arena.");
};
INSTANCE Info_Mod_Scatty_SabitschTot (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_SabitschTot_Condition;
information = Info_Mod_Scatty_SabitschTot_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Scatty_SabitschTot_Condition()
{
if (Mod_SabitschTot == 1)
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_SabitschTot_Info()
{
AI_Output(self, hero, "Info_Mod_Scatty_SabitschTot_01_00"); //So spät abends noch unterwegs?
AI_Output(self, hero, "Info_Mod_Scatty_SabitschTot_01_01"); //Naja, ich wollte mir gerade auch noch einen grünen Novizen genehmigen.
Mod_SabitschTotPetze = 1;
};
INSTANCE Info_Mod_Scatty_SlyArena (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_SlyArena_Condition;
information = Info_Mod_Scatty_SlyArena_Info;
permanent = 0;
important = 0;
description = "Hat sich Sly schon bei dir gemeldet?";
};
FUNC INT Info_Mod_Scatty_SlyArena_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Sly_Arena5))
&& (Wld_IsTime(08,00,16,00))
&& (Kapitel < 4)
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_SlyArena_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_SlyArena_15_00"); //Hat sich Sly schon bei dir gemeldet?
AI_Output(self, hero, "Info_Mod_Scatty_SlyArena_01_01"); //Klaro. Ich bin mal gespannt, wie sich der Grünschnabel schlägt. Bisher ist er mir ja nur durch sein Saufen aufgefallen.
AI_Output(hero, self, "Info_Mod_Scatty_SlyArena_15_02"); //Gibt es schon einen Termin für seinen ersten Kampf?
AI_Output(self, hero, "Info_Mod_Scatty_SlyArena_01_03"); //Jo. Nachher um 17 Uhr tritt er gegen Gor Karanto an. Das wird ein harter Kampf, sag ich mal.
};
INSTANCE Info_Mod_Scatty_Kap4 (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_Kap4_Condition;
information = Info_Mod_Scatty_Kap4_Info;
permanent = 0;
important = 0;
description = "Scatty? Du hier?";
};
FUNC INT Info_Mod_Scatty_Kap4_Condition()
{
if (Kapitel >= 4)
{
return 1;
};
};
FUNC VOID Info_Mod_Scatty_Kap4_Info()
{
AI_Output(hero, self, "Info_Mod_Scatty_Kap4_15_00"); //Scatty? Du hier?
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_01"); //(griesgrämig) Na, wo soll ich denn sonst sein?
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_02"); //Als Leiche im Alten Lager vielleicht, als Fraß für die Orkhunde?
AI_Output(hero, self, "Info_Mod_Scatty_Kap4_15_03"); //Genau genommen ... ja.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_04"); //Ahh, verarschen kann ich mich selbst.
AI_Output(hero, self, "Info_Mod_Scatty_Kap4_15_05"); //Was ist passiert?
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_06"); //Ach, als diese dreckigen Orks ins Lager einfielen habe ich mir gerade ein Bier vor der Arena gegönnt.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_07"); //Ich hörte das Geschrei und ehe ich mich versah, kam schon 'ne Horde Orks auf mich zu gerannt.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_08"); //Nach kurzem Kampf erkannte ich, dass es hoffnungslos war und lief in die andere Richtung zum Hinterausgang.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_09"); //Dort versuchte ich mit den Wachen das Tor zu öffnen, während wir uns gleichzeitig gegen einige von den grünen Bastarden zu wehr setzen mussten.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_10"); //Mit letzter Mühe gelang es mir noch ... die beiden anderen Jungs haben jedoch ins Gras gebissen.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_11"); //Als ich dann draußen herumlief überlegte ich mir wohin.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_12"); //Ich dachte mir: "Hey, die Jungs von den Sumpffritzen haben doch immer in der Arena gezeigt, aus welchem Holz sie geschnitzt sind.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_13"); //So einen wie mich können die bei den Templern bestimmt gut gebrauchen."
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_14"); //Tja, und was ist jetzt? Ich darf auf die Novizen bei der Ernte aufpassen.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_01_15"); //Ich weiß echt nicht, was ich hier soll ...
if (Npc_KnowsInfo(hero, Info_Mod_Fisk_NW_Hi))
&& (Mod_Fisk_LeiseHoffnung == 0)
{
B_LogEntry (TOPIC_MOD_LEISEHOFFNUNG, "Ich habe Scatty im Sumpflager getroffen, wo er Aufpasser spielen darf.");
};
Info_ClearChoices (Info_Mod_Scatty_Kap4);
Info_AddChoice (Info_Mod_Scatty_Kap4, "Zumindest passt die Frisur jetzt.", Info_Mod_Scatty_Kap4_B);
Info_AddChoice (Info_Mod_Scatty_Kap4, "Das wird schon wieder.", Info_Mod_Scatty_Kap4_A);
};
FUNC VOID Info_Mod_Scatty_Kap4_B()
{
AI_Output(hero, self, "Info_Mod_Scatty_Kap4_B_15_00"); //Zumindest passt die Frisur jetzt.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_B_01_01"); //(wütend) Was?! Mach das du Land gewinnst, bevor der Blitz dich beim Kacken trifft ...
Info_ClearChoices (Info_Mod_Scatty_Kap4);
};
FUNC VOID Info_Mod_Scatty_Kap4_A()
{
AI_Output(hero, self, "Info_Mod_Scatty_Kap4_A_15_00"); //Das wird schon wieder.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_A_01_01"); //Ach, der Spruch hilft mir jetzt auch nicht weiter.
AI_Output(self, hero, "Info_Mod_Scatty_Kap4_A_01_02"); //Und jetzt geh ... ich muss aufpassen, dass ja kein Novize gefressen wird ... sonst gibt’s saures vom Baal ... wie auch immer, Schlag-mich-tot.
Info_ClearChoices (Info_Mod_Scatty_Kap4);
};
// ------------------------------------------------------------
// CANYOUTEACH
// ------------------------------------------------------------
INSTANCE Info_Mod_Scatty_CanYouTeach (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_CanYouTeach_Condition;
information = Info_Mod_Scatty_CanYouTeach_Info;
important = FALSE;
permanent = FALSE;
description = "Trainierst du noch Kämpfer?";
};
FUNC INT Info_Mod_Scatty_CanYouTeach_Condition ()
{
//Bedingung nochmal checken? Scatty_Start_DIA ist 5 wenn man zugesagt hat, zu helfen
if (Scatty_Start_DIA == 5)
{
return TRUE;
};
};
FUNC VOID Info_Mod_Scatty_CanYouTeach_Info ()
{
AI_Output(hero, self, "Info_Mod_Scatty_CanYouTeach_15_00"); //Trainierst du noch Kämpfer?
AI_Output(self, hero, "Info_Mod_Scatty_CanYouTeach_01_01"); //Sicher. Ich kann dich im Einhandkampf unterrichten.
AI_Output(self, hero, "Info_Mod_Scatty_CanYouTeach_01_02"); //Wenn ich mich recht erinnere, habe ich dir damals schon das Kämpfen beigebracht.
Log_CreateTopic (TOPIC_MOD_LEHRER_OLDCAMP, LOG_NOTE);
B_LogEntry (TOPIC_MOD_LEHRER_OLDCAMP, "Scatty kann mir den Umgang mit Einhändern beibringen.");
};
// ------------------------------------------------------------
// LERNEN
// ------------------------------------------------------------
// fuer den "du bist schon besser geworden"-Dialog
var int Scatty_Merke1H;
INSTANCE Info_Mod_Scatty_Lernen (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_Lernen_Condition;
information = Info_Mod_Scatty_Lernen_Info;
important = FALSE;
permanent = TRUE;
description = "Unterrichte mich!";
};
FUNC INT Info_Mod_Scatty_Lernen_Condition ()
{
if (Npc_KnowsInfo(hero, Info_Mod_Scatty_CanYouTeach))
{
return TRUE;
};
};
FUNC VOID Info_Mod_Scatty_Lernen_Info ()
{
AI_Output(hero, self, "Info_Mod_Scatty_Lernen_15_00"); //Unterrichte mich!
if (hero.HitChance[NPC_TALENT_1H] >= 100)
{
AI_Output(self, hero, "Info_Mod_Scatty_Lernen_01_01"); //Ich kann dir nichts mehr beibringen. Du bist schon zu gut.
}
else
{
Scatty_Merke1H = hero.HitChance[NPC_TALENT_1H];
Info_ClearChoices (Info_Mod_Scatty_Lernen);
Info_AddChoice (Info_Mod_Scatty_Lernen, DIALOG_BACK, Info_Mod_Scatty_Lernen_Back);
Info_AddChoice (Info_Mod_Scatty_Lernen, B_BuildLearnString(PRINT_Learn1h1, B_GetLearnCostTalent(hero, NPC_TALENT_1H, 1)), Info_Mod_Scatty_Lernen_1H_1);
Info_AddChoice (Info_Mod_Scatty_Lernen, B_BuildLearnString(PRINT_Learn1h5, B_GetLearnCostTalent_New(hero, NPC_TALENT_1H)), Info_Mod_Scatty_Lernen_1H_5);
};
};
FUNC VOID Info_Mod_Scatty_Lernen_BACK()
{
Info_ClearChoices (Info_Mod_Scatty_Lernen);
if (hero.HitChance[NPC_TALENT_1H] > scatty_merke1H && hero.HitChance[NPC_TALENT_1H] < 100)
{
AI_Output(self, hero, "Info_Mod_Scatty_Lernen_01_02"); //Du machst Fortschritte, sehr gut.
}
if (hero.HitChance[NPC_TALENT_1H] >= 100)
{
AI_Output(self, hero, "Info_Mod_Scatty_Lernen_01_03"); //Wenn du noch besser werden willst, musst du einen anderen Lehrer finden.
AI_Output(self, hero, "Info_Mod_Scatty_Lernen_01_04"); //Aber so gut, wie du mittlerweile bist, glaube ich nicht, dass du noch jemanden finden wirst. Ich kann dir zumindest nichts mehr beibringen.
};
};
FUNC VOID Info_Mod_Scatty_Lernen_1H_5()
{
B_TeachFightTalentPercent_New(self, hero, NPC_TALENT_1H, 5, 100);
Info_ClearChoices (Info_Mod_Scatty_Lernen);
Info_AddChoice (Info_Mod_Scatty_Lernen, DIALOG_BACK, Info_Mod_Scatty_Lernen_Back);
Info_AddChoice (Info_Mod_Scatty_Lernen, B_BuildLearnString(PRINT_Learn1h1, B_GetLearnCostTalent(hero, NPC_TALENT_1H, 1)), Info_Mod_Scatty_Lernen_1H_1);
Info_AddChoice (Info_Mod_Scatty_Lernen, B_BuildLearnString(PRINT_Learn1h5, B_GetLearnCostTalent_New(hero, NPC_TALENT_1H)), Info_Mod_Scatty_Lernen_1H_5);
};
FUNC VOID Info_Mod_Scatty_Lernen_1H_1()
{
B_TeachFightTalentPercent_New(self, hero, NPC_TALENT_1H, 1, 100);
Info_ClearChoices (Info_Mod_Scatty_Lernen);
Info_AddChoice (Info_Mod_Scatty_Lernen, DIALOG_BACK, Info_Mod_Scatty_Lernen_Back);
Info_AddChoice (Info_Mod_Scatty_Lernen, B_BuildLearnString(PRINT_Learn1h1, B_GetLearnCostTalent(hero, NPC_TALENT_1H, 1)), Info_Mod_Scatty_Lernen_1H_1);
Info_AddChoice (Info_Mod_Scatty_Lernen, B_BuildLearnString(PRINT_Learn1h5, B_GetLearnCostTalent_New(hero, NPC_TALENT_1H)), Info_Mod_Scatty_Lernen_1H_5);
};
INSTANCE Info_Mod_Scatty_EXIT (C_INFO)
{
npc = Mod_962_STT_Scatty_MT;
nr = 1;
condition = Info_Mod_Scatty_EXIT_Condition;
information = Info_Mod_Scatty_EXIT_Info;
permanent = 1;
important = 0;
description = DIALOG_ENDE;
};
FUNC INT Info_Mod_Scatty_EXIT_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Scatty_EXIT_Info()
{
AI_StopProcessInfos (self);
}; | D |
/*******************************************************************************
DHT shared resource manager. Handles acquiring / relinquishing of global
resources by active request handlers.
copyright:
Copyright (c) 2017 sociomantic labs GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module dhtnode.connection.neo.SharedResources;
/*******************************************************************************
Imports
*******************************************************************************/
import ocean.transition;
/*******************************************************************************
Resources owned by the node which are needed by the request handlers.
*******************************************************************************/
public final class SharedResources
{
import ocean.util.container.pool.FreeList;
import swarm.neo.request.RequestEventDispatcher;
import swarm.neo.util.MessageFiber;
import ocean.io.select.EpollSelectDispatcher;
import dhtnode.storage.StorageChannels;
import dhtnode.storage.StorageEngineStepIterator;
import dhtnode.node.IDhtNodeInfo;
import dhtproto.node.neo.request.core.IRequestResources;
import ocean.util.container.pool.AcquiredResources;
import swarm.util.RecordBatcher;
import ocean.io.compress.Lzo;
/***************************************************************************
Pool of generic buffers. (We store ubyte[] buffers internally, as a
workaround for ambiguities in ocean.core.Buffer because void[][] can be
implicitly cast to void[].)
***************************************************************************/
private FreeList!(ubyte[]) buffers;
/// Pool of RequestEventDispatcher instances.
private FreeList!(RequestEventDispatcher) request_event_dispatchers;
/// Pool of MessageFiber instances.
private FreeList!(MessageFiber) fibers;
/// Pool of Timer instances.
private FreeList!(Timer) timers;
/// Pool of channel iterators.
private FreeList!(StorageEngineStepIterator) iterators;
/// Pool of record batchers.
private FreeList!(RecordBatcher) record_batchers;
/***************************************************************************
Reference to the storage channels which the requests are operating on.
***************************************************************************/
public StorageChannels storage_channels;
/***************************************************************************
Reference to the information interface for the node.
***************************************************************************/
public IDhtNodeInfo node_info;
/// Epoll instance used by the node.
public EpollSelectDispatcher epoll;
/// Shared LZO instance, used by all record batchers.
private Lzo lzo;
/***************************************************************************
Constructor.
Params:
storage_channels = storage channels which the requests are operating
on
node_info = information interface to the node
epoll = epoll instance used by the node
***************************************************************************/
public this ( StorageChannels storage_channels, IDhtNodeInfo node_info,
EpollSelectDispatcher epoll )
{
this.storage_channels = storage_channels;
this.node_info = node_info;
this.epoll = epoll;
this.buffers = new FreeList!(ubyte[]);
this.request_event_dispatchers = new FreeList!(RequestEventDispatcher);
this.fibers = new FreeList!(MessageFiber);
this.timers = new FreeList!(Timer);
this.iterators = new FreeList!(StorageEngineStepIterator);
this.record_batchers = new FreeList!(RecordBatcher);
this.lzo = new Lzo;
}
/***************************************************************************
Scope class which may be newed inside request handlers to get access to
the shared pools of resources. Any acquired resources are relinquished
in the destructor.
The class should always be newed as scope, but cannot be declared as
such because the request handler classes need to store a reference to it
as a member, which is disallowed for scope instances.
***************************************************************************/
public /*scope*/ class RequestResources : IRequestResources
{
/// Set of acquired buffers
private AcquiredArraysOf!(void) acquired_buffers;
/// Set of acquired fibers.
private Acquired!(MessageFiber) acquired_fibers;
/// Set of acquired timers.
private Acquired!(Timer) acquired_timers;
/// Set of acquired storage channel iterators.
private Acquired!(StorageEngineStepIterator) acquired_iterators;
/// Set of acquired record batchers.
private Acquired!(RecordBatcher) acquired_record_batchers;
/// Singleton RequestEventDispatcher used by this request.
private AcquiredSingleton!(RequestEventDispatcher)
acquired_request_event_dispatcher;
/***********************************************************************
Constructor.
***********************************************************************/
this ( )
{
this.acquired_buffers.initialise(this.outer.buffers);
this.acquired_fibers.initialise(this.outer.buffers,
this.outer.fibers);
this.acquired_timers.initialise(this.outer.buffers,
this.outer.timers);
this.acquired_iterators.initialise(this.outer.buffers,
this.outer.iterators);
this.acquired_record_batchers.initialise(this.outer.buffers,
this.outer.record_batchers);
this.acquired_request_event_dispatcher.initialise(
this.outer.request_event_dispatchers);
}
/***********************************************************************
Destructor. Relinquishes any acquired resources.
***********************************************************************/
~this ( )
{
this.acquired_buffers.relinquishAll();
this.acquired_fibers.relinquishAll();
this.acquired_timers.relinquishAll();
this.acquired_iterators.relinquishAll();
this.acquired_record_batchers.relinquishAll();
this.acquired_request_event_dispatcher.relinquish();
}
/***********************************************************************
Returns:
the node's storage channels
***********************************************************************/
public StorageChannels storage_channels ( )
{
return this.outer.storage_channels;
}
/***********************************************************************
Returns:
the information interface to the node
***********************************************************************/
public IDhtNodeInfo node_info ( )
{
return this.outer.node_info;
}
/***********************************************************************
Returns:
a shared LZO instance
***********************************************************************/
public Lzo lzo ( )
{
return this.outer.lzo;
}
/***********************************************************************
Returns:
a new iterator storage channel instance. The user must call its
setStorage() method before use
***********************************************************************/
public StorageEngineStepIterator getIterator ( )
{
return this.acquired_iterators.acquire(
new StorageEngineStepIterator);
}
/***********************************************************************
Returns:
a pointer to a new chunk of memory (a void[]) to use during the
request's lifetime
***********************************************************************/
override public void[]* getVoidBuffer ( )
{
return this.acquired_buffers.acquire();
}
/***********************************************************************
Gets a fiber to use during the request's lifetime and assigns the
provided delegate as its entry point.
Params:
fiber_method = entry point to assign to acquired fiber
Returns:
a new MessageFiber acquired to use during the request's lifetime
***********************************************************************/
override public MessageFiber getFiber ( scope void delegate ( ) fiber_method )
{
bool new_fiber = false;
MessageFiber newFiber ( )
{
new_fiber = true;
return new MessageFiber(fiber_method, 64 * 1024);
}
auto fiber = this.acquired_fibers.acquire(newFiber());
if ( !new_fiber )
fiber.reset(fiber_method);
return fiber;
}
/***********************************************************************
Gets a record batcher to use during the request's lifetime.
Returns:
a new record batcher acquired to use during the request's
lifetime
***********************************************************************/
override public RecordBatcher getRecordBatcher ( )
{
auto batcher = this.acquired_record_batchers.acquire(
new RecordBatcher(this.outer.lzo));
batcher.clear();
return batcher;
}
/***********************************************************************
Gets a periodically firing timer.
Params:
period_s = seconds part of timer period
period_ms = milliseconds part of timer period
timer_dg = delegate to call when timer fires
Returns:
ITimer interface to a timer to use during the request's lifetime
***********************************************************************/
override public ITimer getTimer ( uint period_s, uint period_ms,
scope void delegate ( ) timer_dg )
{
auto timer = this.acquired_timers.acquire(new Timer);
timer.initialise(period_s, period_ms, timer_dg);
return timer;
}
}
/***************************************************************************
Timer class which implements the ITimer interface expected by the
request resources in dhtproto.
***************************************************************************/
private class Timer : IRequestResources.ITimer
{
import ocean.io.select.client.TimerEvent;
/// Flag set to true when the timer is running.
private bool running;
/// Timer event registered with epoll.
private TimerEvent timer;
// User's timer delegate.
private void delegate ( ) timer_dg;
/***********************************************************************
Constructor.
***********************************************************************/
private this ( )
{
this.timer = new TimerEvent(&this.timerDg);
}
/***********************************************************************
Sets up the timer period and user delegate.
Params:
period_s = seconds part of timer period
period_ms = milliseconds part of timer period
timer_dg = delegate to call when timer fires
***********************************************************************/
private void initialise ( uint period_s, uint period_ms,
scope void delegate ( ) timer_dg )
{
this.timer_dg = timer_dg;
this.timer.set(period_s, period_ms, period_s, period_ms);
}
/***********************************************************************
Starts the timer, registering it with epoll.
***********************************************************************/
public void start ( )
{
this.running = true;
this.outer.epoll.register(this.timer);
}
/***********************************************************************
Stops the timer, unregistering it from epoll.
***********************************************************************/
public void stop ( )
{
this.running = false;
this.outer.epoll.unregister(this.timer);
}
/***********************************************************************
Internal delegate called when timer fires. Calls the user's delegate
and handles unregistering when stopped.
Returns:
true to re-register, false to unregister
***********************************************************************/
private bool timerDg ( )
{
this.timer_dg();
// Just in case the timer has fired in epoll, then stop() is called,
// then this delegate is called, we unregister if the timer should
// no longer be running.
return this.running;
}
}
}
| D |
module pw.app;
import std.stdio;
import std.math;
import std.random;
import derelict.opengl3.gl3;
import derelict.opengl3.gl;
import gl3n.linalg;
import allegro5.allegro;
import allegro5.allegro_primitives;
import allegro5.allegro_image;
import allegro5.allegro_color;
import allegro5.allegro_font;
import allegro5.allegro_ttf;
import tod.glu;
import alledged.scenenode;
import alledged.cameranode;
import alledged.lightnode;
import alledged.transformnode;
import alledged.quadnode;
import alledged.modelnode;
import alledged.model;
import globe.globe;
/*
* Let the globe have a global list of verts.
* I'd like to have a system where all faces that should use the same verts actually reference the same verts.
*
* If we also have a global list of edges referenced and shared by faces. When an edge is split it'll have two children.
* when neighbouring faces split, the first will create the new verts and edges.
* The second face can then see that one of it's edges already has children ready to be used.
* */
void Init_perspective_view(float fov, float aspect, float near, float far) {
glMatrixMode(GL_PROJECTION);
glPushMatrix();
glLoadIdentity();
gluPerspective(fov, aspect, near, far);
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
}
void Pop_view() {
//Return to Allegros 2D world
glMatrixMode(GL_PROJECTION);
glPopMatrix();
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
}
class Scene {
public:
void Build() {
root = new Scenenode;
camera = new Cameranode;
camera.Set_position(vec3(0, 0, 50));
auto lightnode = new Lightnode;
lightnode.Set_position(vec3(0, 0, 1), 1);
lightnode.Set_specular(1, 1, 1, 1);
lightnode.Set_diffuse(0.8, 0.8, 0.8, 1);
lightnode.Set_ambient(0.1, 0.1, 0.1, 1);
auto transformnode = new Transformnode;
transformnode.Set_scale(vec3(10, 10, 10));
//A little backdrop
vec3[4] corners = [
vec3(100, 100, -100),
vec3(-100, 100, -100),
vec3(-100, -100, -100),
vec3(100, -100, -100)
];
quad = new Quadnode;
quad.Set_corners(corners);
globe = new Globe;
globe.Init(1);
writeln("Full globe");
auto full_globe_model = globe.Generate_detailed_location(vec3(0, 0, 0), 1, 6, unpredictableSeed, 0.625);
full_globe_model.Color = vec4(1, 1, 1, 1);
full_globe = new Modelnode;
full_globe.Set_model(full_globe_model);
writeln("Generated");
/*
writeln("Deailed area");
auto detailed_area_model = globe.Generate_detailed_location(vec3(0, 0, 1), 0.1, 9, 0, 0.625);
detailed_area_model.Color = vec4(0, 0, 1, 1);
detailed_area = new Modelnode;
detailed_area.Set_model(detailed_area_model);
writeln("Generated");
*/
//transformnode.Attach_node(detailed_area);
transformnode.Attach_node(full_globe);
//lightnode.Attach_node(quad);
lightnode.Attach_node(transformnode);
camera.Attach_node(lightnode);
root.Attach_node(camera);
}
void Render() {
float fov = 45;
float near = 1;
float far = 1000;
float width = 640;
float height = 480;
Init_perspective_view(fov, width/height, near, far);
glEnable(GL_DEPTH_TEST);
glClear(GL_DEPTH_BUFFER_BIT);
glEnable(GL_LIGHTING);
root.Apply();
glDisable(GL_LIGHTING);
glDisable(GL_DEPTH_TEST);
Pop_view();
Render_minimap();
}
void Render_minimap() {
ALLEGRO_COLOR white = al_map_rgb_f(1, 1, 1);
ALLEGRO_COLOR black = al_map_rgb_f(0, 0, 0);
al_draw_filled_rectangle(0, 0, 256, 256, white);
vec3[] coords = full_globe.Get_model().Get_coords();
/*
float minx = 1;
float maxx = 1;
*/
foreach(coord; coords) {
//Make 2d vector on xz plane
//Get angle
//Scale angle to texture width
auto v = vec2(coord.x, coord.z);
v.normalize();
//writeln("X: ", xz.x, " Y: ", xz.y);
auto xangle = acos(v.x);
if(v.y < 0) {
xangle += PI;
}
/*
writeln("Angle: ", xangle);
if(xangle < minx) {
minx = xangle;
}
if(angle > maxx) {
maxx = xangle;
}*/
//Make 2d vector on yz plane, or yx if |x|>|z|
//Get angle
//Scale angle to texture width
v = vec2(coord.y, coord.z);
if(abs(coord.x) > abs(coord.z)) {
v.y = coord.x;
}
v.normalize();
//writeln("X: ", xz.x, " Y: ", xz.y);
auto yangle = acos(v.x);
/*
if(v.y < 0) {
yangle += PI;
}
*/
al_draw_pixel(xangle * 256/(PI*2), yangle * 256/(PI), black);
}
//writeln("X: ", minx, " - ", maxx);
}
Scenenode root;
Cameranode camera;
Quadnode quad;
Modelnode full_globe;
Modelnode detailed_area;
Globe globe;
};
int main(char[][] args) {
return al_run_allegro({
DerelictGL3.load(); // load latest available version
DerelictGL.load(); // load deprecated functions too
al_init();
al_set_new_display_flags(ALLEGRO_WINDOWED | ALLEGRO_OPENGL);
al_set_new_display_option(ALLEGRO_DISPLAY_OPTIONS.ALLEGRO_DEPTH_SIZE, 24, ALLEGRO_REQUIRE);
ALLEGRO_DISPLAY* display = al_create_display(1280, 1024);
if(!display) {
writeln("Failed to create display");
return 0;
}
al_install_keyboard();
al_install_mouse();
al_init_image_addon();
al_init_font_addon();
al_init_ttf_addon();
al_init_primitives_addon();
float timer_interval = 0.02;
ALLEGRO_TIMER *timer = al_create_timer(timer_interval);
al_start_timer(timer);
ALLEGRO_EVENT_QUEUE* queue = al_create_event_queue();
al_register_event_source(queue, al_get_display_event_source(display));
al_register_event_source(queue, al_get_keyboard_event_source());
al_register_event_source(queue, al_get_mouse_event_source());
al_register_event_source(queue, al_get_timer_event_source(timer));
Scene scene = new Scene;
scene.Build();
bool rotate = false;
bool move_up = false;
bool move_down = false;
bool move_left = false;
bool move_right = false;
bool move_forward = false;
bool move_back = false;
bool roll_left = false;
bool roll_right = false;
bool exit = false;
while(!exit)
{
ALLEGRO_EVENT event;
while(al_get_next_event(queue, &event))
{
//world.Handle_event(event);
switch(event.type)
{
case ALLEGRO_EVENT_DISPLAY_CLOSE:
{
exit = true;
break;
}
case ALLEGRO_EVENT_KEY_DOWN:
{
switch(event.keyboard.keycode)
{
case ALLEGRO_KEY_ESCAPE:
{
exit = true;
break;
}
case ALLEGRO_KEY_T:
{
writeln("update");
break;
}
case ALLEGRO_KEY_A:
{
move_left = true;
break;
}
case ALLEGRO_KEY_D:
{
move_right = true;
break;
}
case ALLEGRO_KEY_W:
{
move_forward = true;
break;
}
case ALLEGRO_KEY_S:
{
move_back = true;
break;
}
case ALLEGRO_KEY_R:
{
move_up = true;
break;
}
case ALLEGRO_KEY_F:
{
move_down = true;
break;
}
case ALLEGRO_KEY_Q:
{
roll_left = true;
break;
}
case ALLEGRO_KEY_E:
{
roll_right = true;
break;
}
default:
}
break;
}
case ALLEGRO_EVENT_KEY_UP:
{
switch(event.keyboard.keycode)
{
case ALLEGRO_KEY_A:
{
move_left = false;
break;
}
case ALLEGRO_KEY_D:
{
move_right = false;
break;
}
case ALLEGRO_KEY_W:
{
move_forward = false;
break;
}
case ALLEGRO_KEY_S:
{
move_back = false;
break;
}
case ALLEGRO_KEY_R:
{
move_up = false;
break;
}
case ALLEGRO_KEY_F:
{
move_down = false;
break;
}
case ALLEGRO_KEY_Q:
{
roll_left = false;
break;
}
case ALLEGRO_KEY_E:
{
roll_right = false;
break;
}
case ALLEGRO_KEY_M:
{
scene.Render_minimap();
break;
}
default:
}
break;
}
case ALLEGRO_EVENT_MOUSE_BUTTON_DOWN:
{
writeln("rotate");
rotate = true;
break;
}
case ALLEGRO_EVENT_MOUSE_BUTTON_UP:
{
writeln("stop rotate");
rotate = false;
break;
}
case ALLEGRO_EVENT_MOUSE_AXES:
{
if(rotate) {
scene.camera.Set_rotation(scene.camera.Get_rotation() + vec3(-event.mouse.dy, -event.mouse.dx, 0));
}
break;
}
case ALLEGRO_EVENT_TIMER:
{
float roll = 0;
if(roll_left) {
roll += 1;
}
if(roll_right) {
roll -= 1;
}
scene.camera.Set_rotation(scene.camera.Get_rotation() + vec3(0, 0, 100 * roll * timer_interval));
vec3 move = vec3(0, 0, 0);
if(move_left) {
move.x += 1;
}
if(move_right) {
move.x -= 1;
}
if(move_up) {
move.y += 1;
}
if(move_down) {
move.y -= 1;
}
if(move_forward) {
move.z += 1;
}
if(move_back) {
move.z -= 1;
}
scene.camera.Set_position(scene.camera.Get_position() + 10 * move.x * scene.camera.Get_right() * timer_interval);
scene.camera.Set_position(scene.camera.Get_position() + 10 * move.y * scene.camera.Get_up() * timer_interval);
scene.camera.Set_position(scene.camera.Get_position() + 10 * move.z * scene.camera.Get_front() * timer_interval);
//scene.camera.Set_position(scene.camera.Get_position() + 10 * move * timer_interval);
break;
}
default:
}
}
al_clear_to_color(ALLEGRO_COLOR(0.5, 0.25, 0.125, 1));
scene.Render();
//Draw
al_flip_display();
al_rest(0.001);
}
al_destroy_event_queue(queue);
al_destroy_display(display);
return 0;
});
}
| D |
module dlangide.workspace.idesettings;
import dlangui.core.settings;
import dlangui.core.i18n;
import dlangui.graphics.fonts;
const AVAILABLE_THEMES = ["ide_theme_default", "ide_theme_dark"];
const AVAILABLE_LANGUAGES = ["en", "ru", "es", "cs"];
class IDESettings : SettingsFile {
this(string filename) {
super(filename);
}
override void updateDefaults() {
Setting ed = editorSettings();
ed.setBooleanDef("useSpacesForTabs", true);
ed.setIntegerDef("tabSize", 4);
ed.setBooleanDef("smartIndents", true);
ed.setBooleanDef("smartIndentsAfterPaste", true);
ed.setBooleanDef("showWhiteSpaceMarks", true);
Setting ui = uiSettings();
ui.setStringDef("theme", "ide_theme_default");
ui.setStringDef("language", "en");
ui.setIntegerDef("hintingMode", 1);
ui.setIntegerDef("minAntialiasedFontSize", 0);
ui.setFloatingDef("fontGamma", 0.8);
debuggerSettings.setStringDef("executable", "gdb");
terminalSettings.setStringDef("executable", "xterm");
dubSettings.setStringDef("executable", "dub");
dubSettings.setStringDef("additional_params", "");
rdmdSettings.setStringDef("executable", "rdmd");
rdmdSettings.setStringDef("additional_params", "");
dmdToolchainSettings.setStringDef("executable", "dmd");
dmdToolchainSettings.setStringDef("dub_additional_params", "");
ldcToolchainSettings.setStringDef("executable", "ldc2");
ldcToolchainSettings.setStringDef("dub_additional_params", "");
ldmdToolchainSettings.setStringDef("executable", "ldmd2");
ldmdToolchainSettings.setStringDef("dub_additional_params", "");
gdcToolchainSettings.setStringDef("executable", "gdc");
gdcToolchainSettings.setStringDef("dub_additional_params", "");
}
/// override to do something after loading - e.g. set defaults
override void afterLoad() {
}
@property Setting editorSettings() {
Setting res = _setting.objectByPath("editors/textEditor", true);
return res;
}
@property Setting uiSettings() {
Setting res = _setting.objectByPath("interface", true);
return res;
}
@property Setting debuggerSettings() {
Setting res = _setting.objectByPath("dlang/debugger", true);
return res;
}
@property Setting terminalSettings() {
Setting res = _setting.objectByPath("dlang/terminal", true);
return res;
}
@property Setting dubSettings() {
Setting res = _setting.objectByPath("dlang/dub", true);
return res;
}
@property Setting rdmdSettings() {
Setting res = _setting.objectByPath("dlang/rdmd", true);
return res;
}
@property Setting dmdToolchainSettings() {
Setting res = _setting.objectByPath("dlang/toolchains/dmd", true);
return res;
}
@property Setting ldcToolchainSettings() {
Setting res = _setting.objectByPath("dlang/toolchains/ldc", true);
return res;
}
@property Setting ldmdToolchainSettings() {
Setting res = _setting.objectByPath("dlang/toolchains/ldmd", true);
return res;
}
@property Setting gdcToolchainSettings() {
Setting res = _setting.objectByPath("dlang/toolchains/gdc", true);
return res;
}
/// theme
@property string uiTheme() {
return limitString(uiSettings.getString("theme", "ide_theme_default"), AVAILABLE_THEMES);
}
/// theme
@property IDESettings uiTheme(string v) {
uiSettings.setString("theme", limitString(v, AVAILABLE_THEMES));
return this;
}
/// language
@property string uiLanguage() {
return limitString(uiSettings.getString("language", "en"), AVAILABLE_LANGUAGES);
}
/// language
@property IDESettings uiLanguage(string v) {
uiSettings.setString("language", limitString(v, AVAILABLE_LANGUAGES));
return this;
}
/// text editor setting, true if need to insert spaces instead of tabs
@property bool useSpacesForTabs() {
return editorSettings.getBoolean("useSpacesForTabs", true);
}
/// text editor setting, true if need to insert spaces instead of tabs
@property IDESettings useSpacesForTabs(bool v) {
editorSettings.setBoolean("useSpacesForTabs", v);
return this;
}
/// text editor setting, true if need to insert spaces instead of tabs
@property int tabSize() {
return limitInt(editorSettings.getInteger("tabSize", 4), 1, 16);
}
/// text editor setting, true if need to insert spaces instead of tabs
@property IDESettings tabSize(int v) {
editorSettings.setInteger("tabSize", limitInt(v, 1, 16));
return this;
}
/// true if smart indents are enabled
@property bool smartIndents() { return editorSettings.getBoolean("smartIndents", true); }
/// set smart indents enabled flag
@property IDESettings smartIndents(bool enabled) { editorSettings.setBoolean("smartIndents", enabled); return this; }
/// true if smart indents are enabled
@property bool showWhiteSpaceMarks() { return editorSettings.getBoolean("showWhiteSpaceMarks", true); }
/// set smart indents enabled flag
@property IDESettings showWhiteSpaceMarks(bool enabled) { editorSettings.setBoolean("showWhiteSpaceMarks", enabled); return this; }
/// true if smart indents are enabled
@property bool smartIndentsAfterPaste() { return editorSettings.getBoolean("smartIndentsAfterPaste", true); }
/// set smart indents enabled flag
@property IDESettings smartIndentsAfterPaste(bool enabled) { editorSettings.setBoolean("smartIndentsAfterPaste", enabled); return this; }
@property double fontGamma() {
double gamma = uiSettings.getFloating("fontGamma", 1.0);
if (gamma >= 0.5 && gamma <= 2.0)
return gamma;
return 1.0;
}
@property HintingMode hintingMode() {
long mode = uiSettings.getInteger("hintingMode", HintingMode.Normal);
if (mode >= HintingMode.Normal && mode <= HintingMode.Light)
return cast(HintingMode)mode;
return HintingMode.Normal;
}
@property int minAntialiasedFontSize() {
long sz = uiSettings.getInteger("minAntialiasedFontSize", 0);
if (sz >= 0)
return cast(int)sz;
return 0;
}
@property string debuggerExecutable() {
return debuggerSettings.getString("executable", "gdb");
}
@property string terminalExecutable() {
return terminalSettings.getString("executable", "xterm");
}
@property string dubExecutable() {
return dubSettings.getString("executable", "dub");
}
@property string dubAdditionalParams() {
return dubSettings.getString("additional_params", "");
}
@property string rdmdExecutable() {
return rdmdSettings.getString("executable", "rdmd");
}
@property string rdmdAdditionalParams() {
return rdmdSettings.getString("additional_params", "");
}
string getToolchainCompilerExecutable(string toolchainName) {
if (toolchainName.equal("dmd"))
return dmdToolchainSettings.getString("executable", "dmd");
if (toolchainName.equal("gdc"))
return gdcToolchainSettings.getString("executable", "gdc");
if (toolchainName.equal("ldc"))
return ldcToolchainSettings.getString("executable", "ldc2");
if (toolchainName.equal("ldmd"))
return ldmdToolchainSettings.getString("executable", "ldmd2");
return null;
}
string getToolchainAdditionalDubParams(string toolchainName) {
if (toolchainName.equal("dmd"))
return dmdToolchainSettings.getString("dub_additional_params", "");
if (toolchainName.equal("gdc"))
return gdcToolchainSettings.getString("dub_additional_params", "");
if (toolchainName.equal("ldc"))
return ldcToolchainSettings.getString("dub_additional_params", "");
if (toolchainName.equal("ldmd"))
return ldmdToolchainSettings.getString("dub_additional_params", "");
return null;
}
@property string[] recentWorkspaces() {
import std.file;
Setting obj = _setting.objectByPath("history", true);
string[] list = obj.getStringArray("recentWorkspaces");
string[] res;
foreach(fn; list) {
if (exists(fn) && isFile(fn))
res ~= fn;
}
return res;
}
void updateRecentWorkspace(string ws) {
import std.file;
string[] list;
list ~= ws;
string[] existing = recentWorkspaces;
foreach(fn; existing) {
if (exists(fn) && isFile(fn) && !ws.equal(fn))
list ~= fn;
}
Setting obj = _setting.objectByPath("history", true);
obj["recentWorkspaces"] = list;
save();
}
}
| D |
/**
* A UUID is a Universally Unique Identifier.
* It is a 128-bit number generated either randomly or according to some
* inscrutable algorithm, depending on the UUID version used.
*
* Here, we implement a data structure for holding and formatting UUIDs.
* To generate a UUID, use one of the other modules in the UUID package.
* You can also create a UUID by parsing a string containing a textual
* representation of a UUID, or by providing the constituent bytes.
*/
module tango.util.uuid.Uuid;
import tango.core.Exception;
import Integer = tango.text.convert.Integer;
import tango.util.digest.Digest;
private union UuidData
{
uint[4] ui;
ubyte[16] ub;
}
/** This struct represents a UUID. It offers static members for creating and
* parsing UUIDs.
*
* This struct treats a UUID as an opaque type. The specification has fields
* for time, version, client MAC address, and several other data points, but
* these are meaningless for most applications and means of generating a UUID.
*
* There are versions of UUID generation involving the system time and MAC
* address. These are not used for several reasons:
* - One version contains identifying information, which is undesirable.
* - Ensuring uniqueness between processes requires inter-process
* communication. This would be unreasonably slow and complex.
* - Obtaining the MAC address is a system-dependent operation and beyond
* the scope of this module.
* - Using Java and .NET as a guide, they only implement randomized creation
* of UUIDs, not the MAC address/time based generation.
*
* When generating a random UUID, use a carefully seeded random number
* generator. A poorly chosen seed may produce undesirably consistent results.
*/
struct Uuid
{
private UuidData _data;
/** Copy the givent bytes into a UUID. If you supply more or fewer than
* 16 bytes, throws an IllegalArgumentException. */
public static Uuid opCall(ubyte[] data)
{
if (data.length != 16)
{
throw new IllegalArgumentException("A UUID is 16 bytes long.");
}
Uuid u;
u._data.ub[] = data[];
return u;
}
/** Attempt to parse the representation of a UUID given in value. If the
* value is not in the correct format, throw IllegalArgumentException.
* If the value is in the correct format, return a UUID representing the
* given value.
*
* The following is an example of a UUID in the expected format:
* 67e55044-10b1-426f-9247-bb680e5fe0c8
*/
public static Uuid parse(char[] value)
{
Uuid u;
if (!tryParse(value, u))
throw new IllegalArgumentException("'" ~ value ~ "' is not in the correct format for a UUID");
return u;
}
/** Attempt to parse the representation of a UUID given in value. If the
* value is not in the correct format, return false rather than throwing
* an exception. If the value is in the correct format, set uuid to
* represent the given value.
*
* The following is an example of a UUID in the expected format:
* 67e55044-10b1-426f-9247-bb680e5fe0c8
*/
public static bool tryParse(char[] value, out Uuid uuid)
{
if (value.length != 36 ||
value[8] != '-' ||
value[13] != '-' ||
value[18] != '-' ||
value[23] != '-')
{
return false;
}
int hyphens = 0;
foreach (i, v; value)
{
if ('a' <= v && 'f' >= v) continue;
if ('A' <= v && 'F' >= v) continue;
if ('0' <= v && '9' >= v) continue;
if (v == '-')
{
hyphens++;
continue;
}
// illegal character
return false;
}
if (hyphens != 4)
{
return false;
}
with (uuid._data)
{
// This is verbose, but it's simple, and it gets around endian
// issues if you try parsing an integer at a time.
ub[0] = cast(ubyte) Integer.parse(value[0..2], 16);
ub[1] = cast(ubyte) Integer.parse(value[2..4], 16);
ub[2] = cast(ubyte) Integer.parse(value[4..6], 16);
ub[3] = cast(ubyte) Integer.parse(value[6..8], 16);
ub[4] = cast(ubyte) Integer.parse(value[9..11], 16);
ub[5] = cast(ubyte) Integer.parse(value[11..13], 16);
ub[6] = cast(ubyte) Integer.parse(value[14..16], 16);
ub[7] = cast(ubyte) Integer.parse(value[16..18], 16);
ub[8] = cast(ubyte) Integer.parse(value[19..21], 16);
ub[9] = cast(ubyte) Integer.parse(value[21..23], 16);
ub[10] = cast(ubyte) Integer.parse(value[24..26], 16);
ub[11] = cast(ubyte) Integer.parse(value[26..28], 16);
ub[12] = cast(ubyte) Integer.parse(value[28..30], 16);
ub[13] = cast(ubyte) Integer.parse(value[30..32], 16);
ub[14] = cast(ubyte) Integer.parse(value[32..34], 16);
ub[15] = cast(ubyte) Integer.parse(value[34..36], 16);
}
return true;
}
/** Generate a UUID based on the given random number generator.
* The generator must have a method 'uint natural()' that returns
* a random number. The generated UUID conforms to version 4 of the
* specification. */
public static Uuid random(Random)(Random generator)
{
Uuid u;
with (u)
{
_data.ui[0] = generator.natural;
_data.ui[1] = generator.natural;
_data.ui[2] = generator.natural;
_data.ui[3] = generator.natural;
// v4: 7th bytes' first half is 0b0100: 4 in hex
_data.ub[6] &= 0b01001111;
_data.ub[6] |= 0b01000000;
// v4: 9th byte's 1st half is 0b1000 to 0b1011: 8, 9, A, B in hex
_data.ub[8] &= 0b10111111;
_data.ub[8] |= 0b10000000;
}
return u;
}
/* Generate a UUID based on the given namespace and name. This conforms to
* versions 3 and 5 of the standard -- version 3 if you use MD5, or version
* 5 if you use SHA1.
*
* You should pass 3 as the value for uuidVersion if you are using the
* MD5 hash, and 5 if you are using the SHA1 hash. To do otherwise is an
* Abomination Unto Nuggan.
*
* This method is exposed mainly for the convenience methods in
* tango.util.uuid.*. You can use this method directly if you prefer.
*/
public static Uuid byName(Uuid namespace, char[] name, Digest digest,
ubyte uuidVersion)
{
/* o Compute the hash of the name space ID concatenated with the name.
o Set octets zero through 15 to octets zero through 15 of the hash.
o Set the four most significant bits (bits 12 through 15) of octet
6 to the appropriate 4-bit version number from Section 4.1.3.
o Set the two most significant bits (bits 6 and 7) of octet 8 to
zero and one, respectively. */
auto nameBytes = namespace.toBytes;
nameBytes ~= cast(ubyte[])name;
digest.update(nameBytes);
nameBytes = digest.binaryDigest;
nameBytes[6] = cast(byte)(uuidVersion << 4) | cast(byte)(nameBytes[6] & 0b1111);
nameBytes[8] |= 0b1000_0000;
nameBytes[8] &= 0b1011_1111;
return Uuid(nameBytes[0..16]);
}
/** Return an empty UUID (with all bits set to 0). This doesn't conform
* to any particular version of the specification. It's equivalent to
* using an uninitialized UUID. This method is provided for clarity. */
public static Uuid empty()
{
Uuid uuid;
uuid._data.ui[] = 0;
return uuid;
}
/** Get a copy of this UUID's value as an array of unsigned bytes. */
public ubyte[] toBytes()
{
return _data.ub.dup;
}
/** Gets the version of this UUID.
* RFC 4122 defines five types of UUIDs:
* - Version 1 is based on the system's MAC address and the current time.
* - Version 2 uses the current user's userid and user domain in
* addition to the time and MAC address.
* - Version 3 is namespace-based, as generated by the NamespaceGenV3
* module. It uses MD5 as a hash algorithm. RFC 4122 states that
* version 5 is preferred over version 3.
* - Version 4 is generated randomly.
* - Version 5 is like version 3, but uses SHA-1 rather than MD5. Use
* the NamespaceGenV5 module to create UUIDs like this.
*
* The following additional versions exist:
* - Version 0 is reserved for backwards compatibility.
* - Version 6 is a non-standard Microsoft extension.
* - Version 7 is reserved for future use.
*/
public ubyte format()
{
return cast(ubyte) (_data.ub[6] >> 4);
}
/** Get the canonical string representation of a UUID.
* The canonical representation is in hexidecimal, with hyphens inserted
* after the eighth, twelfth, sixteenth, and twentieth digits. For example:
* 67e55044-10b1-426f-9247-bb680e5fe0c8
* This is the format used by the parsing functions.
*/
public char[] toString()
{
// Look, only one allocation.
char[] buf = new char[36];
buf[8] = '-';
buf[13] = '-';
buf[18] = '-';
buf[23] = '-';
with (_data)
{
// See above with tryParse: this ignores endianness.
// Technically, it's sufficient that the conversion to string
// matches the conversion from string and from byte array. But
// this is the simplest way to make sure of that. Plus you can
// serialize and deserialize on machines with different endianness
// without a bunch of strange conversions, and with consistent
// string representations.
Integer.format(buf[0..2], ub[0], cast(char[])"x2");
Integer.format(buf[2..4], ub[1], cast(char[])"x2");
Integer.format(buf[4..6], ub[2], cast(char[])"x2");
Integer.format(buf[6..8], ub[3], cast(char[])"x2");
Integer.format(buf[9..11], ub[4], cast(char[])"x2");
Integer.format(buf[11..13], ub[5], cast(char[])"x2");
Integer.format(buf[14..16], ub[6], cast(char[])"x2");
Integer.format(buf[16..18], ub[7], cast(char[])"x2");
Integer.format(buf[19..21], ub[8], cast(char[])"x2");
Integer.format(buf[21..23], ub[9], cast(char[])"x2");
Integer.format(buf[24..26], ub[10], cast(char[])"x2");
Integer.format(buf[26..28], ub[11], cast(char[])"x2");
Integer.format(buf[28..30], ub[12], cast(char[])"x2");
Integer.format(buf[30..32], ub[13], cast(char[])"x2");
Integer.format(buf[32..34], ub[14], cast(char[])"x2");
Integer.format(buf[34..36], ub[15], cast(char[])"x2");
}
return buf;
}
/** Determines if this UUID has the same value as another. */
public const bool opEquals(ref const (Uuid) other)
{
return
_data.ui[0] == other._data.ui[0] &&
_data.ui[1] == other._data.ui[1] &&
_data.ui[2] == other._data.ui[2] &&
_data.ui[3] == other._data.ui[3];
}
/** Get a hash code representing this UUID. */
public hash_t toHash()
{
with (_data)
{
// 29 is just a convenient prime number
return (((((ui[0] * 29) ^ ui[1]) * 29) ^ ui[2]) * 29) ^ ui[3];
}
}
}
version (TangoTest)
{
import tango.math.random.Kiss;
unittest
{
// Generate them in the correct format
for (int i = 0; i < 20; i++)
{
auto uu = Uuid.random(&Kiss.instance).toString;
auto c = uu[19];
assert (c == '9' || c == '8' || c == 'a' || c == 'b', uu);
auto d = uu[14];
assert (d == '4', uu);
}
// empty
assert (Uuid.empty.toString == "00000000-0000-0000-0000-000000000000", Uuid.empty.toString);
ubyte[] bytes = [0x6b, 0xa7, 0xb8, 0x10, 0x9d, 0xad, 0x11, 0xd1,
0x80, 0xb4, 0x00, 0xc0, 0x4f, 0xd4, 0x30, 0xc8];
Uuid u = Uuid(bytes.dup);
auto str = "64f2ad82-5182-4c6a-ade5-59728ca0567b";
auto u2 = Uuid.parse(str);
// toString
assert (Uuid(bytes) == u);
assert (u2 != u);
assert (u2.format == 4);
// tryParse
Uuid u3;
assert (Uuid.tryParse(str, u3));
assert (u3 == u2);
}
unittest
{
Uuid fail;
// contains 'r'
assert (!Uuid.tryParse("fecr0a9b-4d5a-439e-8e4b-9d087ff49ba7", fail));
// too short
assert (!Uuid.tryParse("fec70a9b-4d5a-439e-8e4b-9d087ff49ba", fail));
// hyphens matter
assert (!Uuid.tryParse("fec70a9b 4d5a-439e-8e4b-9d087ff49ba7", fail));
// hyphens matter (2)
assert (!Uuid.tryParse("fec70a9b-4d5a-439e-8e4b-9d08-7ff49ba7", fail));
// hyphens matter (3)
assert (!Uuid.tryParse("fec70a9b-4d5a-439e-8e4b-9d08-ff49ba7", fail));
}
unittest
{
// contains 'r'
try
{
Uuid.parse("fecr0a9b-4d5a-439e-8e4b-9d087ff49ba7"); assert (false);
}
catch (IllegalArgumentException) {}
// too short
try
{
Uuid.parse("fec70a9b-4d5a-439e-8e4b-9d087ff49ba"); assert (false);
}
catch (IllegalArgumentException) {}
// hyphens matter
try
{
Uuid.parse("fec70a9b 4d5a-439e-8e4b-9d087ff49ba7"); assert (false);
}
catch (IllegalArgumentException) {}
// hyphens matter (2)
try
{
Uuid.parse("fec70a9b-4d5a-439e-8e4b-9d08-7ff49ba7"); assert (false);
}
catch (IllegalArgumentException) {}
// hyphens matter (3)
try
{
Uuid.parse("fec70a9b-4d5a-439e-8e4b-9d08-ff49ba7"); assert (false);
}
catch (IllegalArgumentException) {}
}
import tango.util.digest.Sha1;
unittest
{
auto namespace = Uuid.parse("15288517-c402-4057-9fc5-05711726df41");
auto name = "hello";
// This was generated with the uuid utility on linux/amd64. It might have different results on
// a ppc processor -- the spec says something about network byte order, but it's using an array
// of bytes at that point, so converting to NBO is a noop...
auto expected = Uuid.parse("2b1c6704-a43f-5d43-9abb-b13310b4458a");
auto generated = Uuid.byName(namespace, name, new Sha1, 5);
assert (generated == expected, "\nexpected: " ~ expected.toString ~ "\nbut was: " ~ generated.toString);
}
import tango.util.digest.Md5;
unittest
{
auto namespace = Uuid.parse("15288517-c402-4057-9fc5-05711726df41");
auto name = "hello";
auto expected = Uuid.parse("31a2b702-85a8-349a-9b0e-213b1bd753b8");
auto generated = Uuid.byName(namespace, name, new Md5, 3);
assert (generated == expected, "\nexpected: " ~ expected.toString ~ "\nbut was: " ~ generated.toString);
}
void main(){}
}
/** A base interface for any UUID generator for UUIDs. That is,
* this interface is specified so that you write your code dependent on a
* UUID generator that takes an arbitrary random source, and easily switch
* to a different random source. Since the default uses KISS, if you find
* yourself needing more secure random numbers, you could trivially switch
* your code to use the Mersenne twister, or some other PRNG.
*
* You could also, if you wish, use this to switch to deterministic UUID
* generation, if your needs require it.
*/
interface UuidGen
{
Uuid next();
}
/** Given a random number generator conforming to Tango's standard random
* interface, this will generate random UUIDs according to version 4 of
* RFC 4122. */
class RandomGen(TRandom) : UuidGen
{
TRandom random;
this (TRandom random)
{
this.random = random;
}
Uuid next()
{
return Uuid.random(random);
}
}
| D |
//----------------------------------------------------------------------
// Info EXIT
//----------------------------------------------------------------------
INSTANCE DIA_Addon_PIR_1389_Tom_EXIT (C_INFO)
{
npc = PIR_1389_Addon_Tom;
nr = 999;
condition = DIA_Addon_PIR_Tom_EXIT_Condition;
information = DIA_Addon_PIR_Tom_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT DIA_Addon_PIR_Tom_EXIT_Condition()
{
return TRUE;
};
FUNC VOID DIA_Addon_PIR_Tom_EXIT_Info()
{
AI_StopProcessInfos (self);
};
/*
//----------------------------------------------------------------------
// Info Hi
//----------------------------------------------------------------------
INSTANCE DIA_Addon_PIR_1389_Tom_Hi (C_INFO)
{
npc = PIR_1389_Addon_Tom;
nr = 2;
condition = DIA_Addon_PIR_Tom_Hi_Condition;
information = DIA_Addon_PIR_Tom_Hi_Info;
permanent = FALSE;
description = "Und, wie geht's dir?";
};
FUNC INT DIA_Addon_PIR_Tom_Hi_Condition()
{
return TRUE;
};
FUNC VOID DIA_Addon_PIR_Tom_Hi_Info()
{
AI_Output (other, self, "DIA_Addon_PIR_Tom_Hi_15_00");//Und, wie geht's dir?
AI_Output (self, other, "DIA_Addon_PIR_Tom_Hi_11_01");//Die Piraten haben mich aufgenommen. Guck mal, sie haben mir sogar eine ihrer Rüstungen gegeben.
AI_Output (self, other, "DIA_Addon_PIR_Tom_Hi_11_02");//Aber ... Moment mal - du bist gar kein Bandit? Ich dachte ...
AI_Output (other, self, "DIA_Addon_PIR_Tom_Hi_15_03");//(zwinkert) Pssst ... bleib ruhig. Alles ist gut.
B_GivePlayerXP ((XP_Ambient) *2);
AI_StopProcessInfos (self);
};
*/
| D |
/Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/FBProfilePictureView.o : /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/AccessToken.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Permission.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Dictionary+KeyValueMap.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/FBSDKCoreKit+Typealiases.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Settings.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/FBProfilePictureView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/alloca.h /Users/myzealit/Desktop/Beacon/ios/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/myzealit/Desktop/Beacon/ios/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/clonefile.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkResolving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libgen.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkNavigation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkReturnToRefererController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkResolver.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKWebViewAppLinkResolver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_strings.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ttydefaults.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppEvents/FBSDKAppEvents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Target.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkTarget.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkReturnToRefererView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkUtility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/FBProfilePictureView~partial.swiftmodule : /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/AccessToken.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Permission.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Dictionary+KeyValueMap.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/FBSDKCoreKit+Typealiases.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Settings.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/FBProfilePictureView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/alloca.h /Users/myzealit/Desktop/Beacon/ios/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/myzealit/Desktop/Beacon/ios/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/clonefile.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkResolving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libgen.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkNavigation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkReturnToRefererController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkResolver.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKWebViewAppLinkResolver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_strings.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ttydefaults.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppEvents/FBSDKAppEvents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Target.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkTarget.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkReturnToRefererView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkUtility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/Objects-normal/x86_64/FBProfilePictureView~partial.swiftdoc : /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/AccessToken.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Permission.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Dictionary+KeyValueMap.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/FBSDKCoreKit+Typealiases.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/Settings.swift /Users/myzealit/Desktop/Beacon/ios/Pods/FacebookCore/Sources/Core/FBProfilePictureView.swift /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/ObjectiveC.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreImage.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/QuartzCore.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Dispatch.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Metal.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Darwin.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Foundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreFoundation.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/CoreGraphics.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/Swift.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/UIKit.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/SwiftOnoneSupport.swiftmodule/x86_64.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Combine.framework/Modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftinterface /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval32.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ucontext64.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet6/in6.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceObjC.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransform3D.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUUID.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURL.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURL.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugInCOM.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIO.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/alloca.h /Users/myzealit/Desktop/Beacon/ios/Pods/Target\ Support\ Files/FacebookCore/FacebookCore-umbrella.h /Users/myzealit/Desktop/Beacon/ios/Pods/Target\ Support\ Files/FBSDKCoreKit/FBSDKCoreKit-umbrella.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSData.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/data.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolMetadata.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/quota.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTextTab.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netdb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/timeb.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernelMetalLib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_stdlib.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/glob.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timespec.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomic.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_o_sync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_o_dsync.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/malloc/malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/malloc/_malloc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/proc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ipc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/rpc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exc.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSThread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/pthread.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/sched.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ucred.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomicDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSSpinLockDeprecated.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_ctermid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/uuid/uuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/gethostuuid.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchTextField.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKeyCommand.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSound.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/kmod.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboard.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/unistd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pwd.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_interface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtectionSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorSpace.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDevice.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenshotService.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbarAppearance.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFence.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionDifference.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/once.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDiffableDataSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageSource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/source.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/resource.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILayoutGuide.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenMode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLNode.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/rbtree.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFPage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookieStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/ThreadLocalStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredentialStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextStorage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPMessage.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/message.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedCollectionChange.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLAuthenticationChallenge.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTextureCache.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHTTPCookie.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_locale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_xlocale.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSHashTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMapTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFOperatorTable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_purgable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_posix_vdisable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/EAGLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDrawable.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileHandle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSBundle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/file.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/clonefile.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/copyfile.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTParagraphStyle.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/utsname.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFrame.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVHostTime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_time.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObjCRuntime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/runtime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/utime.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindowScene.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTLine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputePipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPipeline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_os_inline.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimeZone.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterShape.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureScope.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_ctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/__wctype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/runetype.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/semaphore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUbiquitousKeyValueStore.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFeature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMethodSignature.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVOpenGLESTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVMetalTexture.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CABase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/ImageIOBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceBase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/base.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/readpassphrase.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationResponse.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRasterizationRate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCompoundPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSComparisonPredicate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecCertificate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteDelegate.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKApplicationDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRunDelegate.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/thread_state.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/CipherSuite.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSAtomicQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotificationQueue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/queue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStoryboardPopoverSegue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValue.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/time_value.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_page_size.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_setsize.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_def.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStddef.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_offsetof.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBag.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/fp_reg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mig.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfigurationReading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGShading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibLoading.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueCoding.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragging.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionRequestHandling.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderThumbnailing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTiming.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitioning.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropping.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSAttributedString.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_string.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_symbol_aliasing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataSourceTranslating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewAnimating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderEnumerating.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/AssertionReporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextPasteConfigurationSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteractionSupporting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContentSizeCategoryImageAdjusting.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategoryAdjusting.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkResolving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyValueObserving.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStringDrawing.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSStringDrawing.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCopying.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMutableCopying.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syslog.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/msg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fmtmsg.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/mach_debug.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/search.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fnmatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/dispatch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwitch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_switch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITouch.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBezierPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/KeyPath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/math.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/tgmath.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/kauth.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-api.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/port_obj.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sigaltstack.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/lock.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/block.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CADisplayLink.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetwork.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_task.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecSharedCredential.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/signal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AvailabilityInternal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDropProposal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_timeval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateInterval.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/acl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_dl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILabel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIKernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/dyld_kernel.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/gl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDepthStencil.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/util.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syscall.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCell.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/poll.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNull.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_null.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLProtocol.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSAutoreleasePool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferPool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStdbool.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISegmentedControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRefreshControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecAccessControl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/pthread_impl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ioctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sysctl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/fcntl.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFFTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFSocketStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContentStream.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_param.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ndbm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplicationShortcutItem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_nl_item.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/System.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuSystem.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/shm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ioccom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ttycom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Random.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecRandom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityZoom.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGAffineTransform.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/vm.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPlugIn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/boolean.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_endian.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/mman.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dlfcn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libgen.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKAccessToken.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet/in.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDomain.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILexicon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRegion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_region.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationServiceExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSFileProviderExtension.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileVersion.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragSession.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRegularExpression.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityIdentification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUserNotification.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIApplication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHTTPAuthentication.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSInvocation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkNavigation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILocalizedIndexedCollation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CoreAnimation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRenderDestination.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOperation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderItemDecoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStateRestoration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageSymbolConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewControllerConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder+UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeActionsConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuConfiguration.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRubyAnnotation.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSJSONSerialization.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextualAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserAction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISpringLoadedInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPencilInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextItemInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDropInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContextMenuInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewInteraction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransaction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontCollection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXPCConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLConnection.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestConnection.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAValueFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMediaTimingFunction.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSException.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exception.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelFormatDescription.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarCommon.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_common.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIButton.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKButton.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPattern.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVReturn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/kern_return.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/un.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTRun.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/spawn.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTGlyphInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColorConversionInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProcessInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/ipc_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/page_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/zone_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/hash_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/vm_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/lockgroup_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_info.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_langinfo.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/io.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/aio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_stdio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/sockio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/filio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/cpio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/uio.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/errno.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_zero.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/objc-auto.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBinaryHeap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_map.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/bootstrap.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/netinet/tcp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/setjmp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRunLoop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/workloop.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/grp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBarButtonItemGroup.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/group.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wordexp.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationBar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIToolbar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCalendar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_char.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_wchar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/tar.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_var.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/ndr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDecimalNumber.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISlider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/FileProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingCurveProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSUserActivity+NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityItemProvider.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuBuilder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLResourceStateCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLComputeCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLParallelRenderCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBlitCommandEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgumentEncoder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/i386/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/i386/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/libkern/_OSByteOrder.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/architecture/byte_order.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLIndirectCommandBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVImageBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLCaptureManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUndoManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStatusBarManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderManager.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKTestUsersManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/DocumentManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutManager.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLinguisticTagger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationTrigger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusDebugger.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextChecker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDatePicker.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICloudSharingController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINavigationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverPresentationController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintInteractionController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITabBarController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImagePickerController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinterPickerController.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkReturnToRefererController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVideoEditorController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPageViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerExtensionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontPickerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchContainerViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentBrowserViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISplitViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocumentMenuViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIReferenceLibraryViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityViewController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISearchDisplayController.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CISampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLSampler.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTimer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSValueTransformer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGDataConsumer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityContainer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSScanner.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPaper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileWrapper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStepper.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsPDFRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintPageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsImageRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragPreviewRenderer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSXMLParser.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccelerometer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIRAWFilter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNUserNotificationCenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFilePresenter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrinter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSRelativeDateTimeFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSLengthFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateIntervalFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNumberFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMassFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDateComponentsFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurementFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSByteCountFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSListFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnergyFormatter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFramesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTTypesetter.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSKeyedArchiver.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkResolver.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKWebViewAppLinkResolver.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILargeContentViewer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CALayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEAGLLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATiledLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAShapeLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAMetalLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAScrollLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATransformLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAEmitterLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAReplicatorLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CAGradientLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/CATextLayer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringTokenizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISwipeGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPinchGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreenEdgePanGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIRotationGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITapGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIHoverGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UILongPressGestureRecognizer.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_clr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutAnchor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFieldBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPushBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicItemBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollisionBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISnapBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAttachmentBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGravityBehavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_behavior.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPrintError.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_error.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageProcessor.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphErrorRecoveryProcessor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImageAccumulator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDynamicAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewPropertyAnimator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextFormattingCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusAnimationCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewControllerTransitionCoordinator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSEnumerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINotificationFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISelectionFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImpactFeedbackGenerator.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBitVector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIDetector.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterConstructor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityCustomRotor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIBarcodeDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityLocationDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSortDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLStageInputOutputDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLVertexDescriptor.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/err.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/attr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/xattr.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RuntimeStubs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFontMetrics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_statistics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetDiagnostics.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSNetServices.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPreferences.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPathUtilities.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/ImageIO.framework/Headers/CGImageProperties.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/times.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImageDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKitDefines.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/MacTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/SFNTLayoutTypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/std_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/if_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach_debug/mach_debug_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/nl_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/exception_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_voucher_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/memory_object_types.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/gltypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_inttypes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMetadataAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTStringAttributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_attributes.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLFunctionConstantValues.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkDefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/cdefs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/statvfs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xattr_flags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/eflags.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/strings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/secure/_strings.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserNotificationSettings.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/paths.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread_spis.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/TargetConditionals.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_syscalls.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSDataShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/LibcShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/UnicodeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSLocaleShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RuntimeShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSTimeZoneShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CFHashingShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSIndexPathShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CoreFoundationShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCalendarShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCoderShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSFileManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSUndoManagerShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSKeyedArchiverShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSErrorShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CFCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSCharacterSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSIndexSetShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/ObjectiveCOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/LibcOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/DispatchOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/CoreFoundationOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/UIKitOverlayShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/NSDictionaryShims.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIFilterBuiltins.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/NSString+UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UINibDeclarations.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderActions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccessRestrictions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerFunctions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UNNotificationResponse+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSIndexPath+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityAdditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneActivationConditions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneDefinitions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UISceneOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolOptions.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/termios.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/pthread/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/qos.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ConditionalMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AssertMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/AvailabilityMacros.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_traps.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ifaddrs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITimingParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreviewParameters.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFNetworkErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontManagerErrors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mig_errors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDataDetectors.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLRenderPass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGraphicsRendererSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGestureRecognizerSubclass.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFURLAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGuidedAccess.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProgress.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/GlobalObjects.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/_structs.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFontTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInputTraits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_limits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/syslimits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sysexits.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ttydefaults.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityConstants.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPersonNameComponents.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppEvents/FBSDKAppEvents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/bsm/audit_uevents.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/appleapiopts.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_special_ports.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocus.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/i386/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/machine/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_status.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextDragURLPreviews.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint32_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ino64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint64_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint16_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uint8_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_filesec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_iovec_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsobj_id_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_gid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_pid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_guid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uuid_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_cond_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_once_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mode_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_time_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ct_rune_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_wctype_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mbstate_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_size_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_blksize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_rsize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ssize_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ptrdiff_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_off_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_clock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_rwlock_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_nlink_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_socklen_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ino_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_errno_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_wchar_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_in_addr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_caddr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_intptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_uintptr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_attr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_condattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_rwlockattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_mutexattr_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_useconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_suseconds_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_wctrans_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sigset_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_blkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsblkcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fsfilcnt_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_wint_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_mach_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_in_port_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_dev_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_intmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_types/_uintmax_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_mutex_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_pthread/_pthread_key_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_sa_family_t.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLPixelFormat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/float.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/stat.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_act.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMotionEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIBlurEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVibrancyEffect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecProtocolObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/HeapObject.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dispatch/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/object.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_select.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_inspect.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrderedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderMaterializedSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSCharacterSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSIndexSet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/ShareSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActionSheet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Target.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkTarget.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFSocket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/socket.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/arpa/inet.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/lock_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_seek_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/processor_set.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSDataAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageAsset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_isset.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/wait.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/bsm/audit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ulimit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUnit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_init.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_inherit.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSTextCheckingResult.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_s_ifmt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGradient.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenuElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibilityElement.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSMeasurement.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequestDataAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSTextAttachment.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIManagedDocument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLArgument.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/dirent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationContent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPressesEvent.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKMeasurementEvent.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/event.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFocusMovementHint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_int.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSLayoutConstraint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/SwiftStdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/stdint.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CTFont.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/RefCount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/mount.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_reboot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/vm_prot.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/getopt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/assert.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMessagePort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFMachPort.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_u_short.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_port.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/FoundationShimSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverSupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFProxySupport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecureTransport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecImportExport.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSURLRequest.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKGraphRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderRequest.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPropertyList.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_va_list.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CFNetwork.framework/Headers/CFHost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/mach_host.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/kdebug_signpost.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecTrust.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewCompositionalLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewTransitionLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionViewFlowLayout.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextInput.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStringEncodingExt.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES1/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES2/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/ES3/glext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIOpenURLContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSExtensionContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGBitmapContext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/i386/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/machine/_mcontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_ucontext.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIMenu.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/net/net_kev.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_priv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/fenv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/iconv.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWebView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPopoverBackgroundView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImageView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableView.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKProfilePictureView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIStackView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScrollView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UICollectionView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIPickerView.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkReturnToRefererView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITableViewHeaderFooterView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivityIndicatorView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIProgressView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIVisualEffectView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAlertView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInputView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITextView.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITargetedDragPreview.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSShadow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIWindow.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/ftw.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_regex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/complex.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/utmpx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/lctx.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSPointerArray.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecPolicy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/sync_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/thread_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/task_policy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecKey.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_notify.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSOrthography.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/clock_reply.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_types/_fd_copy.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGPDFDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSDictionary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/MTLLibrary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/xlocale/_monetary.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/FileProvider.framework/Headers/NSFileProviderSearchQuery.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIContentSizeCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UNNotificationCategory.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CGGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIGeometry.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLESAvailability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/os/availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/sys/_posix_availability.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/Visibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIAccessibility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/FoundationLegacySwiftCompatibility.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.h /Users/myzealit/Desktop/Beacon/ios/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/AppLink/FBSDKAppLinkUtility.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFFileSecurity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/mach/host_security.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/SecIdentity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserActivity.h /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSProxy.h /Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FacebookCore.build/unextended-module.modulemap /Users/myzealit/Desktop/Beacon/ios/build/Beacon/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/FBSDKCoreKit.build/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/lib/swift/shims/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/WebKit.framework/Headers/WebKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.1.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/lukeanglin/Desktop/Probability/Project2/simulator/sim/target/rls/debug/build/libc-27e2b32ea8f7b973/build_script_build-27e2b32ea8f7b973: /Users/lukeanglin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.89/build.rs
/Users/lukeanglin/Desktop/Probability/Project2/simulator/sim/target/rls/debug/build/libc-27e2b32ea8f7b973/build_script_build-27e2b32ea8f7b973.d: /Users/lukeanglin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.89/build.rs
/Users/lukeanglin/.cargo/registry/src/github.com-1ecc6299db9ec823/libc-0.2.89/build.rs:
| D |
// Copyright Ferdinand Majerech 2010 - 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
///Functions generating factory code.
module util.factory;
@safe
import std.string;
import std.typecons;
import util.stringctfe;
/**
* Generates data members and setters used in factory classes.
*
* Each input string specifies a type, name and default value of a parameter,
* delimited by the '$' character. E.g.:
* --------------------
* "string $ width $ \"64\""
* --------------------
* will generate data member "width_" (notice trailing underscore)
* of type string with default value of "64", and a setter "width", like this:
* --------------------
* protected string width_ = \"64\";
* public void width(string width){width_ = width};
* --------------------
*
* Params: parameter_strings = Array of strings representing factory members,
* their types and default values.
*
* Returns: Generated code ready to be inserted into a factory class definition.
*/
string generate_factory(string[] parameter_strings ...)
{
alias Tuple!(string, "type", string, "name", string, "def_value") Parameter;
//Preallocating because appending here causes a compiler error.
Parameter[] params = new Parameter[parameter_strings.length];
foreach(i, param; parameter_strings)
{
string[] p = param.split("$");
assert(p.length == 3, "Malformed parameter to generate factory code: " ~ param);
params[i] = Parameter(p[0].strip_ctfe(), p[1].strip_ctfe(), p[2].strip_ctfe());
}
string data, setters;
foreach(p; params)
{
data ~= p.type ~ " " ~ p.name ~ "_ = " ~ p.def_value ~ ";\n";
setters ~= "void " ~ p.name ~ "(" ~ p.type ~ " " ~ p.name ~ "){" ~
p.name ~ "_ = " ~ p.name ~ ";}\n";
}
return "protected:\n" ~ data ~ "public:\n" ~ setters;
}
unittest
{
string expected =
"protected:\n"
"string a_ = \"default\";\n"
"int b_ = 42;\n"
"public:\n"
"void a(string a){a_ = a;}\n"
"void b(int b){b_ = b;}\n";
assert(expected == generate_factory("string $ a $ \"default\"", "int $ b $ 42"),
"Unexpected factory code generated");
}
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 2012-2019 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cv8.d, backend/cv8.d)
*/
// This module generates the .debug$S and .debug$T sections for Win64,
// which are the MS-Coff symbolic debug info and type debug info sections.
module dmd.backend.cv8;
version (MARS)
{
import core.stdc.stdio;
import core.stdc.stdlib;
import core.stdc.string;
extern (C) char* getcwd(char*, size_t);
import dmd.backend.cc;
import dmd.backend.cdef;
import dmd.backend.cgcv;
import dmd.backend.code;
import dmd.backend.code_x86;
import dmd.backend.cv4;
import dmd.backend.memh;
import dmd.backend.el;
import dmd.backend.exh;
import dmd.backend.global;
import dmd.backend.obj;
import dmd.backend.oper;
import dmd.backend.outbuf;
import dmd.backend.rtlsym;
import dmd.backend.ty;
import dmd.backend.type;
import dmd.backend.varstats;
import dmd.backend.xmm;
extern (C++):
static if (TARGET_WINDOS)
{
int REGSIZE();
// Determine if this Symbol is stored in a COMDAT
bool symbol_iscomdat(Symbol* s)
{
version (MARS)
{
return s.Sclass == SCcomdat ||
config.flags2 & CFG2comdat && s.Sclass == SCinline ||
config.flags4 & CFG4allcomdat && s.Sclass == SCglobal;
}
else
{
return s.Sclass == SCcomdat ||
config.flags2 & CFG2comdat && s.Sclass == SCinline ||
config.flags4 & CFG4allcomdat && (s.Sclass == SCglobal || s.Sclass == SCstatic);
}
}
// if symbols get longer than 65500 bytes, the linker reports corrupt debug info or exits with
// 'fatal error LNK1318: Unexpected PDB error; RPC (23) '(0x000006BA)'
enum CV8_MAX_SYMBOL_LENGTH = 0xffd8;
// The "F1" section, which is the symbols
private __gshared Outbuffer *F1_buf;
// The "F2" section, which is the line numbers
private __gshared Outbuffer *F2_buf;
// The "F3" section, which is global and a string table of source file names.
private __gshared Outbuffer *F3_buf;
// The "F4" section, which is global and a lists info about source files.
private __gshared Outbuffer *F4_buf;
/* Fixups that go into F1 section
*/
struct F1_Fixups
{
Symbol *s;
uint offset;
uint value;
}
private __gshared Outbuffer *F1fixup; // array of F1_Fixups
/* Struct in which to collect per-function data, for later emission
* into .debug$S.
*/
struct FuncData
{
Symbol *sfunc;
uint section_length;
const(char)* srcfilename;
uint srcfileoff;
uint linepairstart; // starting index of offset/line pairs in linebuf[]
uint linepairnum; // number of offset/line pairs
Outbuffer *f1buf;
Outbuffer *f1fixup;
}
__gshared FuncData currentfuncdata;
private __gshared Outbuffer *funcdata; // array of FuncData's
private __gshared Outbuffer *linepair; // array of offset/line pairs
void cv8_writename(Outbuffer *buf, const(char)* name, size_t len)
{
if(config.flags2 & CFG2gms)
{
const(char)* start = name;
const(char)* cur = strchr(start, '.');
const(char)* end = start + len;
while(cur != null)
{
if(cur >= end)
{
buf.writen(start, end - start);
return;
}
buf.writen(start, cur - start);
buf.writeByte('@');
start = cur + 1;
if(start >= end)
return;
cur = strchr(start, '.');
}
buf.writen(start, end - start);
}
else
buf.writen(name, len);
}
/************************************************
* Called at the start of an object file generation.
* One source file can generate multiple object files; this starts an object file.
* Input:
* filename source file name
*/
void cv8_initfile(const(char)* filename)
{
//printf("cv8_initfile()\n");
// Recycle buffers; much faster than delete/renew
if (!F1_buf)
{
__gshared Outbuffer f1buf;
f1buf.enlarge(1024);
F1_buf = &f1buf;
}
F1_buf.setsize(0);
if (!F1fixup)
{
__gshared Outbuffer f1fixupbuf;
f1fixupbuf.enlarge(1024);
F1fixup = &f1fixupbuf;
}
F1fixup.setsize(0);
if (!F2_buf)
{
__gshared Outbuffer f2buf;
f2buf.enlarge(1024);
F2_buf = &f2buf;
}
F2_buf.setsize(0);
if (!F3_buf)
{
__gshared Outbuffer f3buf;
f3buf.enlarge(1024);
F3_buf = &f3buf;
}
F3_buf.setsize(0);
F3_buf.writeByte(0); // first "filename"
if (!F4_buf)
{
__gshared Outbuffer f4buf;
f4buf.enlarge(1024);
F4_buf = &f4buf;
}
F4_buf.setsize(0);
if (!funcdata)
{
__gshared Outbuffer funcdatabuf;
funcdatabuf.enlarge(1024);
funcdata = &funcdatabuf;
}
funcdata.setsize(0);
if (!linepair)
{
__gshared Outbuffer linepairbuf;
linepairbuf.enlarge(1024);
linepair = &linepairbuf;
}
linepair.setsize(0);
memset(¤tfuncdata, 0, currentfuncdata.sizeof);
currentfuncdata.f1buf = F1_buf;
currentfuncdata.f1fixup = F1fixup;
cv_init();
}
void cv8_termfile(const(char)* objfilename)
{
//printf("cv8_termfile()\n");
/* Write out the debug info sections.
*/
int seg = MsCoffObj_seg_debugS();
uint value = 4;
objmod.bytes(seg,0,4,&value);
/* Start with starting symbol in separate "F1" section
*/
Outbuffer buf;
buf.enlarge(1024);
size_t len = strlen(objfilename);
buf.writeWord(cast(int)(2 + 4 + len + 1));
buf.writeWord(S_COMPILAND_V3);
buf.write32(0);
buf.write(objfilename, cast(uint)(len + 1));
// write S_COMPILE record
buf.writeWord(2 + 1 + 1 + 2 + 1 + VERSION.length + 1);
buf.writeWord(S_COMPILE);
buf.writeByte(I64 ? 0xD0 : 6); // target machine AMD64 or x86 (Pentium II)
buf.writeByte(config.flags2 & CFG2gms ? (CPP != 0) : 'D'); // language index (C/C++/D)
buf.writeWord(0x800 | (config.inline8087 ? 0 : (1<<3))); // 32-bit, float package
buf.writeByte(VERSION.length + 1);
buf.writeByte('Z');
buf.write(VERSION.ptr, VERSION.length);
cv8_writesection(seg, 0xF1, &buf);
// Write out "F2" sections
uint length = cast(uint)funcdata.size();
ubyte *p = funcdata.buf;
for (uint u = 0; u < length; u += FuncData.sizeof)
{ FuncData *fd = cast(FuncData *)(p + u);
F2_buf.setsize(0);
F2_buf.write32(cast(uint)fd.sfunc.Soffset);
F2_buf.write32(0);
F2_buf.write32(fd.section_length);
F2_buf.write32(fd.srcfileoff);
F2_buf.write32(fd.linepairnum);
F2_buf.write32(fd.linepairnum * 8 + 12);
F2_buf.write(linepair.buf + fd.linepairstart * 8, fd.linepairnum * 8);
int f2seg = seg;
if (symbol_iscomdat(fd.sfunc))
{
f2seg = MsCoffObj_seg_debugS_comdat(fd.sfunc);
objmod.bytes(f2seg,0,4,&value);
}
uint offset = cast(uint)SegData[f2seg].SDoffset + 8;
cv8_writesection(f2seg, 0xF2, F2_buf);
objmod.reftoident(f2seg, offset, fd.sfunc, 0, CFseg | CFoff);
if (f2seg != seg && fd.f1buf.size())
{
// Write out "F1" section
const uint f1offset = cast(uint)SegData[f2seg].SDoffset;
cv8_writesection(f2seg, 0xF1, fd.f1buf);
// Fixups for "F1" section
const uint fixupLength = cast(uint)fd.f1fixup.size();
ubyte *pfixup = fd.f1fixup.buf;
for (uint v = 0; v < fixupLength; v += F1_Fixups.sizeof)
{ F1_Fixups *f = cast(F1_Fixups *)(pfixup + v);
objmod.reftoident(f2seg, f1offset + 8 + f.offset, f.s, f.value, CFseg | CFoff);
}
}
}
// Write out "F3" section
cv8_writesection(seg, 0xF3, F3_buf);
// Write out "F4" section
cv8_writesection(seg, 0xF4, F4_buf);
if (F1_buf.size())
{
// Write out "F1" section
uint f1offset = cast(uint)SegData[seg].SDoffset;
cv8_writesection(seg, 0xF1, F1_buf);
// Fixups for "F1" section
length = cast(uint)F1fixup.size();
p = F1fixup.buf;
for (uint u = 0; u < length; u += F1_Fixups.sizeof)
{ F1_Fixups *f = cast(F1_Fixups *)(p + u);
objmod.reftoident(seg, f1offset + 8 + f.offset, f.s, f.value, CFseg | CFoff);
}
}
// Write out .debug$T section
cv_term();
}
/************************************************
* Called at the start of a module.
* Note that there can be multiple modules in one object file.
* cv8_initfile() must be called first.
*/
void cv8_initmodule(const(char)* filename, const(char)* modulename)
{
//printf("cv8_initmodule(filename = %s, modulename = %s)\n", filename, modulename);
/* Experiments show that filename doesn't have to be qualified if
* it is relative to the directory the .exe file is in.
*/
currentfuncdata.srcfileoff = cv8_addfile(filename);
}
void cv8_termmodule()
{
//printf("cv8_termmodule()\n");
assert(config.objfmt == OBJ_MSCOFF);
}
/******************************************
* Called at the start of a function.
*/
void cv8_func_start(Symbol *sfunc)
{
//printf("cv8_func_start(%s)\n", sfunc.Sident);
currentfuncdata.sfunc = sfunc;
currentfuncdata.section_length = 0;
currentfuncdata.srcfilename = null;
currentfuncdata.srcfileoff = 0;
currentfuncdata.linepairstart += currentfuncdata.linepairnum;
currentfuncdata.linepairnum = 0;
currentfuncdata.f1buf = F1_buf;
currentfuncdata.f1fixup = F1fixup;
if (symbol_iscomdat(sfunc))
{
// This leaks memory
currentfuncdata.f1buf = cast(Outbuffer*)mem_calloc(Outbuffer.sizeof);
currentfuncdata.f1buf.enlarge(128);
currentfuncdata.f1fixup = cast(Outbuffer*)mem_calloc(Outbuffer.sizeof);
currentfuncdata.f1fixup.enlarge(128);
}
varStats_startFunction();
}
void cv8_func_term(Symbol *sfunc)
{
//printf("cv8_func_term(%s)\n", sfunc.Sident);
assert(currentfuncdata.sfunc == sfunc);
currentfuncdata.section_length = cast(uint)(retoffset + retsize);
funcdata.write(¤tfuncdata, currentfuncdata.sizeof);
// Write function symbol
assert(tyfunc(sfunc.ty()));
idx_t typidx;
func_t* fn = sfunc.Sfunc;
if(fn.Fclass)
{
// generate member function type info
// it would be nicer if this could be in cv4_typidx, but the function info is not available there
uint nparam;
ubyte call = cv4_callconv(sfunc.Stype);
idx_t paramidx = cv4_arglist(sfunc.Stype,&nparam);
uint next = cv4_typidx(sfunc.Stype.Tnext);
type* classtype = cast(type*)fn.Fclass;
uint classidx = cv4_typidx(classtype);
type *tp = type_allocn(TYnptr, classtype);
uint thisidx = cv4_typidx(tp); // TODO
debtyp_t *d = debtyp_alloc(2 + 4 + 4 + 4 + 1 + 1 + 2 + 4 + 4);
TOWORD(d.data.ptr,LF_MFUNCTION_V2);
TOLONG(d.data.ptr + 2,next); // return type
TOLONG(d.data.ptr + 6,classidx); // class type
TOLONG(d.data.ptr + 10,thisidx); // this type
d.data.ptr[14] = call;
d.data.ptr[15] = 0; // reserved
TOWORD(d.data.ptr + 16,nparam);
TOLONG(d.data.ptr + 18,paramidx);
TOLONG(d.data.ptr + 22,0); // this adjust
typidx = cv_debtyp(d);
}
else
typidx = cv_typidx(sfunc.Stype);
const(char)* id = sfunc.prettyIdent ? sfunc.prettyIdent : prettyident(sfunc);
size_t len = strlen(id);
if(len > CV8_MAX_SYMBOL_LENGTH)
len = CV8_MAX_SYMBOL_LENGTH;
/*
* 2 length (not including these 2 bytes)
* 2 S_GPROC_V3
* 4 parent
* 4 pend
* 4 pnext
* 4 size of function
* 4 size of function prolog
* 4 offset to function epilog
* 4 type index
* 6 seg:offset of function start
* 1 flags
* n 0 terminated name string
*/
Outbuffer *buf = currentfuncdata.f1buf;
buf.reserve(cast(uint)(2 + 2 + 4 * 7 + 6 + 1 + len + 1));
buf.writeWordn(cast(int)(2 + 4 * 7 + 6 + 1 + len + 1));
buf.writeWordn(sfunc.Sclass == SCstatic ? S_LPROC_V3 : S_GPROC_V3);
buf.write32(0); // parent
buf.write32(0); // pend
buf.write32(0); // pnext
buf.write32(cast(uint)currentfuncdata.section_length); // size of function
buf.write32(cast(uint)startoffset); // size of prolog
buf.write32(cast(uint)retoffset); // offset to epilog
buf.write32(typidx);
F1_Fixups f1f;
f1f.s = sfunc;
f1f.offset = cast(uint)buf.size();
f1f.value = 0;
currentfuncdata.f1fixup.write(&f1f, f1f.sizeof);
buf.write32(0);
buf.writeWordn(0);
buf.writeByte(0);
buf.writen(id, len);
buf.writeByte(0);
struct cv8
{
// record for CV record S_BLOCK_V3
struct block_v3_data
{
ushort len;
ushort id;
uint pParent;
uint pEnd;
uint length;
uint offset;
ushort seg;
ubyte[1] name;
}
extern (C++) static void endArgs()
{
Outbuffer *buf = currentfuncdata.f1buf;
buf.writeWord(2);
buf.writeWord(S_ENDARG);
}
extern (C++) static void beginBlock(int offset, int length)
{
Outbuffer *buf = currentfuncdata.f1buf;
uint soffset = cast(uint)buf.size();
// parent and end to be filled by linker
block_v3_data block32 = { block_v3_data.sizeof - 2, S_BLOCK_V3, 0, 0, length, offset, 0, [ 0 ] };
buf.write(&block32, block32.sizeof);
size_t offOffset = cast(char*)&block32.offset - cast(char*)&block32;
F1_Fixups f1f;
f1f.s = currentfuncdata.sfunc;
f1f.offset = cast(uint)(soffset + offOffset);
f1f.value = offset;
currentfuncdata.f1fixup.write(&f1f, f1f.sizeof);
}
extern (C++) static void endBlock()
{
Outbuffer *buf = currentfuncdata.f1buf;
buf.writeWord(2);
buf.writeWord(S_END);
}
}
varStats_writeSymbolTable(&globsym, &cv8_outsym, &cv8.endArgs, &cv8.beginBlock, &cv8.endBlock);
/* Put out function return record S_RETURN
* (VC doesn't, so we won't bother, either.)
*/
// Write function end symbol
buf.writeWord(2);
buf.writeWord(S_END);
currentfuncdata.f1buf = F1_buf;
currentfuncdata.f1fixup = F1fixup;
}
/**********************************************
*/
void cv8_linnum(Srcpos srcpos, uint offset)
{
//printf("cv8_linnum(file = %s, line = %d, offset = x%x)\n", srcpos.Sfilename, (int)srcpos.Slinnum, (uint)offset);
if (currentfuncdata.srcfilename)
{
/* Ignore line numbers from different files in the same function.
* This can happen with inlined functions.
* To make this work would require a separate F2 section for each different file.
*/
if (currentfuncdata.srcfilename != srcpos.Sfilename &&
strcmp(currentfuncdata.srcfilename, srcpos.Sfilename))
return;
}
else
{
currentfuncdata.srcfilename = srcpos.Sfilename;
currentfuncdata.srcfileoff = cv8_addfile(srcpos.Sfilename);
}
varStats_recordLineOffset(srcpos, offset);
__gshared uint lastoffset;
__gshared uint lastlinnum;
if (currentfuncdata.linepairnum)
{
if (offset <= lastoffset || srcpos.Slinnum <= lastlinnum)
return;
}
lastoffset = offset;
lastlinnum = srcpos.Slinnum;
linepair.write32(cast(uint)offset);
linepair.write32(cast(uint)srcpos.Slinnum | 0x80000000);
++currentfuncdata.linepairnum;
}
/**********************************************
* Add source file, if it isn't already there.
* Return offset into F4.
*/
uint cv8_addfile(const(char)* filename)
{
//printf("cv8_addfile('%s')\n", filename);
/* The algorithms here use a linear search. This is acceptable only
* because we expect only 1 or 2 files to appear.
* Unlike C, there won't be lots of .h source files to be accounted for.
*/
uint length = cast(uint)F3_buf.size();
ubyte *p = F3_buf.buf;
size_t len = strlen(filename);
// ensure the filename is absolute to help the debugger to find the source
// without having to know the working directory during compilation
__gshared char[260] cwd = 0;
__gshared uint cwdlen;
bool abs = (*filename == '\\') ||
(*filename == '/') ||
(*filename && filename[1] == ':');
if (!abs && cwd[0] == 0)
{
if (getcwd(cwd.ptr, cwd.sizeof))
{
cwdlen = cast(uint)strlen(cwd.ptr);
if(cwd[cwdlen - 1] != '\\' && cwd[cwdlen - 1] != '/')
cwd[cwdlen++] = '\\';
}
}
uint off = 1;
while (off + len < length)
{
if (!abs)
{
if (memcmp(p + off, cwd.ptr, cwdlen) == 0 &&
memcmp(p + off + cwdlen, filename, len + 1) == 0)
goto L1;
}
else if (memcmp(p + off, filename, len + 1) == 0)
{ // Already there
//printf("\talready there at %x\n", off);
goto L1;
}
off += strlen(cast(const(char)* )(p + off)) + 1;
}
off = length;
// Add it
if(!abs)
F3_buf.write(cwd.ptr, cwdlen);
F3_buf.write(filename, cast(uint)(len + 1));
L1:
// off is the offset of the filename in F3.
// Find it in F4.
length = cast(uint)F4_buf.size();
p = F4_buf.buf;
uint u = 0;
while (u + 8 <= length)
{
//printf("\t%x\n", *(uint *)(p + u));
if (off == *cast(uint *)(p + u))
{
//printf("\tfound %x\n", u);
return u;
}
u += 4;
ushort type = *cast(ushort *)(p + u);
u += 2;
if (type == 0x0110)
u += 16; // MD5 checksum
u += 2;
}
// Not there. Add it.
F4_buf.write32(off);
/* Write 10 01 [MD5 checksum]
* or
* 00 00
*/
F4_buf.writeShort(0);
// 2 bytes of pad
F4_buf.writeShort(0);
//printf("\tadded %x\n", length);
return length;
}
void cv8_writesection(int seg, uint type, Outbuffer *buf)
{
/* Write out as:
* bytes desc
* -------+----
* 4 type
* 4 length
* length data
* pad pad to 4 byte boundary
*/
uint off = cast(uint)SegData[seg].SDoffset;
objmod.bytes(seg,off,4,&type);
uint length = cast(uint)buf.size();
objmod.bytes(seg,off+4,4,&length);
objmod.bytes(seg,off+8,length,buf.buf);
// Align to 4
uint pad = ((length + 3) & ~3) - length;
objmod.lidata(seg,off+8+length,pad);
}
void cv8_outsym(Symbol *s)
{
//printf("cv8_outsym(s = '%s')\n", s.Sident);
//type_print(s.Stype);
//symbol_print(s);
if (s.Sflags & SFLnodebug)
return;
idx_t typidx = cv_typidx(s.Stype);
//printf("typidx = %x\n", typidx);
const(char)* id = s.prettyIdent ? s.prettyIdent : prettyident(s);
size_t len = strlen(id);
if(len > CV8_MAX_SYMBOL_LENGTH)
len = CV8_MAX_SYMBOL_LENGTH;
F1_Fixups f1f;
f1f.value = 0;
Outbuffer *buf = currentfuncdata.f1buf;
uint sr;
uint base;
switch (s.Sclass)
{
case SCparameter:
case SCregpar:
case SCshadowreg:
if (s.Sfl == FLreg)
{
s.Sfl = FLpara;
cv8_outsym(s);
s.Sfl = FLreg;
goto case_register;
}
base = cast(uint)(Para.size - BPoff); // cancel out add of BPoff
goto L1;
case SCauto:
if (s.Sfl == FLreg)
goto case_register;
case_auto:
base = cast(uint)Auto.size;
L1:
if (s.Sscope) // local variables moved into the closure cannot be emitted directly
break;
static if (1)
{
// Register relative addressing
buf.reserve(cast(uint)(2 + 2 + 4 + 4 + 2 + len + 1));
buf.writeWordn(cast(uint)(2 + 4 + 4 + 2 + len + 1));
buf.writeWordn(0x1111);
buf.write32(cast(uint)(s.Soffset + base + BPoff));
buf.write32(typidx);
buf.writeWordn(I64 ? 334 : 22); // relative to RBP/EBP
cv8_writename(buf, id, len);
buf.writeByte(0);
}
else
{
// This is supposed to work, implicit BP relative addressing, but it does not
buf.reserve(2 + 2 + 4 + 4 + len + 1);
buf.writeWordn( 2 + 4 + 4 + len + 1);
buf.writeWordn(S_BPREL_V3);
buf.write32(s.Soffset + base + BPoff);
buf.write32(typidx);
cv8_writename(buf, id, len);
buf.writeByte(0);
}
break;
case SCbprel:
base = -BPoff;
goto L1;
case SCfastpar:
if (s.Sfl != FLreg)
{ base = cast(uint)Fast.size;
goto L1;
}
goto L2;
case SCregister:
if (s.Sfl != FLreg)
goto case_auto;
goto case;
case SCpseudo:
case_register:
L2:
buf.reserve(cast(uint)(2 + 2 + 4 + 2 + len + 1));
buf.writeWordn(cast(uint)(2 + 4 + 2 + len + 1));
buf.writeWordn(S_REGISTER_V3);
buf.write32(typidx);
buf.writeWordn(cv8_regnum(s));
cv8_writename(buf, id, len);
buf.writeByte(0);
break;
case SCextern:
break;
case SCstatic:
case SClocstat:
sr = S_LDATA_V3;
goto Ldata;
case SCglobal:
case SCcomdat:
case SCcomdef:
sr = S_GDATA_V3;
Ldata:
/*
* 2 length (not including these 2 bytes)
* 2 S_GDATA_V2
* 4 typidx
* 6 ref to symbol
* n 0 terminated name string
*/
if (s.ty() & mTYthread) // thread local storage
sr = (sr == S_GDATA_V3) ? 0x1113 : 0x1112;
buf.reserve(cast(uint)(2 + 2 + 4 + 6 + len + 1));
buf.writeWordn(cast(uint)(2 + 4 + 6 + len + 1));
buf.writeWordn(sr);
buf.write32(typidx);
f1f.s = s;
f1f.offset = cast(uint)buf.size();
F1fixup.write(&f1f, f1f.sizeof);
buf.write32(0);
buf.writeWordn(0);
cv8_writename(buf, id, len);
buf.writeByte(0);
break;
default:
break;
}
}
/*******************************************
* Put out a name for a user defined type.
* Input:
* id the name
* typidx and its type
*/
void cv8_udt(const(char)* id, idx_t typidx)
{
//printf("cv8_udt('%s', %x)\n", id, typidx);
Outbuffer *buf = currentfuncdata.f1buf;
size_t len = strlen(id);
if (len > CV8_MAX_SYMBOL_LENGTH)
len = CV8_MAX_SYMBOL_LENGTH;
buf.reserve(cast(uint)(2 + 2 + 4 + len + 1));
buf.writeWordn(cast(uint)(2 + 4 + len + 1));
buf.writeWordn(S_UDT_V3);
buf.write32(typidx);
cv8_writename(buf, id, len);
buf.writeByte(0);
}
/*********************************************
* Get Codeview register number for symbol s.
*/
int cv8_regnum(Symbol *s)
{
int reg = s.Sreglsw;
assert(s.Sfl == FLreg);
if ((1 << reg) & XMMREGS)
return reg - XMM0 + 154;
switch (type_size(s.Stype))
{
case 1:
if (reg < 4)
reg += 1;
else if (reg >= 4 && reg < 8)
reg += 324 - 4;
else
reg += 344 - 4;
break;
case 2:
if (reg < 8)
reg += 9;
else
reg += 352 - 8;
break;
case 4:
if (reg < 8)
reg += 17;
else
reg += 360 - 8;
break;
case 8:
reg += 328;
break;
default:
reg = 0;
break;
}
return reg;
}
/***************************************
* Put out a forward ref for structs, unions, and classes.
* Only put out the real definitions with toDebug().
*/
idx_t cv8_fwdref(Symbol *s)
{
assert(config.fulltypes == CV8);
// if (s.Stypidx && !global.params.multiobj)
// return s.Stypidx;
struct_t *st = s.Sstruct;
uint leaf;
uint numidx;
if (st.Sflags & STRunion)
{
leaf = LF_UNION_V3;
numidx = 10;
}
else if (st.Sflags & STRclass)
{
leaf = LF_CLASS_V3;
numidx = 18;
}
else
{
leaf = LF_STRUCTURE_V3;
numidx = 18;
}
uint len = numidx + cv4_numericbytes(0);
int idlen = cast(int)strlen(s.Sident.ptr);
if (idlen > CV8_MAX_SYMBOL_LENGTH)
idlen = CV8_MAX_SYMBOL_LENGTH;
debtyp_t *d = debtyp_alloc(len + idlen + 1);
TOWORD(d.data.ptr, leaf);
TOWORD(d.data.ptr + 2, 0); // number of fields
TOWORD(d.data.ptr + 4, 0x80); // property
TOLONG(d.data.ptr + 6, 0); // field list
if (leaf == LF_CLASS_V3 || leaf == LF_STRUCTURE_V3)
{
TOLONG(d.data.ptr + 10, 0); // dList
TOLONG(d.data.ptr + 14, 0); // vshape
}
cv4_storenumeric(d.data.ptr + numidx, 0);
cv_namestring(d.data.ptr + len, s.Sident.ptr, idlen);
d.data.ptr[len + idlen] = 0;
idx_t typidx = cv_debtyp(d);
s.Stypidx = typidx;
return typidx;
}
/****************************************
* Return type index for a darray of type E[]
* Input:
* t darray type
* etypidx type index for E
*/
idx_t cv8_darray(type *t, idx_t etypidx)
{
//printf("cv8_darray(etypidx = %x)\n", etypidx);
/* Put out a struct:
* struct dArray {
* size_t length;
* E* ptr;
* }
*/
static if (0)
{
d = debtyp_alloc(18);
TOWORD(d.data.ptr, 0x100F);
TOWORD(d.data.ptr + 2, OEM);
TOWORD(d.data.ptr + 4, 1); // 1 = dynamic array
TOLONG(d.data.ptr + 6, 2); // count of type indices to follow
TOLONG(d.data.ptr + 10, 0x23); // index type, T_UQUAD
TOLONG(d.data.ptr + 14, next); // element type
return cv_debtyp(d);
}
type *tp = type_pointer(t.Tnext);
idx_t ptridx = cv4_typidx(tp);
type_free(tp);
__gshared const ubyte[38] fl =
[
0x03, 0x12, // LF_FIELDLIST_V2
0x0d, 0x15, // LF_MEMBER_V3
0x03, 0x00, // attribute
0x23, 0x00, 0x00, 0x00, // size_t
0x00, 0x00, // offset
'l', 'e', 'n', 'g', 't', 'h', 0x00,
0xf3, 0xf2, 0xf1, // align to 4-byte including length word before data
0x0d, 0x15,
0x03, 0x00,
0x00, 0x00, 0x00, 0x00, // etypidx
0x08, 0x00,
'p', 't', 'r', 0x00,
0xf2, 0xf1,
];
debtyp_t *f = debtyp_alloc(fl.sizeof);
memcpy(f.data.ptr,fl.ptr,fl.sizeof);
TOLONG(f.data.ptr + 6, I64 ? 0x23 : 0x22); // size_t
TOLONG(f.data.ptr + 26, ptridx);
TOWORD(f.data.ptr + 30, _tysize[TYnptr]);
idx_t fieldlist = cv_debtyp(f);
const(char)* id;
switch (t.Tnext.Tty)
{
case mTYimmutable | TYchar:
id = "string";
break;
case mTYimmutable | TYwchar_t:
id = "wstring";
break;
case mTYimmutable | TYdchar:
id = "dstring";
break;
default:
id = t.Tident ? t.Tident : "dArray";
break;
}
int idlen = cast(int)strlen(id);
if (idlen > CV8_MAX_SYMBOL_LENGTH)
idlen = CV8_MAX_SYMBOL_LENGTH;
debtyp_t *d = debtyp_alloc(20 + idlen + 1);
TOWORD(d.data.ptr, LF_STRUCTURE_V3);
TOWORD(d.data.ptr + 2, 2); // count
TOWORD(d.data.ptr + 4, 0); // property
TOLONG(d.data.ptr + 6, fieldlist);
TOLONG(d.data.ptr + 10, 0); // dList
TOLONG(d.data.ptr + 14, 0); // vtshape
TOWORD(d.data.ptr + 18, 2 * _tysize[TYnptr]); // size
cv_namestring(d.data.ptr + 20, id, idlen);
d.data.ptr[20 + idlen] = 0;
idx_t top = cv_numdebtypes();
idx_t debidx = cv_debtyp(d);
if(top != cv_numdebtypes())
cv8_udt(id, debidx);
return debidx;
}
/****************************************
* Return type index for a delegate
* Input:
* t delegate type
* functypidx type index for pointer to function
*/
idx_t cv8_ddelegate(type *t, idx_t functypidx)
{
//printf("cv8_ddelegate(functypidx = %x)\n", functypidx);
/* Put out a struct:
* struct dDelegate {
* void* ptr;
* function* funcptr;
* }
*/
type *tv = type_fake(TYnptr);
tv.Tcount++;
idx_t pvidx = cv4_typidx(tv);
type_free(tv);
type *tp = type_pointer(t.Tnext);
idx_t ptridx = cv4_typidx(tp);
type_free(tp);
static if (0)
{
debtyp_t *d = debtyp_alloc(18);
TOWORD(d.data.ptr, 0x100F);
TOWORD(d.data.ptr + 2, OEM);
TOWORD(d.data.ptr + 4, 3); // 3 = delegate
TOLONG(d.data.ptr + 6, 2); // count of type indices to follow
TOLONG(d.data.ptr + 10, key); // void* type
TOLONG(d.data.ptr + 14, functypidx); // function type
}
else
{
__gshared const ubyte[38] fl =
[
0x03, 0x12, // LF_FIELDLIST_V2
0x0d, 0x15, // LF_MEMBER_V3
0x03, 0x00, // attribute
0x00, 0x00, 0x00, 0x00, // void*
0x00, 0x00, // offset
'p','t','r',0, // "ptr"
0xf2, 0xf1, // align to 4-byte including length word before data
0x0d, 0x15,
0x03, 0x00,
0x00, 0x00, 0x00, 0x00, // ptrtypidx
0x08, 0x00,
'f', 'u','n','c','p','t','r', 0, // "funcptr"
0xf2, 0xf1,
];
debtyp_t *f = debtyp_alloc(fl.sizeof);
memcpy(f.data.ptr,fl.ptr,fl.sizeof);
TOLONG(f.data.ptr + 6, pvidx);
TOLONG(f.data.ptr + 22, ptridx);
TOWORD(f.data.ptr + 26, _tysize[TYnptr]);
idx_t fieldlist = cv_debtyp(f);
const(char)* id = "dDelegate";
int idlen = cast(int)strlen(id);
if (idlen > CV8_MAX_SYMBOL_LENGTH)
idlen = CV8_MAX_SYMBOL_LENGTH;
debtyp_t *d = debtyp_alloc(20 + idlen + 1);
TOWORD(d.data.ptr, LF_STRUCTURE_V3);
TOWORD(d.data.ptr + 2, 2); // count
TOWORD(d.data.ptr + 4, 0); // property
TOLONG(d.data.ptr + 6, fieldlist);
TOLONG(d.data.ptr + 10, 0); // dList
TOLONG(d.data.ptr + 14, 0); // vtshape
TOWORD(d.data.ptr + 18, 2 * _tysize[TYnptr]); // size
memcpy(d.data.ptr + 20, id, idlen);
d.data.ptr[20 + idlen] = 0;
}
return cv_debtyp(d);
}
/****************************************
* Return type index for a aarray of type Value[Key]
* Input:
* t associative array type
* keyidx key type
* validx value type
*/
idx_t cv8_daarray(type *t, idx_t keyidx, idx_t validx)
{
//printf("cv8_daarray(keyidx = %x, validx = %x)\n", keyidx, validx);
/* Put out a struct:
* struct dAssocArray {
* void* ptr;
* typedef key-type __key_t;
* typedef val-type __val_t;
* }
*/
static if (0)
{
debtyp_t *d = debtyp_alloc(18);
TOWORD(d.data.ptr, 0x100F);
TOWORD(d.data.ptr + 2, OEM);
TOWORD(d.data.ptr + 4, 2); // 2 = associative array
TOLONG(d.data.ptr + 6, 2); // count of type indices to follow
TOLONG(d.data.ptr + 10, keyidx); // key type
TOLONG(d.data.ptr + 14, validx); // element type
}
else
{
type *tv = type_fake(TYnptr);
tv.Tcount++;
idx_t pvidx = cv4_typidx(tv);
type_free(tv);
__gshared const ubyte[50] fl =
[
0x03, 0x12, // LF_FIELDLIST_V2
0x0d, 0x15, // LF_MEMBER_V3
0x03, 0x00, // attribute
0x00, 0x00, 0x00, 0x00, // void*
0x00, 0x00, // offset
'p','t','r',0, // "ptr"
0xf2, 0xf1, // align to 4-byte including field id
// offset 18
0x10, 0x15, // LF_NESTTYPE_V3
0x00, 0x00, // padding
0x00, 0x00, 0x00, 0x00, // key type
'_','_','k','e','y','_','t',0, // "__key_t"
// offset 34
0x10, 0x15, // LF_NESTTYPE_V3
0x00, 0x00, // padding
0x00, 0x00, 0x00, 0x00, // value type
'_','_','v','a','l','_','t',0, // "__val_t"
];
debtyp_t *f = debtyp_alloc(fl.sizeof);
memcpy(f.data.ptr,fl.ptr,fl.sizeof);
TOLONG(f.data.ptr + 6, pvidx);
TOLONG(f.data.ptr + 22, keyidx);
TOLONG(f.data.ptr + 38, validx);
idx_t fieldlist = cv_debtyp(f);
const(char)* id = t.Tident ? t.Tident : "dAssocArray";
int idlen = cast(int)strlen(id);
if (idlen > CV8_MAX_SYMBOL_LENGTH)
idlen = CV8_MAX_SYMBOL_LENGTH;
debtyp_t *d = debtyp_alloc(20 + idlen + 1);
TOWORD(d.data.ptr, LF_STRUCTURE_V3);
TOWORD(d.data.ptr + 2, 1); // count
TOWORD(d.data.ptr + 4, 0); // property
TOLONG(d.data.ptr + 6, fieldlist);
TOLONG(d.data.ptr + 10, 0); // dList
TOLONG(d.data.ptr + 14, 0); // vtshape
TOWORD(d.data.ptr + 18, _tysize[TYnptr]); // size
memcpy(d.data.ptr + 20, id, idlen);
d.data.ptr[20 + idlen] = 0;
}
return cv_debtyp(d);
}
}
}
| D |
build/x86_64-debug/src/barrier.o: src/barrier.c
| D |
/Users/wilsonvinson/Documents/GitHub/RUST01/rust01_01/target/debug/deps/rust01_01-39aa30ee6ab58925.rmeta: src/main.rs
/Users/wilsonvinson/Documents/GitHub/RUST01/rust01_01/target/debug/deps/rust01_01-39aa30ee6ab58925.d: src/main.rs
src/main.rs:
| D |
/Users/hare/Mobius/build/MobiusClient.build/Debug-iphonesimulator/MobiusClient.build/Objects-normal/x86_64/APIRequest.o : /Users/hare/Mobius/MobiusClient/Sources/Utils/md5.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/DataFeed.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusDataFeed.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Balance.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusBalance.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Use.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Token.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusToken.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusTransferInfo.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/URLQueryEncoder.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/HTTPParameter.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusError.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusAddress.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/Result.swift /Users/hare/Mobius/MobiusClient/Sources/MobiusAPIClient.swift /Users/hare/Mobius/MobiusClient/Sources/Models/APIRequest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hare/Mobius/MobiusClient/MobiusClient.h /Users/hare/Mobius/build/MobiusClient.build/Debug-iphonesimulator/MobiusClient.build/unextended-module.modulemap
/Users/hare/Mobius/build/MobiusClient.build/Debug-iphonesimulator/MobiusClient.build/Objects-normal/x86_64/APIRequest~partial.swiftmodule : /Users/hare/Mobius/MobiusClient/Sources/Utils/md5.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/DataFeed.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusDataFeed.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Balance.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusBalance.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Use.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Token.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusToken.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusTransferInfo.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/URLQueryEncoder.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/HTTPParameter.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusError.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusAddress.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/Result.swift /Users/hare/Mobius/MobiusClient/Sources/MobiusAPIClient.swift /Users/hare/Mobius/MobiusClient/Sources/Models/APIRequest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hare/Mobius/MobiusClient/MobiusClient.h /Users/hare/Mobius/build/MobiusClient.build/Debug-iphonesimulator/MobiusClient.build/unextended-module.modulemap
/Users/hare/Mobius/build/MobiusClient.build/Debug-iphonesimulator/MobiusClient.build/Objects-normal/x86_64/APIRequest~partial.swiftdoc : /Users/hare/Mobius/MobiusClient/Sources/Utils/md5.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/DataFeed.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusDataFeed.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Balance.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusBalance.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Use.swift /Users/hare/Mobius/MobiusClient/Sources/Requests/Token.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusToken.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusTransferInfo.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/URLQueryEncoder.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/HTTPParameter.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusError.swift /Users/hare/Mobius/MobiusClient/Sources/Models/MobiusAddress.swift /Users/hare/Mobius/MobiusClient/Sources/Utils/Result.swift /Users/hare/Mobius/MobiusClient/Sources/MobiusAPIClient.swift /Users/hare/Mobius/MobiusClient/Sources/Models/APIRequest.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Metal.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule /Users/hare/Mobius/MobiusClient/MobiusClient.h /Users/hare/Mobius/build/MobiusClient.build/Debug-iphonesimulator/MobiusClient.build/unextended-module.modulemap
| D |
/++
$(H2 General Matrix-Matrix Multiplication)
$(SCRIPT inhibitQuickIndex = 1;)
This is a submodule of $(LINK2 mir_glas.html, mir.glas).
License: $(LINK2 http://boost.org/LICENSE_1_0.txt, Boost License 1.0).
Authors: Ilya Yaroshenko
Macros:
SUBMODULE = $(LINK2 mir_glas_$1.html, mir.glas.$1)
SUBREF = $(LINK2 mir_glas_$1.html#.$2, $(TT $2))$(NBSP)
+/
module mir.glas.gemm;
import std.traits;
import std.meta;
import mir.ndslice.slice;
import mir.glas.common;
import mir.internal.utility;
import mir.glas.internal.config;
@fastmath:
import std.complex;
alias gemm1 = gemm!(conjN, float, float, float);
private enum prefetchShift = 512;
/++
General matrix-vector multiplication.
Params:
alpha = scalar
a = matrix
b = matrix
c = matrix
type = conjugation type, optional template parameter
Pseudo_code: `c += a × b`
Note:
GLAS does not require transposition parameters.
Use $(LINK2 mir_ndslice_iteration.html#transposed, mir.ndslice.iteration.transposed)
to perform zero cost `Slice` transposition.
BLAS: SGEMM, DGEMM, CGEMM, ZGEMM
See_also: $(SUBREF common, Conjugation)
+/
//nothrow @nogc
void gemm(Conjugation type = conjN, C, A, B)
(
Slice!(2, C*) csl,
C alpha,
Slice!(2, A*) asl,
Slice!(2, B*) bsl,
)
if (type == conjN || type == conjA || type == conjB || type == conjC)
in
{
assert(asl.length!1 == bsl.length!0, "constraint: asl.length!1 == bsl.length!0");
assert(csl.length!0 == asl.length!0, "constraint: csl.length!0 == asl.length!0");
assert(csl.length!1 == bsl.length!1, "constraint: csl.length!1 == bsl.length!1");
assert(csl.stride!0 == +1
|| csl.stride!0 == -1
|| csl.stride!1 == +1
|| csl.stride!1 == -1, "constraint: csl.stride!0 or csl.stride!1 must be equal to +/-1");
}
body
{
import std.complex: Complex;
import std.experimental.allocator.mallocator: AlignedMallocator;
import mir.ndslice.iteration: reversed, transposed;
enum msg = "mir.glas does not allow slices on top of const/immutable/shared memory";
static assert(is(Unqual!A == A), msg);
static assert(is(Unqual!B == B), msg);
static assert(is(Unqual!C == C), msg);
enum CC = isComplex!C;
enum CA = isComplex!A && (isComplex!C || isComplex!B);
enum CB = isComplex!B && (isComplex!C || isComplex!A);
enum PC = CC ? 2 : 1;
enum PA = CA ? 2 : 1;
enum PB = CB ? 2 : 1;
static if (is(C : Complex!F, F))
alias T = F;
else
alias T = C;
static assert(!isComplex!T);
if (asl.empty!0)
return;
if (asl.empty!1)
return;
if (bsl.empty!1)
return;
if (alpha == 0)
return;
if (sizediff_t(csl.stride!0) < 0)
{
csl = csl.reversed!0;
asl = asl.reversed!0;
}
if (sizediff_t(csl.stride!1) < 0)
{
csl = csl.reversed!1;
bsl = bsl.reversed!1;
}
// change row based to column based
if (csl.stride!0 != 1)
{
static if (is(A == B))
{
auto tsl = asl;
asl = bsl.transposed;
bsl = tsl.transposed;
csl = csl.transposed;
}
else
{
gemm!(swapConj!type, C, B, A)(csl.transposed, alpha, bsl.transposed, asl.transposed);
return;
}
}
assert(csl.stride!0 == 1);
auto alpha_ = alpha.statComplex;
static import mir.glas.internal.context;
alias conf = RegisterConfig!(PC, PA, PB, T);
pragma(msg, " -- ");
pragma(msg, PC);
pragma(msg, PA);
pragma(msg, PB);
pragma(msg, conf.broadcast);
pragma(msg, conf.simdChain);
enum nr = conf.broadcast;
enum mr = conf.simdChain[0].sizeof / T.sizeof;
const ps = mir.glas.internal.context.tlb.page * 1024;
const c1 = mir.glas.internal.context.c1.size * 1024;
const c2 = mir.glas.internal.context.c2.size * 1024;
const cc = T[PC][nr][mr].sizeof + nr * mir.glas.internal.context.c2.line;
assert(ps);
assert(c1);
assert(c2);
assert(cc);
sizediff_t kc = (c1 - 2 * cc - 512) / (T[PA][mr].sizeof + T[PB][nr].sizeof);
assert(c1 > mr);
assert(kc > mr);
kc.normalizeChunkSize!mr(bsl.length!1);
assert(kc > 0, "MIR.gemm: internal error (kc <= 0)");
auto bbufsize = T[PB].sizeof * kc * bsl.length!1;
version(LDC)
if (bbufsize < prefetchShift + mir.glas.internal.context.c1.line)
bbufsize = prefetchShift + mir.glas.internal.context.c1.line;
auto _mem = AlignedMallocator.instance.alignedAllocate(c2 + bbufsize, mir.glas.internal.context.tlb.page * 1024);
auto a = cast(T*) _mem.ptr;
auto b = cast(T[PB]*) (_mem.ptr + c2);
auto tl = sizediff_t(mir.glas.internal.context.tlb.entries) * 2 / 3;
SET_MC:
auto tb = kc * T[PB][nr].sizeof;
tb = tb / ps + (tb % ps != 0);
tl -= tb * 2;
auto df = T[PC][nr].sizeof + T[PA].sizeof * kc;
auto mc_t = tl * ps / df;
auto mc_c = (c2 * 2 / 3 - kc * T[PB][nr].sizeof) / df;
sizediff_t mc = mc_c;
if (mc > mc_t && mc <= 2 * mc_t)
{
mc = mc_t;
}
mc.normalizeChunkSize!nr(asl.length!0);
for (;;)
{
if (asl.length!1 < kc)
{
if (asl.empty!1)
break;
kc = asl.length!1;
goto SET_MC;
}
auto aslp = asl.transposed[0 .. kc].transposed;
auto fff = bsl[0 .. kc].transposed;
pack_b_nano_kernel!(PC, PA, PB, T, B)(bsl[0 .. kc].transposed, cast(T*) b);
bsl.popFrontExactly!0(kc);
auto c = cast(T[PC]*) csl.ptr;
auto mc_ = mc;
for (;;)
{
if (aslp.length!0 < mc_)
{
if (aslp.empty!0)
break;
mc_ = aslp.length!0;
}
assert(kc * mc_ * T[PB].sizeof <= c2);
pack_a_nano_kernel!(PC, PA, PB, T, A)(aslp[0 .. mc_], a);
aslp.popFrontExactly!0(mc_);
gebp_opt1!(type, PC, PA, PB, T)(bsl.length!1, kc, mc_, csl.stride!1, c, alpha_, a, b);
c += mc_;
}
asl.popFrontExactly!1(kc);
}
AlignedMallocator.instance.deallocate(a[0..0]);
}
package:
void normalizeChunkSize(size_t subChunk)(ref sizediff_t chunk, size_t length)
{
assert(length);
assert(chunk > 0);
if (chunk >= length)
{
chunk = length;
return;
}
assert(chunk);
assert(length);
static assert(subChunk);
if (chunk % subChunk)
{
auto _q = length / chunk;
auto _r = length % chunk;
if (_r)
{
_q++;
auto new_chunk = chunk - chunk % subChunk;
assert(new_chunk);
auto new_q = length / new_chunk;
auto new_r = length % new_chunk;
if (new_r)
new_q++;
if (new_q == _q)
{
chunk = new_chunk;
}
}
}
}
//pragma(inline, false)
void pack_a_nano_kernel(size_t PC, size_t PA, size_t PB, T, C)(Slice!(2, C*) sl, T* a)
{
import std.complex: Complex;
version(LDC)
enum LDC = true;
else
enum LDC = false;
import mir.ndslice.iteration: transposed;
alias conf = RegisterConfig!(PC, PA, PB, T);
alias mrTypeChain = conf.simdChain;
alias chain = conf.broadcastChain;
if (sl.stride!0 == 1)
{
foreach (mri, mrType; mrTypeChain)
{
enum mr = mrType.sizeof / T.sizeof;
if (sl.length >= mr) do
{
foreach (row_; sl[0 .. mr].transposed)
{
auto row = row_.toDense;
static if (mr > 1 && !is(T == real) && LDC && (is(T == C) && PA == 1 || is(Complex!T == C) && PA == 2))
{
import ldc.simd;
alias V = __vector(T[mr]);
static if (PA == 1)
{
auto rv = loadUnaligned!V(cast(T*)row);
*cast(V*)a = rv;
}
else
{
auto r0 = loadUnaligned!V(cast(T*)row);
auto r1 = loadUnaligned!V(cast(T*)((cast(V*)row) + 1));
auto re = _re!V(r0, r1);
auto im = _im!V(r0, r1);
*cast(V*)a = re;
*((cast(V*)a) + 1) = im;
}
}
else
foreach (j; Iota!mr)
{
static if (PA == 2)
{
a[ 0 + j] = cast(T) row[j].re;
a[mr + j] = cast(T) row[j].im;
}
else
{
static if (isComplex!C)
a[j] = cast(T) row[j].re;
else
a[j] = cast(T) row[j];
}
}
a += mr * PA;
}
sl.popFrontExactly(mr);
}
while (!mri && sl.length >= mr);
}
}
else
{
foreach (mri, mrType; mrTypeChain)
{
enum mr = mrType.sizeof / T.sizeof;
if (sl.length >= mr) do
{
foreach (row; sl[0 .. mr].transposed)
{
foreach (j; Iota!mr)
{
static if (PA == 2)
{
a[ 0 + j] = cast(T) row[j].re;
a[mr + j] = cast(T) row[j].im;
}
else
{
static if (isComplex!C)
a[j] = cast(T) row[j].re;
else
a[j] = cast(T) row[j];
}
}
a += mr * PA;
}
sl.popFrontExactly(mr);
}
while (!mri && sl.length >= mr);
}
}
}
//pragma(inline, false)
void pack_b_nano_kernel(size_t PC, size_t PA, size_t PB, T, C)(Slice!(2, C*) sl, T* b)
{
import mir.ndslice.iteration: transposed;
import std.complex: Complex;
version(LDC)
enum LDC = true;
else
enum LDC = false;
alias conf = RegisterConfig!(PC, PA, PB, T);
alias nrChain = conf.broadcastChain;
if (sl.stride!0 == 1)
{
foreach (nri; Iota!(nrChain.length))
{
enum nr = nrChain[nri];
if (sl.length >= nr) do
{
foreach (row_; sl[0 .. nr].transposed)
{
auto row = row_.toDense;
static if (nr * PB > 1 && !is(T == real) && LDC && (is(T == C) && PB == 1 || is(Complex!T == C) && PB == 2))
{
import ldc.simd;
alias V = __vector(T[nr * PB]);
storeUnaligned!V(loadUnaligned!V(cast(T*)row), b);
}
else
foreach (j; Iota!nr)
{
static if (PB == 2)
{
b[2 * j + 0] = cast(T) row[j].re;
b[2 * j + 1] = cast(T) row[j].im;
}
else
{
static if (isComplex!C)
b[j] = cast(T) row[j].re;
else
b[j] = cast(T) row[j];
}
}
b += nr * PB;
}
sl.popFrontExactly(nr);
}
while (!nri && sl.length >= nr);
}
}
else
{
foreach (nri; Iota!(nrChain.length))
{
enum nr = nrChain[nri];
if (sl.length >= nr) do
{
foreach (row; sl[0 .. nr].transposed)
{
foreach (j; Iota!nr)
{
static if (PB == 2)
{
b[2 * j + 0] = cast(T) row[j].re;
b[2 * j + 1] = cast(T) row[j].im;
}
else
{
static if (isComplex!C)
b[j] = cast(T) row[j].re;
else
b[j] = cast(T) row[j];
}
}
b += nr * PB;
}
sl.popFrontExactly(nr);
}
while (!nri && sl.length >= nr);
}
}
}
pragma(inline, false)
void gebp_opt1(Conjugation type, size_t PC, size_t PA, size_t PB, T)(
size_t n,
const size_t kc,
const size_t mc_,
const size_t ldc,
scope T[PC]* c_,
const T[PC] alpha,
const(T)* a_,
const(T[PB])* b,
)
{
alias conf = RegisterConfig!(PC, PA, PB, T);
alias nrChain = conf.broadcastChain;
alias mrTypeChain = conf.simdChain;
foreach (nri; Iota!(nrChain.length))
{
enum size_t nr = nrChain[nri];
if (n >= nr) do
{
size_t mc = mc_;
auto a = a_;
auto c = c_;
foreach (mri, mrType; mrTypeChain)
{
enum mr = mrType.sizeof / T.sizeof;
if (mc >= mr) do
{
a = gemm_micro_kernel!
(type, PC, PA, PB, mrType.length, nr, typeof(mrType.init[0]), T)
(alpha, cast(mrType[PA]*)a, cast(T[PB][nr]*)b, kc, c, ldc);
mc -= mr;
c += mr;
}
while (!mri && mc >= mr);
}
n -= nr;
c_ += nr * ldc;
b += nr * kc;
}
while (!nri && n >= nr);
}
}
const(F)*
gemm_micro_kernel (
Conjugation type,
size_t PC,
size_t PA,
size_t PB,
size_t N,
size_t M,
V,
F,
)
(
F[PC] alpha,
const(V[N][PA])* a,
const(F[PB][M])* b,
size_t length,
F[PC]* c,
sizediff_t ldc,
)
if (is(V == F) || isSIMDVector!V)
{
version(LDC) pragma(inline, true);
version(LDC)
{
import ldc.intrinsics: llvm_prefetch;
foreach (m; Iota!M)
foreach (pr; Iota!(V[N][PC].sizeof / 64 + bool(V[N][PC].sizeof % 64 > 0)))
llvm_prefetch(cast(void*)c + pr * 64 + ldc * m, 1, 3, 1);
}
V[N][PC][M] reg = void;
reg.set_zero_nano_kernel;
auto ret = gemm_nano_kernel!type(reg, a, b, length)[0];
reg.scale_nano_kernel!(PA + PB == 2)(alpha);
save_nano_kernel(reg, c, ldc);
return ret;
}
const(F)*[2]
gemm_nano_kernel (
Conjugation type,
size_t PC,
size_t PB,
size_t PA,
size_t N,
size_t M,
V,
F,
)
(
ref V[N][PC][M] c,
const(V[N][PA])* a,
const(F[PB][M])* b,
size_t length,
)
if (is(V == F) || isSIMDVector!V)
{
version(LDC) pragma(inline, true);
V[N][PC][M] reg = void;
reg.load_nano_kernel(c);
size_t i;
do
{
V[N][PA] ai = void;
V[PB][M] bi = void;
foreach (p; Iota!PA)
foreach (n; Iota!N)
ai[p][n] = a[0][p][n];
//foreach (m; Iota!M)
//foreach (p; Iota!PB)
// static if (isSIMDVector!V && !isSIMDVector!F)
// {
// version(LDC)
// {
// bi[m][p] = b[0][m][p];
// }
// else
// {
// auto e = b[0][m][p];
// foreach (s; Iota!(bi[m][p].array.length))
// bi[m][p].array[s] = e;
// }
// }
// else
// {
// bi[m][p] = b[0][m][p];
// }
version(LDC) version(X86_64)
{
import ldc.intrinsics: llvm_prefetch;
foreach (pr; Iota!(bi.sizeof / 64 + bool(bi.sizeof % 64 > 32)))
llvm_prefetch(cast(void*)b + pr * 64 + prefetchShift, 0, 3, 1);
}
enum CB = PC + PB == 4;
enum AB = PA + PB == 4;
enum CA = PC + PA == 4;
foreach (u; Iota!(M/2 +M%2))
{
alias um = Iota!(2*u, 2*u + 2 > M ? 2*u + 1 : 2*u + 2);
foreach (m; um)
foreach (p; Iota!PB)
static if (isSIMDVector!V && !isSIMDVector!F)
version(LDC)
bi[m][p] = b[0][m][p];
else
{
auto e = b[0][m][p];
foreach (s; Iota!(bi[m][p].array.length))
bi[m][p].array[s] = e;
}
else
bi[m][p] = b[0][m][p];
foreach (m; um)
foreach (n; Iota!N)
{
static if (type == conjN)
{
reg[m][0][n] += ai[0][n] * bi[m][0];
static if (CB) reg[m][1][n] += ai[0][n] * bi[m][1];
static if (AB) reg[m][0][n] -= ai[1][n] * bi[m][1];
static if (CA) reg[m][1][n] += ai[1][n] * bi[m][0];
}
else static if (type == Conjugation.sub)
{
reg[m][0][n] -= ai[0][n] * bi[m][0];
static if (CB) reg[m][1][n] -= ai[0][n] * bi[m][1];
static if (AB) reg[m][0][n] += ai[1][n] * bi[m][1];
static if (CA) reg[m][1][n] -= ai[1][n] * bi[m][0];
}
else static if (type == Conjugation.conjA)
{
reg[m][0][n] += ai[0][n] * bi[m][0];
static if (CB) reg[m][1][n] += ai[0][n] * bi[m][1];
static if (AB) reg[m][0][n] += ai[1][n] * bi[m][1];
static if (CA) reg[m][1][n] -= ai[1][n] * bi[m][0];
}
else static if (type == Conjugation.conjB)
{
reg[m][0][n] += ai[0][n] * bi[m][0];
static if (CB) reg[m][1][n] -= ai[0][n] * bi[m][1];
static if (AB) reg[m][0][n] += ai[1][n] * bi[m][1];
static if (CA) reg[m][1][n] += ai[1][n] * bi[m][0];
}
else static if (type == Conjugation.conjC)
{
reg[m][0][n] += ai[0][n] * bi[m][0];
static if (CB) reg[m][1][n] -= ai[0][n] * bi[m][1];
static if (AB) reg[m][0][n] -= ai[1][n] * bi[m][1];
static if (CA) reg[m][1][n] -= ai[1][n] * bi[m][0];
}
else static assert(0);
}
}
a++;
b++;
length--;
}
while (length);
c.load_nano_kernel(reg);
const(F)*[2] ret = void;
ret[0] = cast(F*) a;
ret[1] = cast(F*) b;
return ret;
}
void scale_nano_kernel (
bool realOnly = false,
size_t P,
size_t M,
size_t N,
V,
F,
)
(
ref V[N][P][M] c,
F[P] alpha,
)
{
version(LDC) pragma(inline, true);
V[N][P][M] reg = void;
reg.load_nano_kernel(c);
V[P] s = void;
s.load_nano_kernel(alpha);
foreach (m; Iota!M)
foreach (n; Iota!N)
{
static if (P == 1)
{
reg[m][0][n] *= s[0];
}
else
{
auto re = s[0] * reg[m][0][n];
auto im = s[1] * reg[m][0][n];
static if (!realOnly)
{
re -= s[1] * reg[m][1][n];
im += s[0] * reg[m][1][n];
}
reg[m][0][n] = re;
reg[m][1][n] = im;
}
}
c.load_nano_kernel(reg);
}
void save_nano_kernel(size_t P, size_t N, size_t M, V, T)
(ref V[N][P][M] reg, T[P]* c, sizediff_t ldc)
{
version(LDC) pragma(inline, true);
foreach (m; Iota!M)
{
save_nano_kernel_impl(reg[m], c + ldc * m);
}
}
version(LDC)
{
pragma(inline, true)
void save_nano_kernel_impl(size_t P, size_t N, V, T)(ref V[N][P] reg, T[P]* c)
{
import ldc.simd;
foreach (j; Iota!(N))
{
static if (P == 1)
{
static if (isSIMDVector!V)
{
auto cj = loadUnaligned!V(cast(T*)(c + j * V.length));
cj += reg[0][j];
storeUnaligned!V(cj, cast(T*)(c + j * V.length));
}
else
{
c[j][0] += reg[0][j];
}
}
else
{
static if (isSIMDVector!V)
{
auto cj0 = loadUnaligned!V(cast(T*)(c + j * V.length));
auto cj1 = loadUnaligned!V(cast(T*)((cast(V*)(c + j * V.length)) + 1));
auto re = reg[0][j];
auto im = reg[1][j];
auto r0 = _mix0!V(re, im);
auto r1 = _mix1!V(re, im);
cj0 += r0;
cj1 += r1;
storeUnaligned!V(cj0, cast(T*)(c + j * V.length));
storeUnaligned!V(cj1, cast(T*)((cast(V*)(c + j * V.length)) + 1));
}
else
{
c[j][0] += reg[0][j];
c[j][1] += reg[1][j];
}
}
}
}
}
else
{
void save_nano_kernel_impl(size_t P, size_t N, V, T)(ref V[N][P] reg, T[P]* c)
{
foreach (j; Iota!(N * V.sizeof / T.sizeof))
{
foreach (p; Iota!P)
{
c[j][p] += (cast(T*) ®[p])[j];
}
}
}
}
version(LDC)
{
template _mix0(V)
{
import ldc.simd;
enum _pred(size_t a) = (a & 1) == 0 ? a / 2 : a / 2 + V.length;
alias _mix0 = shufflevector!(V, staticMap!(_pred, Iota!(V.length)));
}
template _mix1(V)
{
import ldc.simd;
enum _pred(size_t a) = ((a & 1) == 0 ? a / 2 : a / 2 + V.length) + V.length / 2;
alias _mix1 = shufflevector!(V, staticMap!(_pred, Iota!(V.length)));
}
template _re(V)
{
import ldc.simd;
enum _pred(size_t a) = (a & 1) == 0;
alias _re = shufflevector!(V, Filter!(_pred, Iota!(V.length * 2)));
}
template _im(V)
{
import ldc.simd;
enum _pred(size_t a) = (a & 1) != 0;
alias _im = shufflevector!(V, Filter!(_pred, Iota!(V.length * 2)));
}
}
pragma(inline, true)
void set_zero_nano_kernel(size_t A, size_t B, size_t C, V)(ref V[C][B][A] to)
{
foreach (p; Iota!A)
foreach (m; Iota!B)
foreach (n; Iota!C)
to[p][m][n] = 0;
}
//pragma(inline, true)
void load_nano_kernel(size_t A, size_t B, size_t C, V)(ref V[C][B][A] to, ref V[C][B][A] from)
{
version(LDC) pragma(inline, true);
foreach (p; Iota!A)
foreach (m; Iota!B)
foreach (n; Iota!C)
to[p][m][n] = from[p][m][n];
}
pragma(inline, true)
void load_nano_kernel(size_t A, V, F)
(ref V[A] to, ref const F[A] from)
if (!isStaticArray!F)
{
version(LDC) pragma(inline, true);
static if (isSIMDVector!V && !isSIMDVector!F)
version(LDC)
foreach (p; Iota!A)
to[p] = from[p];
else
foreach (p; Iota!A)
{
auto e = from[p];
foreach (s; Iota!(to[p].array.length))
to[p].array[s] = e;
}
else
foreach (p; Iota!A)
to[p] = from[p];
}
pragma(inline, true)
auto statComplex(C)(C val)
{
import std.complex: Complex;
static if (is(C : Complex!T, T))
{
T[2] ret = void;
ret[0] = val.re;
ret[1] = val.im;
}
else
{
C[1] ret = void;
ret[0] = val;
}
return ret;
}
//pragma(inline, true)
//void load_nano_kernel(size_t A, size_t C, V, F)
//(ref V[C][A] to, ref const F[C][A] from)
// if (!isStaticArray!F)
//{
// static if (isSIMDVector!V && !isSIMDVector!F)
// version(LDC)
// foreach (n; Iota!C)
// foreach (p; Iota!A)
// to[p][n] = from[p][n];
// else
// foreach (n; Iota!C)
// foreach (p; Iota!A)
// {
// auto e = from[p][n];
// foreach (s; Iota!(to[p][n].array.length))
// to[p][n].array[s] = e;
// }
// else
// foreach (n; Iota!C)
// foreach (p; Iota!A)
// to[p][n] = from[p][n];
//}
//pragma(inline, true)
//void load_nano_kernel(V, F)
//(ref V to, ref const F from)
// if (!isStaticArray!F)
//{
// static if (isSIMDVector!V && !isSIMDVector!F)
// version(LDC)
// to = from;
// else
// {
// auto e = from;
// foreach (s; Iota!(to.array.length))
// to.array[s] = e;
// }
// else
// to = from;
//}
/////
//unittest
//{
// auto a = slice!double(3, 5);
// a[] =
// [[-5, 1, 7, 7, -4],
// [-1, -5, 6, 3, -3],
// [-5, -2, -3, 6, 0]];
// auto b = slice!double(5, 4);
// b[] =
// [[-5.0, -3, 3, 1],
// [4.0, 3, 6, 4],
// [-4.0, -2, -2, 2],
// [-1.0, 9, 4, 8],
// [9.0, 8, 3, -2]];
// auto c = slice!double(3, 4);
// c[] = 0;
// gemm(c, 1.0, a, b);
// assert(c ==
// [[-42.0, 35, -7, 77],
// [-69.0, -21, -42, 21],
// [23.0, 69, 3, 29]]);
//}
//unittest
//{
// import std.meta: AliasSeq;
// with(Conjugation)
// foreach (type; AliasSeq!(none, conjA, conjB))
// {
// enum P = type == none ? 1 : 2;
// {alias temp = gemm_micro_kernel!(type, P, P, P, 2 / P, 4 / P, float, float);}
// {alias temp = gemm_micro_kernel!(type, P, P, P, 2 / P, 4 / P, double, double);}
// version(X86_64)
// {
// {alias temp = gemm_micro_kernel!(type, P, P, P, 2 / P, 4 / P, __vector(float[4]), float);}
// {alias temp = gemm_micro_kernel!(type, P, P, P, 2 / P, 4 / P, __vector(double[2]), double);}
// }
// version(LDC)
// {
// {alias temp = gemm_micro_kernel!(type, P, P, P, 2 / P, 4 / P, __vector(float[8]), float);}
// {alias temp = gemm_micro_kernel!(type, P, P, P, 2 / P, 4 / P, __vector(double[4]), double);}
// }
// }
//}
unittest
{
import std.complex;
alias T = uint;
alias D = uint;
import std.random;
import mir.ndslice;
auto m = 111, n = 123, k = 2131;
auto a = slice!(D)(m, k);
auto b = slice!(D)(k, n);
auto c = slice!(D)(m, n);
auto d = slice!(D)(m, n);
D alpha = 3;
static if (isComplex!D)
{
foreach (ref e; a.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; b.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; c.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
}
else
{
foreach (ref e; a.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; b.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; c.byElement)
e = uniform(ubyte(0), ubyte(5));
}
d[] = c[];
foreach (i; 0..a.length)
foreach (j; 0..b.length!1)
foreach (r; 0..b.length)
d[i, j] += alpha * a[i, r] * b[r, j];
gemm(c, alpha, a, b);
assert(c == d);
}
unittest
{
import std.complex;
alias T = uint;
alias D = uint;
import std.random;
import mir.ndslice;
auto m = 111, n = 123, k = 2131;
auto a = slice!(D)(m, k);
auto b = slice!(D)(k, n);
auto c = slice!(D)(m, n);
auto d = slice!(D)(n, m).transposed;
D alpha = 3;
static if (isComplex!D)
{
foreach (ref e; a.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; b.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; c.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
}
else
{
foreach (ref e; a.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; b.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; c.byElement)
e = uniform(ubyte(0), ubyte(5));
}
d[] = c[];
foreach (i; 0..a.length)
foreach (j; 0..b.length!1)
foreach (r; 0..b.length)
d[i, j] += alpha * a[i, r] * b[r, j];
gemm(c, alpha, a, b);
assert(c == d);
}
unittest
{
import std.complex;
alias T = double;
alias D = double;
import std.random;
import mir.ndslice;
auto m = 111, n = 123, k = 2131;
auto a = slice!(D)(m, k);
auto b = slice!(D)(k, n);
auto c = slice!(D)(m, n);
auto d = slice!(D)(m, n);
D alpha = 3;
static if (isComplex!D)
{
foreach (ref e; a.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; b.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; c.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
}
else
{
foreach (ref e; a.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; b.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; c.byElement)
e = uniform(ubyte(0), ubyte(5));
}
d[] = c[];
foreach (i; 0..a.length)
foreach (j; 0..b.length!1)
foreach (r; 0..b.length)
d[i, j] += alpha * a[i, r] * b[r, j];
gemm(c, alpha, a, b);
assert(c == d);
}
unittest
{
import std.complex;
alias T = double;
alias D = double;
import std.random;
import mir.ndslice;
auto m = 111, n = 123, k = 2131;
auto a = slice!(D)(m, k);
auto b = slice!(D)(k, n);
auto c = slice!(D)(m, n);
auto d = slice!(D)(n, m).transposed;
D alpha = 3;
static if (isComplex!D)
{
foreach (ref e; a.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; b.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; c.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
}
else
{
foreach (ref e; a.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; b.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; c.byElement)
e = uniform(ubyte(0), ubyte(5));
}
d[] = c[];
foreach (i; 0..a.length)
foreach (j; 0..b.length!1)
foreach (r; 0..b.length)
d[i, j] += alpha * a[i, r] * b[r, j];
gemm(c, alpha, a, b);
assert(c == d);
}
unittest
{
import std.complex;
alias T = Complex!double;
alias D = Complex!double;
import std.random;
import mir.ndslice;
auto m = 111, n = 123, k = 2131;
auto a = slice!(D)(m, k);
auto b = slice!(D)(k, n);
auto c = slice!(D)(m, n);
auto d = slice!(D)(m, n);
D alpha = 3;
static if (isComplex!D)
{
foreach (ref e; a.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; b.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; c.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
}
else
{
foreach (ref e; a.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; b.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; c.byElement)
e = uniform(ubyte(0), ubyte(5));
}
d[] = c[];
foreach (i; 0..a.length)
foreach (j; 0..b.length!1)
foreach (r; 0..b.length)
d[i, j] += alpha * a[i, r] * b[r, j];
gemm(c, alpha, a, b);
assert(c == d);
}
unittest
{
import std.complex;
alias T = Complex!double;
alias D = Complex!double;
import std.random;
import mir.ndslice;
auto m = 111, n = 123, k = 2131;
auto a = slice!(D)(m, k);
auto b = slice!(D)(k, n);
auto c = slice!(D)(m, n);
auto d = slice!(D)(n, m).transposed;
D alpha = 3;
static if (isComplex!D)
{
foreach (ref e; a.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; b.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
foreach (ref e; c.byElement)
e = complex(uniform(0, 5), uniform(0, 5));
}
else
{
foreach (ref e; a.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; b.byElement)
e = uniform(ubyte(0), ubyte(5));
foreach (ref e; c.byElement)
e = uniform(ubyte(0), ubyte(5));
}
d[] = c[];
foreach (i; 0..a.length)
foreach (j; 0..b.length!1)
foreach (r; 0..b.length)
d[i, j] += alpha * a[i, r] * b[r, j];
gemm(c, alpha, a, b);
assert(c == d);
}
| D |
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Animator.o : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Animator~partial.swiftmodule : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/Objects-normal/x86_64/Animator~partial.swiftdoc : /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineScatterCandleRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/TransformerHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CombinedChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/LineChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/RadarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ICandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/AxisBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/MoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedMoveViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/ChartHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/LineChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerImage.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IPieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Transformer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/IHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Description.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/RadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/YAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieRadarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ViewPortHandler.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/RadarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/ChartAnimationEasing.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ScatterChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntryBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/MarkerView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronDownShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ScatterChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/Legend.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/CandleStickChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/XShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/ChevronUpShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/XAxis.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ChartDataRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ScatterChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ChartLimitLine.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CircleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Animation/Animator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Renderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultFillFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/HorizontalBarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/ChartBaseDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BubbleChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererHorizontalBarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/IShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/TriangleShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CandleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartUtils.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarLineChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CandleStickChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/ChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/IMarker.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/YAxisRendererRadarChart.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IBarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarLineScatterCandleBubbleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Highlight.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/IScatterChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BarLineScatterCandleBubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/CombinedChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/ChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/HorizontalBarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/BarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/CombinedHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/PieRadarChartViewBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/PieHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineRadarRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/LegendEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/ChartColorTemplates.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/SquareShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/PieChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineScatterCandleRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/PieChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CombinedChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/IndexAxisValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LineChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Platform.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Interfaces/ILineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Filters/DataApproximator.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Charts/BarChartView.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Formatters/DefaultValueFormatter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/ViewPortJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Utils/Fill.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BarChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/BubbleChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BubbleChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/ScatterChartRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/RadarChartDataEntry.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/XAxisRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/CandleChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/LegendRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/Scatter/CrossShapeRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/Range.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/AxisRendererBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Highlight/HorizontalBarHighlighter.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/LineRadarChartDataSet.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Renderers/BarLineScatterCandleBubbleRenderer.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Components/ComponentBase.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Interfaces/CombinedChartDataProvider.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/ChartData.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Jobs/AnimatedZoomViewJob.swift /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Charts/Data/Implementations/Standard/BubbleChartDataEntry.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Users/endotsuyoshi/Documents/ios/shoanaorigin2/Charts/Source/Supporting\ Files/Charts.h /Users/endotsuyoshi/Documents/ios/shoanaorigin2/shoana/Build/Intermediates/Charts.build/Debug-iphonesimulator/Charts.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
| D |
/*******************************************************************************
* Copyright (c) 2000, 2005 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
* Port to the D programming language:
* Frank Benoit <benoit@tionex.de>
*******************************************************************************/
module dwtx.jface.text.IViewportListener;
import dwt.dwthelper.utils;
/**
* Registered with a text viewer, view port listeners are informed about changes
* of a text viewer's view port. The view port is that portion of the viewer's
* document which is visible in the viewer.
* <p>
* Clients may implement this interface.</p>
*
* @see dwtx.jface.text.ITextViewer
*/
public interface IViewportListener {
/**
* Informs about view port changes. The given vertical position is the new
* vertical scrolling offset measured in pixels.
*
* @param verticalOffset the vertical offset measured in pixels
*/
void viewportChanged(int verticalOffset);
}
| D |
instance MIL_312_Wulfgar(Npc_Default)
{
name[0] = "Вульфгар";
guild = GIL_MIL;
id = 312;
voice = 4;
flags = 0;
aivar[93] = TRUE;
npcType = npctype_main;
B_SetAttributesToChapter(self,5);
fight_tactic = FAI_HUMAN_MASTER;
EquipItem(self,ItMw_1h_Mil_Sword);
B_CreateAmbientInv(self);
B_SetNpcVisual(self,MALE,"Hum_Head_FatBald",Face_N_NormalBart06,BodyTex_N,ITAR_MIL_WULFGAR);
Mdl_SetModelFatness(self,2);
Mdl_ApplyOverlayMds(self,"Humans_Militia.mds");
B_GiveNpcTalents(self);
B_SetFightSkills(self,80);
daily_routine = Rtn_PreStart_312;
};
func void Rtn_PreStart_312()
{
TA_Practice_Sword(5,0,6,55,"NW_CITY_HABOUR_KASERN_CENTRE_01");
TA_Stand_ArmsCrossed(6,55,19,0,"NW_CITY_HABOUR_KASERN_CENTRE_01");
TA_Smalltalk(19,0,21,0,"NW_CITY_HABOUR_KASERN_OFFICE");
TA_Sit_Throne(21,0,5,0,"NW_CITY_KASERN_BARRACK02_02");
};
func void Rtn_Start_312()
{
TA_Practice_Sword(5,0,6,55,"NW_CITY_HABOUR_KASERN_CENTRE_01");
TA_Stand_ArmsCrossed(6,55,19,0,"NW_CITY_HABOUR_KASERN_CENTRE_01");
TA_Smalltalk(19,0,21,0,"NW_CITY_HABOUR_KASERN_OFFICE");
TA_Sit_Throne(21,0,5,0,"NW_CITY_KASERN_BARRACK02_02");
};
func void rtn_tot_312()
{
TA_Stand_WP(8,0,20,0,"TOT");
TA_Stand_WP(20,0,8,0,"TOT");
};
func void rtn_campon_312()
{
TA_Stand_Guarding(9,0,20,0,"NW_BIGFARM_CAMPON_67");
TA_Stand_Guarding(20,0,9,0,"NW_BIGFARM_CAMPON_67");
};
func void rtn_inbattle_312()
{
ta_bigfight(8,0,22,0,"NW_BIGFIGHT_8738");
ta_bigfight(22,0,8,0,"NW_BIGFIGHT_8738");
};
| D |
/**
* The osthread module provides low-level, OS-dependent code
* for thread creation and management.
*
* Copyright: Copyright Sean Kelly 2005 - 2012.
* License: Distributed under the
* $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost Software License 1.0).
* (See accompanying file LICENSE)
* Authors: Sean Kelly, Walter Bright, Alex Rønne Petersen, Martin Nowak
* Source: $(DRUNTIMESRC core/thread/osthread.d)
*/
module core.thread.osthread;
import core.thread.threadbase;
import core.thread.context;
import core.thread.types;
import core.atomic;
import core.memory : GC;
import core.time;
import core.exception : onOutOfMemoryError;
import core.internal.traits : externDFunc;
///////////////////////////////////////////////////////////////////////////////
// Platform Detection and Memory Allocation
///////////////////////////////////////////////////////////////////////////////
version (OSX)
version = Darwin;
else version (iOS)
version = Darwin;
else version (TVOS)
version = Darwin;
else version (WatchOS)
version = Darwin;
version (D_InlineAsm_X86)
{
version (Windows)
version = AsmX86_Windows;
else version (Posix)
version = AsmX86_Posix;
}
else version (D_InlineAsm_X86_64)
{
version (Windows)
{
version = AsmX86_64_Windows;
}
else version (Posix)
{
version = AsmX86_64_Posix;
}
}
version (Posix)
{
version (AsmX86_Windows) {} else
version (AsmX86_Posix) {} else
version (AsmX86_64_Windows) {} else
version (AsmX86_64_Posix) {} else
version (AsmExternal) {} else
{
// NOTE: The ucontext implementation requires architecture specific
// data definitions to operate so testing for it must be done
// by checking for the existence of ucontext_t rather than by
// a version identifier. Please note that this is considered
// an obsolescent feature according to the POSIX spec, so a
// custom solution is still preferred.
import core.sys.posix.ucontext;
}
}
version (Windows)
{
import core.stdc.stdint : uintptr_t; // for _beginthreadex decl below
import core.stdc.stdlib; // for malloc, atexit
import core.sys.windows.basetsd /+: HANDLE+/;
import core.sys.windows.threadaux /+: getThreadStackBottom, impersonate_thread, OpenThreadHandle+/;
import core.sys.windows.winbase /+: CloseHandle, CREATE_SUSPENDED, DuplicateHandle, GetCurrentThread,
GetCurrentThreadId, GetCurrentProcess, GetExitCodeThread, GetSystemInfo, GetThreadContext,
GetThreadPriority, INFINITE, ResumeThread, SetThreadPriority, Sleep, STILL_ACTIVE,
SuspendThread, SwitchToThread, SYSTEM_INFO, THREAD_PRIORITY_IDLE, THREAD_PRIORITY_NORMAL,
THREAD_PRIORITY_TIME_CRITICAL, WAIT_OBJECT_0, WaitForSingleObject+/;
import core.sys.windows.windef /+: TRUE+/;
import core.sys.windows.winnt /+: CONTEXT, CONTEXT_CONTROL, CONTEXT_INTEGER+/;
private extern (Windows) alias btex_fptr = uint function(void*);
private extern (C) uintptr_t _beginthreadex(void*, uint, btex_fptr, void*, uint, uint*) nothrow @nogc;
}
else version (Posix)
{
import core.stdc.errno;
import core.sys.posix.semaphore;
import core.sys.posix.stdlib; // for malloc, valloc, free, atexit
import core.sys.posix.pthread;
import core.sys.posix.signal;
import core.sys.posix.time;
version (Darwin)
{
import core.sys.darwin.mach.thread_act;
import core.sys.darwin.pthread : pthread_mach_thread_np;
}
}
version (Solaris)
{
import core.sys.solaris.sys.priocntl;
import core.sys.solaris.sys.types;
import core.sys.posix.sys.wait : idtype_t;
}
version (GNU)
{
import gcc.builtins;
}
/**
* Hook for whatever EH implementation is used to save/restore some data
* per stack.
*
* Params:
* newContext = The return value of the prior call to this function
* where the stack was last swapped out, or null when a fiber stack
* is switched in for the first time.
*/
private extern(C) void* _d_eh_swapContext(void* newContext) nothrow @nogc;
version (DigitalMars)
{
version (Windows)
{
extern(D) void* swapContext(void* newContext) nothrow @nogc
{
return _d_eh_swapContext(newContext);
}
}
else
{
extern(C) void* _d_eh_swapContextDwarf(void* newContext) nothrow @nogc;
extern(D) void* swapContext(void* newContext) nothrow @nogc
{
/* Detect at runtime which scheme is being used.
* Eventually, determine it statically.
*/
static int which = 0;
final switch (which)
{
case 0:
{
assert(newContext == null);
auto p = _d_eh_swapContext(newContext);
auto pdwarf = _d_eh_swapContextDwarf(newContext);
if (p)
{
which = 1;
return p;
}
else if (pdwarf)
{
which = 2;
return pdwarf;
}
return null;
}
case 1:
return _d_eh_swapContext(newContext);
case 2:
return _d_eh_swapContextDwarf(newContext);
}
}
}
}
else
{
extern(D) void* swapContext(void* newContext) nothrow @nogc
{
return _d_eh_swapContext(newContext);
}
}
///////////////////////////////////////////////////////////////////////////////
// Thread
///////////////////////////////////////////////////////////////////////////////
/**
* This class encapsulates all threading functionality for the D
* programming language. As thread manipulation is a required facility
* for garbage collection, all user threads should derive from this
* class, and instances of this class should never be explicitly deleted.
* A new thread may be created using either derivation or composition, as
* in the following example.
*/
class Thread : ThreadBase
{
//
// Main process thread
//
version (FreeBSD)
{
// set when suspend failed and should be retried, see Issue 13416
private shared bool m_suspendagain;
}
//
// Standard thread data
//
version (Windows)
{
private HANDLE m_hndl;
}
version (Posix)
{
private shared bool m_isRunning;
}
version (Darwin)
{
private mach_port_t m_tmach;
}
version (Solaris)
{
private __gshared bool m_isRTClass;
}
//
// Standard types
//
version (Windows)
{
alias TLSKey = uint;
}
else version (Posix)
{
alias TLSKey = pthread_key_t;
}
///////////////////////////////////////////////////////////////////////////
// Initialization
///////////////////////////////////////////////////////////////////////////
/**
* Initializes a thread object which is associated with a static
* D function.
*
* Params:
* fn = The thread function.
* sz = The stack size for this thread.
*
* In:
* fn must not be null.
*/
this( void function() fn, size_t sz = 0 ) @safe pure nothrow @nogc
{
super(fn, sz);
}
/**
* Initializes a thread object which is associated with a dynamic
* D function.
*
* Params:
* dg = The thread function.
* sz = The stack size for this thread.
*
* In:
* dg must not be null.
*/
this( void delegate() dg, size_t sz = 0 ) @safe pure nothrow @nogc
{
super(dg, sz);
}
package this( size_t sz = 0 ) @safe pure nothrow @nogc
{
super(sz);
}
/**
* Cleans up any remaining resources used by this object.
*/
~this() nothrow @nogc
{
if (super.destructBeforeDtor())
return;
version (Windows)
{
m_addr = m_addr.init;
CloseHandle( m_hndl );
m_hndl = m_hndl.init;
}
else version (Posix)
{
pthread_detach( m_addr );
m_addr = m_addr.init;
}
version (Darwin)
{
m_tmach = m_tmach.init;
}
}
//
// Thread entry point. Invokes the function or delegate passed on
// construction (if any).
//
private final void run()
{
super.run();
}
/**
* Provides a reference to the calling thread.
*
* Returns:
* The thread object representing the calling thread. The result of
* deleting this object is undefined. If the current thread is not
* attached to the runtime, a null reference is returned.
*/
static Thread getThis() @safe nothrow @nogc
{
return ThreadBase.getThis().toThread;
}
///////////////////////////////////////////////////////////////////////////
// Thread Context and GC Scanning Support
///////////////////////////////////////////////////////////////////////////
version (Windows)
{
version (X86)
{
uint[8] m_reg; // edi,esi,ebp,esp,ebx,edx,ecx,eax
}
else version (X86_64)
{
ulong[16] m_reg; // rdi,rsi,rbp,rsp,rbx,rdx,rcx,rax
// r8,r9,r10,r11,r12,r13,r14,r15
}
else
{
static assert(false, "Architecture not supported." );
}
}
else version (Darwin)
{
version (X86)
{
uint[8] m_reg; // edi,esi,ebp,esp,ebx,edx,ecx,eax
}
else version (X86_64)
{
ulong[16] m_reg; // rdi,rsi,rbp,rsp,rbx,rdx,rcx,rax
// r8,r9,r10,r11,r12,r13,r14,r15
}
else version (AArch64)
{
ulong[33] m_reg; // x0-x31, pc
}
else version (ARM)
{
uint[16] m_reg; // r0-r15
}
else
{
static assert(false, "Architecture not supported." );
}
}
///////////////////////////////////////////////////////////////////////////
// General Actions
///////////////////////////////////////////////////////////////////////////
/**
* Starts the thread and invokes the function or delegate passed upon
* construction.
*
* In:
* This routine may only be called once per thread instance.
*
* Throws:
* ThreadException if the thread fails to start.
*/
final Thread start() nothrow
in
{
assert( !next && !prev );
}
do
{
auto wasThreaded = multiThreadedFlag;
multiThreadedFlag = true;
scope( failure )
{
if ( !wasThreaded )
multiThreadedFlag = false;
}
version (Windows) {} else
version (Posix)
{
size_t stksz = adjustStackSize( m_sz );
pthread_attr_t attr;
if ( pthread_attr_init( &attr ) )
onThreadError( "Error initializing thread attributes" );
if ( stksz && pthread_attr_setstacksize( &attr, stksz ) )
onThreadError( "Error initializing thread stack size" );
}
version (Windows)
{
// NOTE: If a thread is just executing DllMain()
// while another thread is started here, it holds an OS internal
// lock that serializes DllMain with CreateThread. As the code
// might request a synchronization on slock (e.g. in thread_findByAddr()),
// we cannot hold that lock while creating the thread without
// creating a deadlock
//
// Solution: Create the thread in suspended state and then
// add and resume it with slock acquired
assert(m_sz <= uint.max, "m_sz must be less than or equal to uint.max");
m_hndl = cast(HANDLE) _beginthreadex( null, cast(uint) m_sz, &thread_entryPoint, cast(void*) this, CREATE_SUSPENDED, &m_addr );
if ( cast(size_t) m_hndl == 0 )
onThreadError( "Error creating thread" );
}
slock.lock_nothrow();
scope(exit) slock.unlock_nothrow();
{
++nAboutToStart;
pAboutToStart = cast(ThreadBase*)realloc(pAboutToStart, Thread.sizeof * nAboutToStart);
pAboutToStart[nAboutToStart - 1] = this;
version (Windows)
{
if ( ResumeThread( m_hndl ) == -1 )
onThreadError( "Error resuming thread" );
}
else version (Posix)
{
// NOTE: This is also set to true by thread_entryPoint, but set it
// here as well so the calling thread will see the isRunning
// state immediately.
atomicStore!(MemoryOrder.raw)(m_isRunning, true);
scope( failure ) atomicStore!(MemoryOrder.raw)(m_isRunning, false);
version (Shared)
{
auto libs = externDFunc!("rt.sections_elf_shared.pinLoadedLibraries",
void* function() @nogc nothrow)();
auto ps = cast(void**).malloc(2 * size_t.sizeof);
if (ps is null) onOutOfMemoryError();
ps[0] = cast(void*)this;
ps[1] = cast(void*)libs;
if ( pthread_create( &m_addr, &attr, &thread_entryPoint, ps ) != 0 )
{
externDFunc!("rt.sections_elf_shared.unpinLoadedLibraries",
void function(void*) @nogc nothrow)(libs);
.free(ps);
onThreadError( "Error creating thread" );
}
}
else
{
if ( pthread_create( &m_addr, &attr, &thread_entryPoint, cast(void*) this ) != 0 )
onThreadError( "Error creating thread" );
}
if ( pthread_attr_destroy( &attr ) != 0 )
onThreadError( "Error destroying thread attributes" );
}
version (Darwin)
{
m_tmach = pthread_mach_thread_np( m_addr );
if ( m_tmach == m_tmach.init )
onThreadError( "Error creating thread" );
}
return this;
}
}
/**
* Waits for this thread to complete. If the thread terminated as the
* result of an unhandled exception, this exception will be rethrown.
*
* Params:
* rethrow = Rethrow any unhandled exception which may have caused this
* thread to terminate.
*
* Throws:
* ThreadException if the operation fails.
* Any exception not handled by the joined thread.
*
* Returns:
* Any exception not handled by this thread if rethrow = false, null
* otherwise.
*/
override final Throwable join( bool rethrow = true )
{
version (Windows)
{
if ( WaitForSingleObject( m_hndl, INFINITE ) != WAIT_OBJECT_0 )
throw new ThreadException( "Unable to join thread" );
// NOTE: m_addr must be cleared before m_hndl is closed to avoid
// a race condition with isRunning. The operation is done
// with atomicStore to prevent compiler reordering.
atomicStore!(MemoryOrder.raw)(*cast(shared)&m_addr, m_addr.init);
CloseHandle( m_hndl );
m_hndl = m_hndl.init;
}
else version (Posix)
{
if ( pthread_join( m_addr, null ) != 0 )
throw new ThreadException( "Unable to join thread" );
// NOTE: pthread_join acts as a substitute for pthread_detach,
// which is normally called by the dtor. Setting m_addr
// to zero ensures that pthread_detach will not be called
// on object destruction.
m_addr = m_addr.init;
}
if ( m_unhandled )
{
if ( rethrow )
throw m_unhandled;
return m_unhandled;
}
return null;
}
///////////////////////////////////////////////////////////////////////////
// Thread Priority Actions
///////////////////////////////////////////////////////////////////////////
version (Windows)
{
@property static int PRIORITY_MIN() @nogc nothrow pure @safe
{
return THREAD_PRIORITY_IDLE;
}
@property static const(int) PRIORITY_MAX() @nogc nothrow pure @safe
{
return THREAD_PRIORITY_TIME_CRITICAL;
}
@property static int PRIORITY_DEFAULT() @nogc nothrow pure @safe
{
return THREAD_PRIORITY_NORMAL;
}
}
else
{
private struct Priority
{
int PRIORITY_MIN = int.min;
int PRIORITY_DEFAULT = int.min;
int PRIORITY_MAX = int.min;
}
/*
Lazily loads one of the members stored in a hidden global variable of
type `Priority`. Upon the first access of either member, the entire
`Priority` structure is initialized. Multiple initializations from
different threads calling this function are tolerated.
`which` must be one of `PRIORITY_MIN`, `PRIORITY_DEFAULT`,
`PRIORITY_MAX`.
*/
private static shared Priority cache;
private static int loadGlobal(string which)()
{
auto local = atomicLoad(mixin("cache." ~ which));
if (local != local.min) return local;
// There will be benign races
cache = loadPriorities;
return atomicLoad(mixin("cache." ~ which));
}
/*
Loads all priorities and returns them as a `Priority` structure. This
function is thread-neutral.
*/
private static Priority loadPriorities() @nogc nothrow @trusted
{
Priority result;
version (Solaris)
{
pcparms_t pcParms;
pcinfo_t pcInfo;
pcParms.pc_cid = PC_CLNULL;
if (priocntl(idtype_t.P_PID, P_MYID, PC_GETPARMS, &pcParms) == -1)
assert( 0, "Unable to get scheduling class" );
pcInfo.pc_cid = pcParms.pc_cid;
// PC_GETCLINFO ignores the first two args, use dummy values
if (priocntl(idtype_t.P_PID, 0, PC_GETCLINFO, &pcInfo) == -1)
assert( 0, "Unable to get scheduling class info" );
pri_t* clparms = cast(pri_t*)&pcParms.pc_clparms;
pri_t* clinfo = cast(pri_t*)&pcInfo.pc_clinfo;
result.PRIORITY_MAX = clparms[0];
if (pcInfo.pc_clname == "RT")
{
m_isRTClass = true;
// For RT class, just assume it can't be changed
result.PRIORITY_MIN = clparms[0];
result.PRIORITY_DEFAULT = clparms[0];
}
else
{
m_isRTClass = false;
// For all other scheduling classes, there are
// two key values -- uprilim and maxupri.
// maxupri is the maximum possible priority defined
// for the scheduling class, and valid priorities
// range are in [-maxupri, maxupri].
//
// However, uprilim is an upper limit that the
// current thread can set for the current scheduling
// class, which can be less than maxupri. As such,
// use this value for priorityMax since this is
// the effective maximum.
// maxupri
result.PRIORITY_MIN = -clinfo[0];
// by definition
result.PRIORITY_DEFAULT = 0;
}
}
else version (Posix)
{
int policy;
sched_param param;
pthread_getschedparam( pthread_self(), &policy, ¶m ) == 0
|| assert(0, "Internal error in pthread_getschedparam");
result.PRIORITY_MIN = sched_get_priority_min( policy );
result.PRIORITY_MIN != -1
|| assert(0, "Internal error in sched_get_priority_min");
result.PRIORITY_DEFAULT = param.sched_priority;
result.PRIORITY_MAX = sched_get_priority_max( policy );
result.PRIORITY_MAX != -1 ||
assert(0, "Internal error in sched_get_priority_max");
}
else
{
static assert(0, "Your code here.");
}
return result;
}
/**
* The minimum scheduling priority that may be set for a thread. On
* systems where multiple scheduling policies are defined, this value
* represents the minimum valid priority for the scheduling policy of
* the process.
*/
@property static int PRIORITY_MIN() @nogc nothrow pure @trusted
{
return (cast(int function() @nogc nothrow pure @safe)
&loadGlobal!"PRIORITY_MIN")();
}
/**
* The maximum scheduling priority that may be set for a thread. On
* systems where multiple scheduling policies are defined, this value
* represents the maximum valid priority for the scheduling policy of
* the process.
*/
@property static const(int) PRIORITY_MAX() @nogc nothrow pure @trusted
{
return (cast(int function() @nogc nothrow pure @safe)
&loadGlobal!"PRIORITY_MAX")();
}
/**
* The default scheduling priority that is set for a thread. On
* systems where multiple scheduling policies are defined, this value
* represents the default priority for the scheduling policy of
* the process.
*/
@property static int PRIORITY_DEFAULT() @nogc nothrow pure @trusted
{
return (cast(int function() @nogc nothrow pure @safe)
&loadGlobal!"PRIORITY_DEFAULT")();
}
}
version (NetBSD)
{
//NetBSD does not support priority for default policy
// and it is not possible change policy without root access
int fakePriority = int.max;
}
/**
* Gets the scheduling priority for the associated thread.
*
* Note: Getting the priority of a thread that already terminated
* might return the default priority.
*
* Returns:
* The scheduling priority of this thread.
*/
final @property int priority()
{
version (Windows)
{
return GetThreadPriority( m_hndl );
}
else version (NetBSD)
{
return fakePriority==int.max? PRIORITY_DEFAULT : fakePriority;
}
else version (Posix)
{
int policy;
sched_param param;
if (auto err = pthread_getschedparam(m_addr, &policy, ¶m))
{
// ignore error if thread is not running => Bugzilla 8960
if (!atomicLoad(m_isRunning)) return PRIORITY_DEFAULT;
throw new ThreadException("Unable to get thread priority");
}
return param.sched_priority;
}
}
/**
* Sets the scheduling priority for the associated thread.
*
* Note: Setting the priority of a thread that already terminated
* might have no effect.
*
* Params:
* val = The new scheduling priority of this thread.
*/
final @property void priority( int val )
in
{
assert(val >= PRIORITY_MIN);
assert(val <= PRIORITY_MAX);
}
do
{
version (Windows)
{
if ( !SetThreadPriority( m_hndl, val ) )
throw new ThreadException( "Unable to set thread priority" );
}
else version (Solaris)
{
// the pthread_setschedprio(3c) and pthread_setschedparam functions
// are broken for the default (TS / time sharing) scheduling class.
// instead, we use priocntl(2) which gives us the desired behavior.
// We hardcode the min and max priorities to the current value
// so this is a no-op for RT threads.
if (m_isRTClass)
return;
pcparms_t pcparm;
pcparm.pc_cid = PC_CLNULL;
if (priocntl(idtype_t.P_LWPID, P_MYID, PC_GETPARMS, &pcparm) == -1)
throw new ThreadException( "Unable to get scheduling class" );
pri_t* clparms = cast(pri_t*)&pcparm.pc_clparms;
// clparms is filled in by the PC_GETPARMS call, only necessary
// to adjust the element that contains the thread priority
clparms[1] = cast(pri_t) val;
if (priocntl(idtype_t.P_LWPID, P_MYID, PC_SETPARMS, &pcparm) == -1)
throw new ThreadException( "Unable to set scheduling class" );
}
else version (NetBSD)
{
fakePriority = val;
}
else version (Posix)
{
static if (__traits(compiles, pthread_setschedprio))
{
if (auto err = pthread_setschedprio(m_addr, val))
{
// ignore error if thread is not running => Bugzilla 8960
if (!atomicLoad(m_isRunning)) return;
throw new ThreadException("Unable to set thread priority");
}
}
else
{
// NOTE: pthread_setschedprio is not implemented on Darwin, FreeBSD, OpenBSD,
// or DragonFlyBSD, so use the more complicated get/set sequence below.
int policy;
sched_param param;
if (auto err = pthread_getschedparam(m_addr, &policy, ¶m))
{
// ignore error if thread is not running => Bugzilla 8960
if (!atomicLoad(m_isRunning)) return;
throw new ThreadException("Unable to set thread priority");
}
param.sched_priority = val;
if (auto err = pthread_setschedparam(m_addr, policy, ¶m))
{
// ignore error if thread is not running => Bugzilla 8960
if (!atomicLoad(m_isRunning)) return;
throw new ThreadException("Unable to set thread priority");
}
}
}
}
unittest
{
auto thr = Thread.getThis();
immutable prio = thr.priority;
scope (exit) thr.priority = prio;
assert(prio == PRIORITY_DEFAULT);
assert(prio >= PRIORITY_MIN && prio <= PRIORITY_MAX);
thr.priority = PRIORITY_MIN;
assert(thr.priority == PRIORITY_MIN);
thr.priority = PRIORITY_MAX;
assert(thr.priority == PRIORITY_MAX);
}
unittest // Bugzilla 8960
{
import core.sync.semaphore;
auto thr = new Thread({});
thr.start();
Thread.sleep(1.msecs); // wait a little so the thread likely has finished
thr.priority = PRIORITY_MAX; // setting priority doesn't cause error
auto prio = thr.priority; // getting priority doesn't cause error
assert(prio >= PRIORITY_MIN && prio <= PRIORITY_MAX);
}
/**
* Tests whether this thread is running.
*
* Returns:
* true if the thread is running, false if not.
*/
override final @property bool isRunning() nothrow @nogc
{
if (!super.isRunning())
return false;
version (Windows)
{
uint ecode = 0;
GetExitCodeThread( m_hndl, &ecode );
return ecode == STILL_ACTIVE;
}
else version (Posix)
{
return atomicLoad(m_isRunning);
}
}
///////////////////////////////////////////////////////////////////////////
// Actions on Calling Thread
///////////////////////////////////////////////////////////////////////////
/**
* Suspends the calling thread for at least the supplied period. This may
* result in multiple OS calls if period is greater than the maximum sleep
* duration supported by the operating system.
*
* Params:
* val = The minimum duration the calling thread should be suspended.
*
* In:
* period must be non-negative.
*
* Example:
* ------------------------------------------------------------------------
*
* Thread.sleep( dur!("msecs")( 50 ) ); // sleep for 50 milliseconds
* Thread.sleep( dur!("seconds")( 5 ) ); // sleep for 5 seconds
*
* ------------------------------------------------------------------------
*/
static void sleep( Duration val ) @nogc nothrow
in
{
assert( !val.isNegative );
}
do
{
version (Windows)
{
auto maxSleepMillis = dur!("msecs")( uint.max - 1 );
// avoid a non-zero time to be round down to 0
if ( val > dur!"msecs"( 0 ) && val < dur!"msecs"( 1 ) )
val = dur!"msecs"( 1 );
// NOTE: In instances where all other threads in the process have a
// lower priority than the current thread, the current thread
// will not yield with a sleep time of zero. However, unlike
// yield(), the user is not asking for a yield to occur but
// only for execution to suspend for the requested interval.
// Therefore, expected performance may not be met if a yield
// is forced upon the user.
while ( val > maxSleepMillis )
{
Sleep( cast(uint)
maxSleepMillis.total!"msecs" );
val -= maxSleepMillis;
}
Sleep( cast(uint) val.total!"msecs" );
}
else version (Posix)
{
timespec tin = void;
timespec tout = void;
val.split!("seconds", "nsecs")(tin.tv_sec, tin.tv_nsec);
if ( val.total!"seconds" > tin.tv_sec.max )
tin.tv_sec = tin.tv_sec.max;
while ( true )
{
if ( !nanosleep( &tin, &tout ) )
return;
if ( errno != EINTR )
assert(0, "Unable to sleep for the specified duration");
tin = tout;
}
}
}
/**
* Forces a context switch to occur away from the calling thread.
*/
static void yield() @nogc nothrow
{
version (Windows)
SwitchToThread();
else version (Posix)
sched_yield();
}
}
private Thread toThread(ThreadBase t) @trusted nothrow @nogc pure
{
return cast(Thread) cast(void*) t;
}
private extern(D) static void thread_yield() @nogc nothrow
{
Thread.yield();
}
///
unittest
{
class DerivedThread : Thread
{
this()
{
super(&run);
}
private:
void run()
{
// Derived thread running.
}
}
void threadFunc()
{
// Composed thread running.
}
// create and start instances of each type
auto derived = new DerivedThread().start();
auto composed = new Thread(&threadFunc).start();
new Thread({
// Codes to run in the newly created thread.
}).start();
}
unittest
{
int x = 0;
new Thread(
{
x++;
}).start().join();
assert( x == 1 );
}
unittest
{
enum MSG = "Test message.";
string caughtMsg;
try
{
new Thread(
{
throw new Exception( MSG );
}).start().join();
assert( false, "Expected rethrown exception." );
}
catch ( Throwable t )
{
assert( t.msg == MSG );
}
}
unittest
{
// use >PAGESIZE to avoid stack overflow (e.g. in an syscall)
auto thr = new Thread(function{}, 4096 + 1).start();
thr.join();
}
unittest
{
import core.memory : GC;
auto t1 = new Thread({
foreach (_; 0 .. 20)
ThreadBase.getAll;
}).start;
auto t2 = new Thread({
foreach (_; 0 .. 20)
GC.collect;
}).start;
t1.join();
t2.join();
}
unittest
{
import core.sync.semaphore;
auto sem = new Semaphore();
auto t = new Thread(
{
sem.notify();
Thread.sleep(100.msecs);
}).start();
sem.wait(); // thread cannot be detached while being started
thread_detachInstance(t);
foreach (t2; Thread)
assert(t !is t2);
t.join();
}
unittest
{
// NOTE: This entire test is based on the assumption that no
// memory is allocated after the child thread is
// started. If an allocation happens, a collection could
// trigger, which would cause the synchronization below
// to cause a deadlock.
// NOTE: DO NOT USE LOCKS IN CRITICAL REGIONS IN NORMAL CODE.
import core.sync.semaphore;
auto sema = new Semaphore(),
semb = new Semaphore();
auto thr = new Thread(
{
thread_enterCriticalRegion();
assert(thread_inCriticalRegion());
sema.notify();
semb.wait();
assert(thread_inCriticalRegion());
thread_exitCriticalRegion();
assert(!thread_inCriticalRegion());
sema.notify();
semb.wait();
assert(!thread_inCriticalRegion());
});
thr.start();
sema.wait();
synchronized (ThreadBase.criticalRegionLock)
assert(thr.m_isInCriticalRegion);
semb.notify();
sema.wait();
synchronized (ThreadBase.criticalRegionLock)
assert(!thr.m_isInCriticalRegion);
semb.notify();
thr.join();
}
unittest
{
import core.sync.semaphore;
shared bool inCriticalRegion;
auto sema = new Semaphore(),
semb = new Semaphore();
auto thr = new Thread(
{
thread_enterCriticalRegion();
inCriticalRegion = true;
sema.notify();
semb.wait();
Thread.sleep(dur!"msecs"(1));
inCriticalRegion = false;
thread_exitCriticalRegion();
});
thr.start();
sema.wait();
assert(inCriticalRegion);
semb.notify();
thread_suspendAll();
assert(!inCriticalRegion);
thread_resumeAll();
}
///////////////////////////////////////////////////////////////////////////////
// GC Support Routines
///////////////////////////////////////////////////////////////////////////////
version (CoreDdoc)
{
/**
* Instruct the thread module, when initialized, to use a different set of
* signals besides SIGUSR1 and SIGUSR2 for suspension and resumption of threads.
* This function should be called at most once, prior to thread_init().
* This function is Posix-only.
*/
extern (C) void thread_setGCSignals(int suspendSignalNo, int resumeSignalNo) nothrow @nogc
{
}
}
else version (Posix)
{
extern (C) void thread_setGCSignals(int suspendSignalNo, int resumeSignalNo) nothrow @nogc
in
{
assert(suspendSignalNumber == 0);
assert(resumeSignalNumber == 0);
assert(suspendSignalNo != 0);
assert(resumeSignalNo != 0);
}
out
{
assert(suspendSignalNumber != 0);
assert(resumeSignalNumber != 0);
}
do
{
suspendSignalNumber = suspendSignalNo;
resumeSignalNumber = resumeSignalNo;
}
}
version (Posix)
{
__gshared int suspendSignalNumber;
__gshared int resumeSignalNumber;
}
private extern (D) ThreadBase attachThread(ThreadBase _thisThread) @nogc nothrow
{
Thread thisThread = _thisThread.toThread();
StackContext* thisContext = &thisThread.m_main;
assert( thisContext == thisThread.m_curr );
version (Windows)
{
thisThread.m_addr = GetCurrentThreadId();
thisThread.m_hndl = GetCurrentThreadHandle();
thisContext.bstack = getStackBottom();
thisContext.tstack = thisContext.bstack;
}
else version (Posix)
{
thisThread.m_addr = pthread_self();
thisContext.bstack = getStackBottom();
thisContext.tstack = thisContext.bstack;
atomicStore!(MemoryOrder.raw)(thisThread.toThread.m_isRunning, true);
}
thisThread.m_isDaemon = true;
thisThread.tlsGCdataInit();
Thread.setThis( thisThread );
version (Darwin)
{
thisThread.m_tmach = pthread_mach_thread_np( thisThread.m_addr );
assert( thisThread.m_tmach != thisThread.m_tmach.init );
}
Thread.add( thisThread, false );
Thread.add( thisContext );
if ( Thread.sm_main !is null )
multiThreadedFlag = true;
return thisThread;
}
/**
* Registers the calling thread for use with the D Runtime. If this routine
* is called for a thread which is already registered, no action is performed.
*
* NOTE: This routine does not run thread-local static constructors when called.
* If full functionality as a D thread is desired, the following function
* must be called after thread_attachThis:
*
* extern (C) void rt_moduleTlsCtor();
*/
extern(C) Thread thread_attachThis()
{
return thread_attachThis_tpl!Thread();
}
version (Windows)
{
// NOTE: These calls are not safe on Posix systems that use signals to
// perform garbage collection. The suspendHandler uses getThis()
// to get the thread handle so getThis() must be a simple call.
// Mutexes can't safely be acquired inside signal handlers, and
// even if they could, the mutex needed (Thread.slock) is held by
// thread_suspendAll(). So in short, these routines will remain
// Windows-specific. If they are truly needed elsewhere, the
// suspendHandler will need a way to call a version of getThis()
// that only does the TLS lookup without the fancy fallback stuff.
/// ditto
extern (C) Thread thread_attachByAddr( ThreadID addr )
{
return thread_attachByAddrB( addr, getThreadStackBottom( addr ) );
}
/// ditto
extern (C) Thread thread_attachByAddrB( ThreadID addr, void* bstack )
{
GC.disable(); scope(exit) GC.enable();
if (auto t = thread_findByAddr(addr).toThread)
return t;
Thread thisThread = new Thread();
StackContext* thisContext = &thisThread.m_main;
assert( thisContext == thisThread.m_curr );
thisThread.m_addr = addr;
thisContext.bstack = bstack;
thisContext.tstack = thisContext.bstack;
thisThread.m_isDaemon = true;
if ( addr == GetCurrentThreadId() )
{
thisThread.m_hndl = GetCurrentThreadHandle();
thisThread.tlsGCdataInit();
Thread.setThis( thisThread );
}
else
{
thisThread.m_hndl = OpenThreadHandle( addr );
impersonate_thread(addr,
{
thisThread.tlsGCdataInit();
Thread.setThis( thisThread );
});
}
Thread.add( thisThread, false );
Thread.add( thisContext );
if ( Thread.sm_main !is null )
multiThreadedFlag = true;
return thisThread;
}
}
// Calls the given delegate, passing the current thread's stack pointer to it.
package extern(D) void callWithStackShell(scope callWithStackShellDg fn) nothrow
in (fn)
{
// The purpose of the 'shell' is to ensure all the registers get
// put on the stack so they'll be scanned. We only need to push
// the callee-save registers.
void *sp = void;
version (GNU)
{
__builtin_unwind_init();
sp = &sp;
}
else version (AsmX86_Posix)
{
size_t[3] regs = void;
asm pure nothrow @nogc
{
mov [regs + 0 * 4], EBX;
mov [regs + 1 * 4], ESI;
mov [regs + 2 * 4], EDI;
mov sp[EBP], ESP;
}
}
else version (AsmX86_Windows)
{
size_t[3] regs = void;
asm pure nothrow @nogc
{
mov [regs + 0 * 4], EBX;
mov [regs + 1 * 4], ESI;
mov [regs + 2 * 4], EDI;
mov sp[EBP], ESP;
}
}
else version (AsmX86_64_Posix)
{
size_t[5] regs = void;
asm pure nothrow @nogc
{
mov [regs + 0 * 8], RBX;
mov [regs + 1 * 8], R12;
mov [regs + 2 * 8], R13;
mov [regs + 3 * 8], R14;
mov [regs + 4 * 8], R15;
mov sp[RBP], RSP;
}
}
else version (AsmX86_64_Windows)
{
size_t[7] regs = void;
asm pure nothrow @nogc
{
mov [regs + 0 * 8], RBX;
mov [regs + 1 * 8], RSI;
mov [regs + 2 * 8], RDI;
mov [regs + 3 * 8], R12;
mov [regs + 4 * 8], R13;
mov [regs + 5 * 8], R14;
mov [regs + 6 * 8], R15;
mov sp[RBP], RSP;
}
}
else
{
static assert(false, "Architecture not supported.");
}
fn(sp);
}
version (Solaris)
{
import core.sys.solaris.sys.priocntl;
import core.sys.solaris.sys.types;
import core.sys.posix.sys.wait : idtype_t;
}
version (Windows)
private extern (D) void scanWindowsOnly(scope ScanAllThreadsTypeFn scan, ThreadBase _t) nothrow
{
auto t = _t.toThread;
scan( ScanType.stack, t.m_reg.ptr, t.m_reg.ptr + t.m_reg.length );
}
/**
* Returns the process ID of the calling process, which is guaranteed to be
* unique on the system. This call is always successful.
*
* Example:
* ---
* writefln("Current process id: %s", getpid());
* ---
*/
version (Posix)
{
import core.sys.posix.unistd;
alias getpid = core.sys.posix.unistd.getpid;
}
else version (Windows)
{
alias getpid = core.sys.windows.winbase.GetCurrentProcessId;
}
extern (C) @nogc nothrow
{
version (CRuntime_Glibc) version = PThread_Getattr_NP;
version (CRuntime_Bionic) version = PThread_Getattr_NP;
version (CRuntime_Musl) version = PThread_Getattr_NP;
version (CRuntime_UClibc) version = PThread_Getattr_NP;
version (FreeBSD) version = PThread_Attr_Get_NP;
version (NetBSD) version = PThread_Attr_Get_NP;
version (DragonFlyBSD) version = PThread_Attr_Get_NP;
version (PThread_Getattr_NP) int pthread_getattr_np(pthread_t thread, pthread_attr_t* attr);
version (PThread_Attr_Get_NP) int pthread_attr_get_np(pthread_t thread, pthread_attr_t* attr);
version (Solaris) int thr_stksegment(stack_t* stk);
version (OpenBSD) int pthread_stackseg_np(pthread_t thread, stack_t* sinfo);
}
package extern(D) void* getStackTop() nothrow @nogc
{
version (D_InlineAsm_X86)
asm pure nothrow @nogc { naked; mov EAX, ESP; ret; }
else version (D_InlineAsm_X86_64)
asm pure nothrow @nogc { naked; mov RAX, RSP; ret; }
else version (GNU)
return __builtin_frame_address(0);
else
static assert(false, "Architecture not supported.");
}
package extern(D) void* getStackBottom() nothrow @nogc
{
version (Windows)
{
version (D_InlineAsm_X86)
asm pure nothrow @nogc { naked; mov EAX, FS:4; ret; }
else version (D_InlineAsm_X86_64)
asm pure nothrow @nogc
{ naked;
mov RAX, 8;
mov RAX, GS:[RAX];
ret;
}
else
static assert(false, "Architecture not supported.");
}
else version (Darwin)
{
import core.sys.darwin.pthread;
return pthread_get_stackaddr_np(pthread_self());
}
else version (PThread_Getattr_NP)
{
pthread_attr_t attr;
void* addr; size_t size;
pthread_attr_init(&attr);
pthread_getattr_np(pthread_self(), &attr);
pthread_attr_getstack(&attr, &addr, &size);
pthread_attr_destroy(&attr);
static if (isStackGrowingDown)
addr += size;
return addr;
}
else version (PThread_Attr_Get_NP)
{
pthread_attr_t attr;
void* addr; size_t size;
pthread_attr_init(&attr);
pthread_attr_get_np(pthread_self(), &attr);
pthread_attr_getstack(&attr, &addr, &size);
pthread_attr_destroy(&attr);
static if (isStackGrowingDown)
addr += size;
return addr;
}
else version (OpenBSD)
{
stack_t stk;
pthread_stackseg_np(pthread_self(), &stk);
return stk.ss_sp;
}
else version (Solaris)
{
stack_t stk;
thr_stksegment(&stk);
return stk.ss_sp;
}
else
static assert(false, "Platform not supported.");
}
/**
* Suspend the specified thread and load stack and register information for
* use by thread_scanAll. If the supplied thread is the calling thread,
* stack and register information will be loaded but the thread will not
* be suspended. If the suspend operation fails and the thread is not
* running then it will be removed from the global thread list, otherwise
* an exception will be thrown.
*
* Params:
* t = The thread to suspend.
*
* Throws:
* ThreadError if the suspend operation fails for a running thread.
* Returns:
* Whether the thread is now suspended (true) or terminated (false).
*/
private extern (D) bool suspend( Thread t ) nothrow @nogc
{
Duration waittime = dur!"usecs"(10);
Lagain:
if (!t.isRunning)
{
Thread.remove(t);
return false;
}
else if (t.m_isInCriticalRegion)
{
Thread.criticalRegionLock.unlock_nothrow();
Thread.sleep(waittime);
if (waittime < dur!"msecs"(10)) waittime *= 2;
Thread.criticalRegionLock.lock_nothrow();
goto Lagain;
}
version (Windows)
{
if ( t.m_addr != GetCurrentThreadId() && SuspendThread( t.m_hndl ) == 0xFFFFFFFF )
{
if ( !t.isRunning )
{
Thread.remove( t );
return false;
}
onThreadError( "Unable to suspend thread" );
}
CONTEXT context = void;
context.ContextFlags = CONTEXT_INTEGER | CONTEXT_CONTROL;
if ( !GetThreadContext( t.m_hndl, &context ) )
onThreadError( "Unable to load thread context" );
version (X86)
{
if ( !t.m_lock )
t.m_curr.tstack = cast(void*) context.Esp;
// eax,ebx,ecx,edx,edi,esi,ebp,esp
t.m_reg[0] = context.Eax;
t.m_reg[1] = context.Ebx;
t.m_reg[2] = context.Ecx;
t.m_reg[3] = context.Edx;
t.m_reg[4] = context.Edi;
t.m_reg[5] = context.Esi;
t.m_reg[6] = context.Ebp;
t.m_reg[7] = context.Esp;
}
else version (X86_64)
{
if ( !t.m_lock )
t.m_curr.tstack = cast(void*) context.Rsp;
// rax,rbx,rcx,rdx,rdi,rsi,rbp,rsp
t.m_reg[0] = context.Rax;
t.m_reg[1] = context.Rbx;
t.m_reg[2] = context.Rcx;
t.m_reg[3] = context.Rdx;
t.m_reg[4] = context.Rdi;
t.m_reg[5] = context.Rsi;
t.m_reg[6] = context.Rbp;
t.m_reg[7] = context.Rsp;
// r8,r9,r10,r11,r12,r13,r14,r15
t.m_reg[8] = context.R8;
t.m_reg[9] = context.R9;
t.m_reg[10] = context.R10;
t.m_reg[11] = context.R11;
t.m_reg[12] = context.R12;
t.m_reg[13] = context.R13;
t.m_reg[14] = context.R14;
t.m_reg[15] = context.R15;
}
else
{
static assert(false, "Architecture not supported." );
}
}
else version (Darwin)
{
if ( t.m_addr != pthread_self() && thread_suspend( t.m_tmach ) != KERN_SUCCESS )
{
if ( !t.isRunning )
{
Thread.remove( t );
return false;
}
onThreadError( "Unable to suspend thread" );
}
version (X86)
{
x86_thread_state32_t state = void;
mach_msg_type_number_t count = x86_THREAD_STATE32_COUNT;
if ( thread_get_state( t.m_tmach, x86_THREAD_STATE32, &state, &count ) != KERN_SUCCESS )
onThreadError( "Unable to load thread state" );
if ( !t.m_lock )
t.m_curr.tstack = cast(void*) state.esp;
// eax,ebx,ecx,edx,edi,esi,ebp,esp
t.m_reg[0] = state.eax;
t.m_reg[1] = state.ebx;
t.m_reg[2] = state.ecx;
t.m_reg[3] = state.edx;
t.m_reg[4] = state.edi;
t.m_reg[5] = state.esi;
t.m_reg[6] = state.ebp;
t.m_reg[7] = state.esp;
}
else version (X86_64)
{
x86_thread_state64_t state = void;
mach_msg_type_number_t count = x86_THREAD_STATE64_COUNT;
if ( thread_get_state( t.m_tmach, x86_THREAD_STATE64, &state, &count ) != KERN_SUCCESS )
onThreadError( "Unable to load thread state" );
if ( !t.m_lock )
t.m_curr.tstack = cast(void*) state.rsp;
// rax,rbx,rcx,rdx,rdi,rsi,rbp,rsp
t.m_reg[0] = state.rax;
t.m_reg[1] = state.rbx;
t.m_reg[2] = state.rcx;
t.m_reg[3] = state.rdx;
t.m_reg[4] = state.rdi;
t.m_reg[5] = state.rsi;
t.m_reg[6] = state.rbp;
t.m_reg[7] = state.rsp;
// r8,r9,r10,r11,r12,r13,r14,r15
t.m_reg[8] = state.r8;
t.m_reg[9] = state.r9;
t.m_reg[10] = state.r10;
t.m_reg[11] = state.r11;
t.m_reg[12] = state.r12;
t.m_reg[13] = state.r13;
t.m_reg[14] = state.r14;
t.m_reg[15] = state.r15;
}
else version (AArch64)
{
arm_thread_state64_t state = void;
mach_msg_type_number_t count = ARM_THREAD_STATE64_COUNT;
if (thread_get_state(t.m_tmach, ARM_THREAD_STATE64, &state, &count) != KERN_SUCCESS)
onThreadError("Unable to load thread state");
// TODO: ThreadException here recurses forever! Does it
//still using onThreadError?
//printf("state count %d (expect %d)\n", count ,ARM_THREAD_STATE64_COUNT);
if (!t.m_lock)
t.m_curr.tstack = cast(void*) state.sp;
t.m_reg[0..29] = state.x; // x0-x28
t.m_reg[29] = state.fp; // x29
t.m_reg[30] = state.lr; // x30
t.m_reg[31] = state.sp; // x31
t.m_reg[32] = state.pc;
}
else version (ARM)
{
arm_thread_state32_t state = void;
mach_msg_type_number_t count = ARM_THREAD_STATE32_COUNT;
// Thought this would be ARM_THREAD_STATE32, but that fails.
// Mystery
if (thread_get_state(t.m_tmach, ARM_THREAD_STATE, &state, &count) != KERN_SUCCESS)
onThreadError("Unable to load thread state");
// TODO: in past, ThreadException here recurses forever! Does it
//still using onThreadError?
//printf("state count %d (expect %d)\n", count ,ARM_THREAD_STATE32_COUNT);
if (!t.m_lock)
t.m_curr.tstack = cast(void*) state.sp;
t.m_reg[0..13] = state.r; // r0 - r13
t.m_reg[13] = state.sp;
t.m_reg[14] = state.lr;
t.m_reg[15] = state.pc;
}
else
{
static assert(false, "Architecture not supported." );
}
}
else version (Posix)
{
if ( t.m_addr != pthread_self() )
{
if ( pthread_kill( t.m_addr, suspendSignalNumber ) != 0 )
{
if ( !t.isRunning )
{
Thread.remove( t );
return false;
}
onThreadError( "Unable to suspend thread" );
}
}
else if ( !t.m_lock )
{
t.m_curr.tstack = getStackTop();
}
}
return true;
}
/**
* Suspend all threads but the calling thread for "stop the world" garbage
* collection runs. This function may be called multiple times, and must
* be followed by a matching number of calls to thread_resumeAll before
* processing is resumed.
*
* Throws:
* ThreadError if the suspend operation fails for a running thread.
*/
extern (C) void thread_suspendAll() nothrow
{
// NOTE: We've got an odd chicken & egg problem here, because while the GC
// is required to call thread_init before calling any other thread
// routines, thread_init may allocate memory which could in turn
// trigger a collection. Thus, thread_suspendAll, thread_scanAll,
// and thread_resumeAll must be callable before thread_init
// completes, with the assumption that no other GC memory has yet
// been allocated by the system, and thus there is no risk of losing
// data if the global thread list is empty. The check of
// Thread.sm_tbeg below is done to ensure thread_init has completed,
// and therefore that calling Thread.getThis will not result in an
// error. For the short time when Thread.sm_tbeg is null, there is
// no reason not to simply call the multithreaded code below, with
// the expectation that the foreach loop will never be entered.
if ( !multiThreadedFlag && Thread.sm_tbeg )
{
if ( ++suspendDepth == 1 )
suspend( Thread.getThis() );
return;
}
Thread.slock.lock_nothrow();
{
if ( ++suspendDepth > 1 )
return;
Thread.criticalRegionLock.lock_nothrow();
scope (exit) Thread.criticalRegionLock.unlock_nothrow();
size_t cnt;
Thread t = ThreadBase.sm_tbeg.toThread;
while (t)
{
auto tn = t.next.toThread;
if (suspend(t))
++cnt;
t = tn;
}
version (Darwin)
{}
else version (Posix)
{
// subtract own thread
assert(cnt >= 1);
--cnt;
Lagain:
// wait for semaphore notifications
for (; cnt; --cnt)
{
while (sem_wait(&suspendCount) != 0)
{
if (errno != EINTR)
onThreadError("Unable to wait for semaphore");
errno = 0;
}
}
version (FreeBSD)
{
// avoid deadlocks, see Issue 13416
t = ThreadBase.sm_tbeg.toThread;
while (t)
{
auto tn = t.next;
if (t.m_suspendagain && suspend(t))
++cnt;
t = tn.toThread;
}
if (cnt)
goto Lagain;
}
}
}
}
/**
* Resume the specified thread and unload stack and register information.
* If the supplied thread is the calling thread, stack and register
* information will be unloaded but the thread will not be resumed. If
* the resume operation fails and the thread is not running then it will
* be removed from the global thread list, otherwise an exception will be
* thrown.
*
* Params:
* t = The thread to resume.
*
* Throws:
* ThreadError if the resume fails for a running thread.
*/
private extern (D) void resume(ThreadBase _t) nothrow @nogc
{
Thread t = _t.toThread;
version (Windows)
{
if ( t.m_addr != GetCurrentThreadId() && ResumeThread( t.m_hndl ) == 0xFFFFFFFF )
{
if ( !t.isRunning )
{
Thread.remove( t );
return;
}
onThreadError( "Unable to resume thread" );
}
if ( !t.m_lock )
t.m_curr.tstack = t.m_curr.bstack;
t.m_reg[0 .. $] = 0;
}
else version (Darwin)
{
if ( t.m_addr != pthread_self() && thread_resume( t.m_tmach ) != KERN_SUCCESS )
{
if ( !t.isRunning )
{
Thread.remove( t );
return;
}
onThreadError( "Unable to resume thread" );
}
if ( !t.m_lock )
t.m_curr.tstack = t.m_curr.bstack;
t.m_reg[0 .. $] = 0;
}
else version (Posix)
{
if ( t.m_addr != pthread_self() )
{
if ( pthread_kill( t.m_addr, resumeSignalNumber ) != 0 )
{
if ( !t.isRunning )
{
Thread.remove( t );
return;
}
onThreadError( "Unable to resume thread" );
}
}
else if ( !t.m_lock )
{
t.m_curr.tstack = t.m_curr.bstack;
}
}
}
/**
* Initializes the thread module. This function must be called by the
* garbage collector on startup and before any other thread routines
* are called.
*/
extern (C) void thread_init() @nogc
{
// NOTE: If thread_init itself performs any allocations then the thread
// routines reserved for garbage collector use may be called while
// thread_init is being processed. However, since no memory should
// exist to be scanned at this point, it is sufficient for these
// functions to detect the condition and return immediately.
initLowlevelThreads();
Thread.initLocks();
// The Android VM runtime intercepts SIGUSR1 and apparently doesn't allow
// its signal handler to run, so swap the two signals on Android, since
// thread_resumeHandler does nothing.
version (Android) thread_setGCSignals(SIGUSR2, SIGUSR1);
version (Darwin)
{
// thread id different in forked child process
static extern(C) void initChildAfterFork()
{
auto thisThread = Thread.getThis();
thisThread.m_addr = pthread_self();
assert( thisThread.m_addr != thisThread.m_addr.init );
thisThread.m_tmach = pthread_mach_thread_np( thisThread.m_addr );
assert( thisThread.m_tmach != thisThread.m_tmach.init );
}
pthread_atfork(null, null, &initChildAfterFork);
}
else version (Posix)
{
if ( suspendSignalNumber == 0 )
{
suspendSignalNumber = SIGUSR1;
}
if ( resumeSignalNumber == 0 )
{
resumeSignalNumber = SIGUSR2;
}
int status;
sigaction_t sigusr1 = void;
sigaction_t sigusr2 = void;
// This is a quick way to zero-initialize the structs without using
// memset or creating a link dependency on their static initializer.
(cast(byte*) &sigusr1)[0 .. sigaction_t.sizeof] = 0;
(cast(byte*) &sigusr2)[0 .. sigaction_t.sizeof] = 0;
// NOTE: SA_RESTART indicates that system calls should restart if they
// are interrupted by a signal, but this is not available on all
// Posix systems, even those that support multithreading.
static if ( __traits( compiles, SA_RESTART ) )
sigusr1.sa_flags = SA_RESTART;
else
sigusr1.sa_flags = 0;
sigusr1.sa_handler = &thread_suspendHandler;
// NOTE: We want to ignore all signals while in this handler, so fill
// sa_mask to indicate this.
status = sigfillset( &sigusr1.sa_mask );
assert( status == 0 );
// NOTE: Since resumeSignalNumber should only be issued for threads within the
// suspend handler, we don't want this signal to trigger a
// restart.
sigusr2.sa_flags = 0;
sigusr2.sa_handler = &thread_resumeHandler;
// NOTE: We want to ignore all signals while in this handler, so fill
// sa_mask to indicate this.
status = sigfillset( &sigusr2.sa_mask );
assert( status == 0 );
status = sigaction( suspendSignalNumber, &sigusr1, null );
assert( status == 0 );
status = sigaction( resumeSignalNumber, &sigusr2, null );
assert( status == 0 );
status = sem_init( &suspendCount, 0, 0 );
assert( status == 0 );
}
if (typeid(Thread).initializer.ptr)
_mainThreadStore[] = typeid(Thread).initializer[];
Thread.sm_main = attachThread((cast(Thread)_mainThreadStore.ptr).__ctor());
}
private alias MainThreadStore = void[__traits(classInstanceSize, Thread)];
package __gshared align(Thread.alignof) MainThreadStore _mainThreadStore;
/**
* Terminates the thread module. No other thread routine may be called
* afterwards.
*/
extern (C) void thread_term() @nogc
{
thread_term_tpl!(Thread)(_mainThreadStore);
}
///////////////////////////////////////////////////////////////////////////////
// Thread Entry Point and Signal Handlers
///////////////////////////////////////////////////////////////////////////////
version (Windows)
{
private
{
//
// Entry point for Windows threads
//
extern (Windows) uint thread_entryPoint( void* arg ) nothrow
{
Thread obj = cast(Thread) arg;
assert( obj );
obj.initDataStorage();
Thread.setThis(obj);
Thread.add(obj);
scope (exit)
{
Thread.remove(obj);
obj.destroyDataStorage();
}
Thread.add(&obj.m_main);
// NOTE: No GC allocations may occur until the stack pointers have
// been set and Thread.getThis returns a valid reference to
// this thread object (this latter condition is not strictly
// necessary on Windows but it should be followed for the
// sake of consistency).
// TODO: Consider putting an auto exception object here (using
// alloca) forOutOfMemoryError plus something to track
// whether an exception is in-flight?
void append( Throwable t )
{
obj.m_unhandled = Throwable.chainTogether(obj.m_unhandled, t);
}
version (D_InlineAsm_X86)
{
asm nothrow @nogc { fninit; }
}
try
{
rt_moduleTlsCtor();
try
{
obj.run();
}
catch ( Throwable t )
{
append( t );
}
rt_moduleTlsDtor();
}
catch ( Throwable t )
{
append( t );
}
return 0;
}
HANDLE GetCurrentThreadHandle() nothrow @nogc
{
const uint DUPLICATE_SAME_ACCESS = 0x00000002;
HANDLE curr = GetCurrentThread(),
proc = GetCurrentProcess(),
hndl;
DuplicateHandle( proc, curr, proc, &hndl, 0, TRUE, DUPLICATE_SAME_ACCESS );
return hndl;
}
}
}
else version (Posix)
{
private
{
import core.stdc.errno;
import core.sys.posix.semaphore;
import core.sys.posix.stdlib; // for malloc, valloc, free, atexit
import core.sys.posix.pthread;
import core.sys.posix.signal;
import core.sys.posix.time;
version (Darwin)
{
import core.sys.darwin.mach.thread_act;
import core.sys.darwin.pthread : pthread_mach_thread_np;
}
//
// Entry point for POSIX threads
//
extern (C) void* thread_entryPoint( void* arg ) nothrow
{
version (Shared)
{
Thread obj = cast(Thread)(cast(void**)arg)[0];
auto loadedLibraries = (cast(void**)arg)[1];
.free(arg);
}
else
{
Thread obj = cast(Thread)arg;
}
assert( obj );
// loadedLibraries need to be inherited from parent thread
// before initilizing GC for TLS (rt_tlsgc_init)
version (Shared)
{
externDFunc!("rt.sections_elf_shared.inheritLoadedLibraries",
void function(void*) @nogc nothrow)(loadedLibraries);
}
obj.initDataStorage();
atomicStore!(MemoryOrder.raw)(obj.m_isRunning, true);
Thread.setThis(obj); // allocates lazy TLS (see Issue 11981)
Thread.add(obj); // can only receive signals from here on
scope (exit)
{
Thread.remove(obj);
atomicStore!(MemoryOrder.raw)(obj.m_isRunning, false);
obj.destroyDataStorage();
}
Thread.add(&obj.m_main);
static extern (C) void thread_cleanupHandler( void* arg ) nothrow @nogc
{
Thread obj = cast(Thread) arg;
assert( obj );
// NOTE: If the thread terminated abnormally, just set it as
// not running and let thread_suspendAll remove it from
// the thread list. This is safer and is consistent
// with the Windows thread code.
atomicStore!(MemoryOrder.raw)(obj.m_isRunning,false);
}
// NOTE: Using void to skip the initialization here relies on
// knowledge of how pthread_cleanup is implemented. It may
// not be appropriate for all platforms. However, it does
// avoid the need to link the pthread module. If any
// implementation actually requires default initialization
// then pthread_cleanup should be restructured to maintain
// the current lack of a link dependency.
static if ( __traits( compiles, pthread_cleanup ) )
{
pthread_cleanup cleanup = void;
cleanup.push( &thread_cleanupHandler, cast(void*) obj );
}
else static if ( __traits( compiles, pthread_cleanup_push ) )
{
pthread_cleanup_push( &thread_cleanupHandler, cast(void*) obj );
}
else
{
static assert( false, "Platform not supported." );
}
// NOTE: No GC allocations may occur until the stack pointers have
// been set and Thread.getThis returns a valid reference to
// this thread object (this latter condition is not strictly
// necessary on Windows but it should be followed for the
// sake of consistency).
// TODO: Consider putting an auto exception object here (using
// alloca) forOutOfMemoryError plus something to track
// whether an exception is in-flight?
void append( Throwable t )
{
obj.m_unhandled = Throwable.chainTogether(obj.m_unhandled, t);
}
try
{
rt_moduleTlsCtor();
try
{
obj.run();
}
catch ( Throwable t )
{
append( t );
}
rt_moduleTlsDtor();
version (Shared)
{
externDFunc!("rt.sections_elf_shared.cleanupLoadedLibraries",
void function() @nogc nothrow)();
}
}
catch ( Throwable t )
{
append( t );
}
// NOTE: Normal cleanup is handled by scope(exit).
static if ( __traits( compiles, pthread_cleanup ) )
{
cleanup.pop( 0 );
}
else static if ( __traits( compiles, pthread_cleanup_push ) )
{
pthread_cleanup_pop( 0 );
}
return null;
}
//
// Used to track the number of suspended threads
//
__gshared sem_t suspendCount;
extern (C) void thread_suspendHandler( int sig ) nothrow
in
{
assert( sig == suspendSignalNumber );
}
do
{
void op(void* sp) nothrow
{
// NOTE: Since registers are being pushed and popped from the
// stack, any other stack data used by this function should
// be gone before the stack cleanup code is called below.
Thread obj = Thread.getThis();
assert(obj !is null);
if ( !obj.m_lock )
{
obj.m_curr.tstack = getStackTop();
}
sigset_t sigres = void;
int status;
status = sigfillset( &sigres );
assert( status == 0 );
status = sigdelset( &sigres, resumeSignalNumber );
assert( status == 0 );
version (FreeBSD) obj.m_suspendagain = false;
status = sem_post( &suspendCount );
assert( status == 0 );
sigsuspend( &sigres );
if ( !obj.m_lock )
{
obj.m_curr.tstack = obj.m_curr.bstack;
}
}
// avoid deadlocks on FreeBSD, see Issue 13416
version (FreeBSD)
{
auto obj = Thread.getThis();
if (THR_IN_CRITICAL(obj.m_addr))
{
obj.m_suspendagain = true;
if (sem_post(&suspendCount)) assert(0);
return;
}
}
callWithStackShell(&op);
}
extern (C) void thread_resumeHandler( int sig ) nothrow
in
{
assert( sig == resumeSignalNumber );
}
do
{
}
// HACK libthr internal (thr_private.h) macro, used to
// avoid deadlocks in signal handler, see Issue 13416
version (FreeBSD) bool THR_IN_CRITICAL(pthread_t p) nothrow @nogc
{
import core.sys.posix.config : c_long;
import core.sys.posix.sys.types : lwpid_t;
// If the begin of pthread would be changed in libthr (unlikely)
// we'll run into undefined behavior, compare with thr_private.h.
static struct pthread
{
c_long tid;
static struct umutex { lwpid_t owner; uint flags; uint[2] ceilings; uint[4] spare; }
umutex lock;
uint cycle;
int locklevel;
int critical_count;
// ...
}
auto priv = cast(pthread*)p;
return priv.locklevel > 0 || priv.critical_count > 0;
}
}
}
else
{
// NOTE: This is the only place threading versions are checked. If a new
// version is added, the module code will need to be searched for
// places where version-specific code may be required. This can be
// easily accomlished by searching for 'Windows' or 'Posix'.
static assert( false, "Unknown threading implementation." );
}
//
// exposed by compiler runtime
//
extern (C) void rt_moduleTlsCtor();
extern (C) void rt_moduleTlsDtor();
// regression test for Issue 13416
version (FreeBSD) unittest
{
static void loop()
{
pthread_attr_t attr;
pthread_attr_init(&attr);
auto thr = pthread_self();
foreach (i; 0 .. 50)
pthread_attr_get_np(thr, &attr);
pthread_attr_destroy(&attr);
}
auto thr = new Thread(&loop).start();
foreach (i; 0 .. 50)
{
thread_suspendAll();
thread_resumeAll();
}
thr.join();
}
version (DragonFlyBSD) unittest
{
static void loop()
{
pthread_attr_t attr;
pthread_attr_init(&attr);
auto thr = pthread_self();
foreach (i; 0 .. 50)
pthread_attr_get_np(thr, &attr);
pthread_attr_destroy(&attr);
}
auto thr = new Thread(&loop).start();
foreach (i; 0 .. 50)
{
thread_suspendAll();
thread_resumeAll();
}
thr.join();
}
///////////////////////////////////////////////////////////////////////////////
// lowlovel threading support
///////////////////////////////////////////////////////////////////////////////
private
{
version (Windows):
// If the runtime is dynamically loaded as a DLL, there is a problem with
// threads still running when the DLL is supposed to be unloaded:
//
// - with the VC runtime starting with VS2015 (i.e. using the Universal CRT)
// a thread created with _beginthreadex increments the DLL reference count
// and decrements it when done, so that the DLL is no longer unloaded unless
// all the threads have terminated. With the DLL reference count held up
// by a thread that is only stopped by a signal from a static destructor or
// the termination of the runtime will cause the DLL to never be unloaded.
//
// - with the DigitalMars runtime and VC runtime up to VS2013, the thread
// continues to run, but crashes once the DLL is unloaded from memory as
// the code memory is no longer accessible. Stopping the threads is not possible
// from within the runtime termination as it is invoked from
// DllMain(DLL_PROCESS_DETACH) holding a lock that prevents threads from
// terminating.
//
// Solution: start a watchdog thread that keeps the DLL reference count above 0 and
// checks it periodically. If it is equal to 1 (plus the number of started threads), no
// external references to the DLL exist anymore, threads can be stopped
// and runtime termination and DLL unload can be invoked via FreeLibraryAndExitThread.
// Note: runtime termination is then performed by a different thread than at startup.
//
// Note: if the DLL is never unloaded, process termination kills all threads
// and signals their handles before unconditionally calling DllMain(DLL_PROCESS_DETACH).
import core.sys.windows.winbase : FreeLibraryAndExitThread, GetModuleHandleExW,
GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT;
import core.sys.windows.windef : HMODULE;
import core.sys.windows.dll : dll_getRefCount;
version (CRuntime_Microsoft)
extern(C) extern __gshared ubyte msvcUsesUCRT; // from rt/msvc.d
/// set during termination of a DLL on Windows, i.e. while executing DllMain(DLL_PROCESS_DETACH)
public __gshared bool thread_DLLProcessDetaching;
__gshared HMODULE ll_dllModule;
__gshared ThreadID ll_dllMonitorThread;
int ll_countLowLevelThreadsWithDLLUnloadCallback() nothrow
{
lowlevelLock.lock_nothrow();
scope(exit) lowlevelLock.unlock_nothrow();
int cnt = 0;
foreach (i; 0 .. ll_nThreads)
if (ll_pThreads[i].cbDllUnload)
cnt++;
return cnt;
}
bool ll_dllHasExternalReferences() nothrow
{
version (CRuntime_DigitalMars)
enum internalReferences = 1; // only the watchdog thread
else
int internalReferences = msvcUsesUCRT ? 1 + ll_countLowLevelThreadsWithDLLUnloadCallback() : 1;
int refcnt = dll_getRefCount(ll_dllModule);
return refcnt > internalReferences;
}
private void monitorDLLRefCnt() nothrow
{
// this thread keeps the DLL alive until all external references are gone
while (ll_dllHasExternalReferences())
{
Thread.sleep(100.msecs);
}
// the current thread will be terminated below
ll_removeThread(GetCurrentThreadId());
for (;;)
{
ThreadID tid;
void delegate() nothrow cbDllUnload;
{
lowlevelLock.lock_nothrow();
scope(exit) lowlevelLock.unlock_nothrow();
foreach (i; 0 .. ll_nThreads)
if (ll_pThreads[i].cbDllUnload)
{
cbDllUnload = ll_pThreads[i].cbDllUnload;
tid = ll_pThreads[0].tid;
}
}
if (!cbDllUnload)
break;
cbDllUnload();
assert(!findLowLevelThread(tid));
}
FreeLibraryAndExitThread(ll_dllModule, 0);
}
int ll_getDLLRefCount() nothrow @nogc
{
if (!ll_dllModule &&
!GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS | GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT,
cast(const(wchar)*) &ll_getDLLRefCount, &ll_dllModule))
return -1;
return dll_getRefCount(ll_dllModule);
}
bool ll_startDLLUnloadThread() nothrow @nogc
{
int refcnt = ll_getDLLRefCount();
if (refcnt < 0)
return false; // not a dynamically loaded DLL
if (ll_dllMonitorThread !is ThreadID.init)
return true;
// if a thread is created from a DLL, the MS runtime (starting with VC2015) increments the DLL reference count
// to avoid the DLL being unloaded while the thread is still running. Mimick this behavior here for all
// runtimes not doing this
version (CRuntime_DigitalMars)
enum needRef = true;
else
bool needRef = !msvcUsesUCRT;
if (needRef)
{
HMODULE hmod;
GetModuleHandleExW(GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS, cast(const(wchar)*) &ll_getDLLRefCount, &hmod);
}
ll_dllMonitorThread = createLowLevelThread(() { monitorDLLRefCnt(); });
return ll_dllMonitorThread != ThreadID.init;
}
}
/**
* Create a thread not under control of the runtime, i.e. TLS module constructors are
* not run and the GC does not suspend it during a collection.
*
* Params:
* dg = delegate to execute in the created thread.
* stacksize = size of the stack of the created thread. The default of 0 will select the
* platform-specific default size.
* cbDllUnload = Windows only: if running in a dynamically loaded DLL, this delegate will be called
* if the DLL is supposed to be unloaded, but the thread is still running.
* The thread must be terminated via `joinLowLevelThread` by the callback.
*
* Returns: the platform specific thread ID of the new thread. If an error occurs, `ThreadID.init`
* is returned.
*/
ThreadID createLowLevelThread(void delegate() nothrow dg, uint stacksize = 0,
void delegate() nothrow cbDllUnload = null) nothrow @nogc
{
void delegate() nothrow* context = cast(void delegate() nothrow*)malloc(dg.sizeof);
*context = dg;
ThreadID tid;
version (Windows)
{
// the thread won't start until after the DLL is unloaded
if (thread_DLLProcessDetaching)
return ThreadID.init;
static extern (Windows) uint thread_lowlevelEntry(void* ctx) nothrow
{
auto dg = *cast(void delegate() nothrow*)ctx;
free(ctx);
dg();
ll_removeThread(GetCurrentThreadId());
return 0;
}
// see Thread.start() for why thread is created in suspended state
HANDLE hThread = cast(HANDLE) _beginthreadex(null, stacksize, &thread_lowlevelEntry,
context, CREATE_SUSPENDED, &tid);
if (!hThread)
return ThreadID.init;
}
lowlevelLock.lock_nothrow();
scope(exit) lowlevelLock.unlock_nothrow();
ll_nThreads++;
ll_pThreads = cast(ll_ThreadData*)realloc(ll_pThreads, ll_ThreadData.sizeof * ll_nThreads);
version (Windows)
{
ll_pThreads[ll_nThreads - 1].tid = tid;
ll_pThreads[ll_nThreads - 1].cbDllUnload = cbDllUnload;
if (ResumeThread(hThread) == -1)
onThreadError("Error resuming thread");
CloseHandle(hThread);
if (cbDllUnload)
ll_startDLLUnloadThread();
}
else version (Posix)
{
static extern (C) void* thread_lowlevelEntry(void* ctx) nothrow
{
auto dg = *cast(void delegate() nothrow*)ctx;
free(ctx);
dg();
ll_removeThread(pthread_self());
return null;
}
size_t stksz = adjustStackSize(stacksize);
pthread_attr_t attr;
int rc;
if ((rc = pthread_attr_init(&attr)) != 0)
return ThreadID.init;
if (stksz && (rc = pthread_attr_setstacksize(&attr, stksz)) != 0)
return ThreadID.init;
if ((rc = pthread_create(&tid, &attr, &thread_lowlevelEntry, context)) != 0)
return ThreadID.init;
if ((rc = pthread_attr_destroy(&attr)) != 0)
return ThreadID.init;
ll_pThreads[ll_nThreads - 1].tid = tid;
}
return tid;
}
/**
* Wait for a thread created with `createLowLevelThread` to terminate.
*
* Note: In a Windows DLL, if this function is called via DllMain with
* argument DLL_PROCESS_DETACH, the thread is terminated forcefully
* without proper cleanup as a deadlock would happen otherwise.
*
* Params:
* tid = the thread ID returned by `createLowLevelThread`.
*/
void joinLowLevelThread(ThreadID tid) nothrow @nogc
{
version (Windows)
{
HANDLE handle = OpenThreadHandle(tid);
if (!handle)
return;
if (thread_DLLProcessDetaching)
{
// When being called from DllMain/DLL_DETACH_PROCESS, threads cannot stop
// due to the loader lock being held by the current thread.
// On the other hand, the thread must not continue to run as it will crash
// if the DLL is unloaded. The best guess is to terminate it immediately.
TerminateThread(handle, 1);
WaitForSingleObject(handle, 10); // give it some time to terminate, but don't wait indefinitely
}
else
WaitForSingleObject(handle, INFINITE);
CloseHandle(handle);
}
else version (Posix)
{
if (pthread_join(tid, null) != 0)
onThreadError("Unable to join thread");
}
}
nothrow @nogc unittest
{
struct TaskWithContect
{
shared int n = 0;
void run() nothrow
{
n.atomicOp!"+="(1);
}
}
TaskWithContect task;
ThreadID[8] tids;
for (int i = 0; i < tids.length; i++)
tids[i] = createLowLevelThread(&task.run);
for (int i = 0; i < tids.length; i++)
joinLowLevelThread(tids[i]);
assert(task.n == tids.length);
}
version (Posix)
private size_t adjustStackSize(size_t sz) nothrow @nogc
{
if (sz == 0)
return 0;
// stack size must be at least PTHREAD_STACK_MIN for most platforms.
if (PTHREAD_STACK_MIN > sz)
sz = PTHREAD_STACK_MIN;
version (CRuntime_Glibc)
{
// On glibc, TLS uses the top of the stack, so add its size to the requested size
sz += externDFunc!("rt.sections_elf_shared.sizeOfTLS",
size_t function() @nogc nothrow)();
}
// stack size must be a multiple of PAGESIZE
sz = ((sz + PAGESIZE - 1) & ~(PAGESIZE - 1));
return sz;
}
| D |
func void ZS_Pray_Innos()
{
Perception_Set_Normal();
B_ResetAll(self);
b_staminainvent();
AI_SetWalkMode(self,NPC_WALK);
if(Hlp_StrCmp(Npc_GetNearestWP(self),self.wp) == FALSE)
{
AI_GotoWP(self,self.wp);
};
self.aivar[AIV_MM_EatGroundStart] = FALSE;
};
func int ZS_Pray_Innos_Loop()
{
B_CheckHealth(self);
if((self.vars[0] == TRUE) && (Npc_GetDistToNpc(self,hero) <= PERC_DIST_DIALOG))
{
if(C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT))
{
AI_UseMob(self,"INNOS",-1);
B_TurnToNpc(self,hero);
B_LookAtNpc(self,hero);
};
AI_StartState(self,ZS_ObservePlayer,0,"");
return LOOP_END;
};
if(!C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT) && Wld_IsMobAvailable(self,"INNOS"))
{
AI_UseMob(self,"INNOS",1);
};
if((Npc_GetStateTime(self) > 5) && C_BodyStateContains(self,BS_MOBINTERACT_INTERRUPT))
{
Npc_SetStateTime(self,0);
};
return LOOP_CONTINUE;
};
func void ZS_Pray_Innos_End()
{
b_staminainvent();
self.aivar[AIV_MM_EatGroundStart] = FALSE;
AI_UseMob(self,"INNOS",-1);
};
| D |
INSTANCE Info_Mod_Cornelius_Hi (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Hi_Condition;
information = Info_Mod_Cornelius_Hi_Info;
permanent = 0;
important = 0;
description = "Wer bist du?";
};
FUNC INT Info_Mod_Cornelius_Hi_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Cornelius_Hi_Info()
{
B_Say (hero, self, "$WHOAREYOU");
AI_Output(self, hero, "Info_Mod_Cornelius_Hi_13_01"); //Ich bin Cornelius, der stellvertretende Statthalter von Khorinis. Was kann ich für dich tun?
};
INSTANCE Info_Mod_Cornelius_Morgahard (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Morgahard_Condition;
information = Info_Mod_Cornelius_Morgahard_Info;
permanent = 0;
important = 0;
description = "Ich will mit dir über Morgahard sprechen.";
};
FUNC INT Info_Mod_Cornelius_Morgahard_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Esteban_NW_Hi))
&& (Npc_KnowsInfo(hero, Info_Mod_Cornelius_Hi))
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_Morgahard_Info()
{
AI_Output(hero, self, "Info_Mod_Cornelius_Morgahard_15_00"); //Ich will mit dir über Morgahard sprechen.
AI_Output(self, hero, "Info_Mod_Cornelius_Morgahard_13_01"); //(nervös) Was ist mit ihm?
AI_Output(hero, self, "Info_Mod_Cornelius_Morgahard_15_02"); //Ich glaube, das Verbrechen, aufgrund dessen er in die Kolonie geworfen wurde, hat er nicht begangen.
AI_Output(self, hero, "Info_Mod_Cornelius_Morgahard_13_03"); //(verlegen) Nun, naja, das mag schon sein, allerdings ist es nun schon zu spät, er war schon in der Kolonie.
AI_Output(hero, self, "Info_Mod_Cornelius_Morgahard_15_04"); //Das weiß ich, aber trotzdem will ich, dass er offiziell als unschuldig gilt.
AI_Output(self, hero, "Info_Mod_Cornelius_Morgahard_13_05"); //Ich ... ich habe Beweise für seine Unschuld. Allerdings würden sie mich umbringen, wenn ich sie dir geben würde.
AI_Output(hero, self, "Info_Mod_Cornelius_Morgahard_15_06"); //Wer würde dich umbringen?
AI_Output(self, hero, "Info_Mod_Cornelius_Morgahard_13_07"); //Ich will mich mit dir heute Nacht auf dem leeren Marktplatz treffen. Dort können wir ungefährdet reden.
B_LogEntry (TOPIC_MOD_AL_MORGAHARD, "Cornelius kann nicht offen sprechen. Er will sich heute Nacht am Marktplatz mit mir treffen.");
B_StartOtherRoutine (self, "MARKT");
};
INSTANCE Info_Mod_Cornelius_AtMarkt (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_AtMarkt_Condition;
information = Info_Mod_Cornelius_AtMarkt_Info;
permanent = 0;
important = 0;
description = "Also, sag mir was du weißt.";
};
FUNC INT Info_Mod_Cornelius_AtMarkt_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Cornelius_Morgahard))
&& (Npc_GetDistToWP(self, "NW_CITY_MERCHANT_PATH_29_B") < 500)
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_AtMarkt_Info()
{
AI_Output(hero, self, "Info_Mod_Cornelius_AtMarkt_15_00"); //Also, sag mir, was du weißt.
AI_Output(self, hero, "Info_Mod_Cornelius_AtMarkt_13_01"); //Nun, es gibt eine geheime Gruppe aus reichen Bürgern in der Stadt, die ziemlich viel Macht hat.
AI_Output(self, hero, "Info_Mod_Cornelius_AtMarkt_13_02"); //Morgahard war ihnen ein Dorn im Auge, da er sich ihnen nicht anschließen wollte und gegen sie gearbeitet hat.
AI_Output(self, hero, "Info_Mod_Cornelius_AtMarkt_13_03"); //Also haben sie ihm ein Verbrechen angedichtet und ihn in die Kolonie verbannen lassen.
AI_Output(hero, self, "Info_Mod_Cornelius_AtMarkt_15_04"); //Wer sind die Mitglieder dieser Gruppe?
AI_Output(self, hero, "Info_Mod_Cornelius_AtMarkt_13_05"); //Ich kenne nur einen, und das ist Gerbrandt.
AI_StopProcessInfos (self);
AI_PlayAniBS (self, "T_DEAD", BS_LIE);
B_LogEntry (TOPIC_MOD_AL_MORGAHARD, "Cornelius konnte mir gerade noch sagen, dass Gerbrandt in der Sache mit drin hängt, danach ist er aber tot zusammengebrochen.");
};
INSTANCE Info_Mod_Cornelius_Ambient (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Ambient_Condition;
information = Info_Mod_Cornelius_Ambient_Info;
permanent = 0;
important = 0;
description = "Gefällt dir dein Amt als stellvertretender Statthalter?";
};
FUNC INT Info_Mod_Cornelius_Ambient_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Cornelius_Hi))
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_Ambient_Info()
{
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient_15_00"); //Gefällt dir dein Amt als stellvertretender Statthalter?
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient_13_01"); //Dieser Titel ist doch eine einzige Verhöhnung!
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient_13_02"); //Ich warte nur darauf, dass sie mich offiziell als zweiten Aushilfsboten für Lord Hagen anstellen.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient_13_03"); //Denn nichts anderes bin ich. Larius hat ein Wehwehchen? Ich muss es den Lords mitteilen.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient_13_04"); //Lord Hagen hat einen Befehl? Auf zu Larius!
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient_13_05"); //Als ob die die zwei Zimmer nicht selbst laufen könnten!
};
INSTANCE Info_Mod_Cornelius_Ambient01 (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Ambient01_Condition;
information = Info_Mod_Cornelius_Ambient01_Info;
permanent = 1;
important = 0;
description = "Dann bekommst du doch bestimmt viel mit von dem, was passiert.";
};
FUNC INT Info_Mod_Cornelius_Ambient01_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Cornelius_Ambient))
&& (Mod_Cornelius_Overtalk == 0)
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_Ambient01_Info()
{
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient01_15_00"); //Dann bekommst du doch bestimmt viel mit von dem, was passiert.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient01_13_01"); //Alles vertrauliche Informationen.
Info_ClearChoices (Info_Mod_Cornelius_Ambient01);
Info_AddChoice (Info_Mod_Cornelius_Ambient01, "Ich habe einen gut gefüllten Geldbeutel.", Info_Mod_Cornelius_Ambient01_B);
Info_AddChoice (Info_Mod_Cornelius_Ambient01, "Ich könnte dir helfen, deine Position zu verbessern.", Info_Mod_Cornelius_Ambient01_A);
};
FUNC VOID Info_Mod_Cornelius_Ambient01_B()
{
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient01_B_15_00"); //Ich habe einen gut gefüllten Geldbeutel.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient01_B_13_01"); //Das wird dir leider nichts bringen, ich habe auch meine Ehre.
Info_ClearChoices (Info_Mod_Cornelius_Ambient01);
};
FUNC VOID Info_Mod_Cornelius_Ambient01_A()
{
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient01_A_15_00"); //Ich könnte dir helfen, deine Position zu verbessern.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient01_A_13_01"); //(misstrauisch) Inwiefern?
// Wenn man Lord Hagen geholfen hat
if (Npc_KnowsInfo(hero, Info_Mod_Hagen_Hi))
{
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient01_A_15_02"); //Meine Beziehungen zu den Lords sind gut.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient01_A_13_03"); //In dem Fall ... hilf du mir zuerst, dann werde ich dir bereitwillig antworten.
Mod_Cornelius_Overtalk = 1;
Log_CreateTopic (TOPIC_MOD_CORNELIUS_HELP, LOG_MISSION);
B_SetTopicStatus (TOPIC_mOD_CORNELIUS_HELP, LOG_RUNNING);
B_LogEntry (TOPIC_MOD_CORNELIUS_HELP, "Durch seine Botendienste ist Cornelius, der stellvertretende Statthalter, im Besitz wertvoller Informationen über die Lage in Khorinis. Damit er anfängt zu reden, will er allerdings vorher von seinen nervenden Aufgaben entbunden werden. Ich sollte mit Lord Hagen darüber sprechen.");
}
else
{
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient01_A_15_04"); //Da fällt mir im Moment auch nichts ein.
};
Info_ClearChoices (Info_Mod_Cornelius_Ambient01);
};
INSTANCE Info_Mod_Cornelius_Ambient02 (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Ambient02_Condition;
information = Info_Mod_Cornelius_Ambient02_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Cornelius_Ambient02_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Hagen_Cornelius))
&& (Mod_Cornelius_Overtalk == 2)
&& (Npc_IsInState(self, ZS_Talk))
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_Ambient02_Info()
{
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient02_13_00"); //Und, was hast du erreichen können?
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient02_15_01"); //Sieht doch so aus, als könnte ich dir nicht helfen.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient02_13_02"); //(ironisch) Na, super! Aber glaub ja nicht, dass wir so ins Geschäft kommen.
};
INSTANCE Info_Mod_Cornelius_Ambient03 (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Ambient03_Condition;
information = Info_Mod_Cornelius_Ambient03_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Cornelius_Ambient03_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Hagen_Cornelius))
&& (Mod_Cornelius_Overtalk == 4)
&& (Npc_IsInState(self, ZS_Talk))
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_Ambient03_Info()
{
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_00"); //Und, was hast du erreichen können?
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient03_15_01"); //Du bist ab jetzt Wirtschaftsminister. Zufrieden?
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_02"); //Aber hallo! Keine schlechte Aufgabe, und endlich entkomme ich den skeptischen Blicken Lord Hagens.
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient03_15_03"); //Stell bloß keine Dummheiten an, ich müsste dafür gerade stehen.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_04"); //(heuchlerisch) Würde mir nie im Traum einfallen.
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient03_15_05"); //Was ist mit der Gegenleistung?
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_06"); //Den pikanten Neuigkeiten?
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_07"); //Von meinen Quellen weiß ich, dass Lord Hagen nicht mehr das volle Vertrauen des Königs genießt.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_08"); //Er soll schon eine Delegation entsandt haben, die im richtigen Moment zuschlagen und Lord Hagen entmachten soll.
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient03_15_09"); //Dann wird's hier jedenfalls nicht langweilig.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient03_13_10"); //Worauf du einen lassen kannst.
B_GivePlayerXP (50);
Mod_Cornelius_Overtalk_Day = Wld_GetDay();
CurrentNQ += 1;
B_SetTopicStatus (TOPIC_MOD_CORNELIUS_HELP, LOG_SUCCESS);
AI_StopProcessInfos (self);
B_StartOtherRoutine (self, "WIRTSCHAFT");
};
INSTANCE Info_Mod_Cornelius_Ambient04 (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Ambient04_Condition;
information = Info_Mod_Cornelius_Ambient04_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Cornelius_Ambient04_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Cornelius_Ambient03))
&& (Mod_Cornelius_Overtalk == 5)
{
return 1;
};
};
FUNC VOID Info_Mod_Cornelius_Ambient04_Info()
{
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient04_13_00"); //Stehen geblieben! Hier kommt gerade keiner rein!
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient04_15_01"); //Was ist denn hier passiert?
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient04_13_02"); //Lord Hagen steht unter Arrest! Ich werde seine Herrschaft nicht länger dulden.
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient04_15_03"); //Und was hast du jetzt vor?
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient04_13_04"); //Der gute Herr verschanzt sich dort drin mit einer letzten Schar Getreuer. Die Bande wird jetzt ausgehungert, bis sie sich ergibt.
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient04_15_05"); //Hast du mich also doch enttäuscht.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient04_13_06"); //Sonst wäre ich wohl kaum an mein Ziel gekommen. Und jetzt verschwinde, ich brauche dich nicht mehr.
AI_Output(hero, self, "Info_Mod_Cornelius_Ambient04_15_07"); //So einfach wirst du mich jetzt aber nicht los ...
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient04_13_08"); //Du willst also lieber starrköpfig untergehen? Meinetwegen.
AI_Output(self, hero, "Info_Mod_Cornelius_Ambient04_13_09"); //(ruft) Zieht die Waffen, Männer, hier wird Blut vergossen!
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_GuildEnemy, 0);
};
INSTANCE Info_Mod_Cornelius_Pickpocket (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_Pickpocket_Condition;
information = Info_Mod_Cornelius_Pickpocket_Info;
permanent = 1;
important = 0;
description = Pickpocket_90;
};
FUNC INT Info_Mod_Cornelius_Pickpocket_Condition()
{
C_Beklauen (64, ItMi_Gold, 200);
};
FUNC VOID Info_Mod_Cornelius_Pickpocket_Info()
{
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
Info_AddChoice (Info_Mod_Cornelius_Pickpocket, DIALOG_BACK, Info_Mod_Cornelius_Pickpocket_BACK);
Info_AddChoice (Info_Mod_Cornelius_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Cornelius_Pickpocket_DoIt);
};
FUNC VOID Info_Mod_Cornelius_Pickpocket_BACK()
{
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
};
FUNC VOID Info_Mod_Cornelius_Pickpocket_DoIt()
{
if (B_Beklauen() == TRUE)
{
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
}
else
{
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
Info_AddChoice (Info_Mod_Cornelius_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Cornelius_Pickpocket_Beschimpfen);
Info_AddChoice (Info_Mod_Cornelius_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Cornelius_Pickpocket_Bestechung);
Info_AddChoice (Info_Mod_Cornelius_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Cornelius_Pickpocket_Herausreden);
};
};
FUNC VOID Info_Mod_Cornelius_Pickpocket_Beschimpfen()
{
B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN");
B_Say (self, hero, "$DIRTYTHIEF");
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_Theft, 1);
};
FUNC VOID Info_Mod_Cornelius_Pickpocket_Bestechung()
{
B_Say (hero, self, "$PICKPOCKET_BESTECHUNG");
var int rnd; rnd = r_max(99);
if (rnd < 25)
|| ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50))
|| ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100))
|| ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200))
{
B_Say (self, hero, "$DIRTYTHIEF");
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_Theft, 1);
}
else
{
if (rnd >= 75)
{
B_GiveInvItems (hero, self, ItMi_Gold, 200);
}
else if (rnd >= 50)
{
B_GiveInvItems (hero, self, ItMi_Gold, 100);
}
else if (rnd >= 25)
{
B_GiveInvItems (hero, self, ItMi_Gold, 50);
};
B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01");
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
AI_StopProcessInfos (self);
};
};
FUNC VOID Info_Mod_Cornelius_Pickpocket_Herausreden()
{
B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN");
if (r_max(99) < Mod_Verhandlungsgeschick)
{
B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01");
Info_ClearChoices (Info_Mod_Cornelius_Pickpocket);
}
else
{
B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02");
};
};
INSTANCE Info_Mod_Cornelius_EXIT (C_INFO)
{
npc = Mod_571_NONE_Cornelius_NW;
nr = 1;
condition = Info_Mod_Cornelius_EXIT_Condition;
information = Info_Mod_Cornelius_EXIT_Info;
permanent = 1;
important = 0;
description = DIALOG_ENDE;
};
FUNC INT Info_Mod_Cornelius_EXIT_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Cornelius_EXIT_Info()
{
AI_StopProcessInfos (self);
}; | D |
any piece of work that is undertaken or attempted
a planned undertaking
communicate vividly
extend out or project in space
transfer (ideas or principles) from one domain into another
project on a screen
cause to be heard
draw a projection of
make or work out a plan for
present for consideration, examination, criticism, etc.
imagine
put or send forth
throw, send, or cast forward
regard as objective
| D |
import std.stdio: writeln;
import std.string: split;
import std.conv: to;
import std.algorithm: reduce;
void main() {
writeln( reduce!((a, b) => a + b)(0, "8 45 0".split.to!(int[])) );
// writeln( reduce("8 45 0".split.to!(int[]), ) );
writeln("fat cat|rotten pig".split("|"));
}
| D |
module org.apache.http.impl;
public import org.apache.http.impl.DefaultConnectionReuseStrategy;
public import org.apache.http.impl.DefaultHttpClientConnection;
public import org.apache.http.impl.DefaultHttpRequestFactory;
public import org.apache.http.impl.DefaultHttpResponseFactory;
public import org.apache.http.impl.DefaultHttpServerConnection;
| D |
/*******************************************************************************
Request command format and global response code definition.
Copyright: Copyright (c) 2016-2017 dunnhumby Germany GmbH. All rights reserved
License:
Boost Software License Version 1.0. See LICENSE.txt for details.
*******************************************************************************/
module swarm.neo.request.Command;
/*******************************************************************************
Struct defining the information transmitted from client -> node to start a
request.
*******************************************************************************/
public struct Command
{
alias ubyte Code;
alias ubyte Version;
Code code;
Version ver;
/***************************************************************************
Make sure there are no padding bytes in this struct.
***************************************************************************/
import ocean.core.Traits : SizeofTuple;
static assert(SizeofTuple!(typeof(typeof(*this).tupleof)) == typeof(*this).sizeof);
}
/*******************************************************************************
Status code alias.
*******************************************************************************/
public alias byte StatusCode;
/*******************************************************************************
Enum defining request supported status codes transmitted from the node ->
client, in response to a request.
*******************************************************************************/
public enum SupportedStatus : StatusCode
{
/// Both request code specified in the transmitted Command struct and the
/// associated request version are supported and the request will start
/// on this connection.
RequestSupported = -3,
/// The request code specified in the transmitted Command struct is
/// supported, but the associated request version is not.
RequestVersionNotSupported = -2,
/// The request code specified in the transmitted Command struct is not
/// supported.
RequestNotSupported = -1
}
| D |
/Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/Objects-normal/x86_64/IQUIView+IQKeyboardToolbar.o : /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQInvocation.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstants.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQPreviousNextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macexpert/Downloads/CommuniSki/Pods/Target\ Support\ Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-umbrella.h /Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/Objects-normal/x86_64/IQUIView+IQKeyboardToolbar~partial.swiftmodule : /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQInvocation.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstants.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQPreviousNextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macexpert/Downloads/CommuniSki/Pods/Target\ Support\ Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-umbrella.h /Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/Objects-normal/x86_64/IQUIView+IQKeyboardToolbar~partial.swiftdoc : /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQInvocation.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstants.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQPreviousNextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macexpert/Downloads/CommuniSki/Pods/Target\ Support\ Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-umbrella.h /Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/Objects-normal/x86_64/IQUIView+IQKeyboardToolbar~partial.swiftsourceinfo : /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQInvocation.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstants.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQPreviousNextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift /Users/macexpert/Downloads/CommuniSki/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/ObjectiveC.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreImage.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/QuartzCore.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Dispatch.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Metal.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Darwin.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Foundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreFoundation.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/CoreGraphics.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Swift.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/UIKit.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/SwiftOnoneSupport.swiftmodule/x86_64.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/prebuilt-modules/Combine.swiftmodule/x86_64-apple-ios-simulator.swiftmodule /Users/macexpert/Downloads/CommuniSki/Pods/Target\ Support\ Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-umbrella.h /Users/macexpert/Downloads/CommuniSki/Build/Intermediates.noindex/Pods.build/Debug-iphonesimulator/IQKeyboardManagerSwift.build/unextended-module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/OpenGLES.framework/Headers/OpenGLES.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/QuartzCore.framework/Headers/QuartzCore.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/apinotes/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Metal.framework/Headers/Metal.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UserNotifications.framework/Headers/UserNotifications.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIKit.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator13.4.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
/Users/aligame/work/rust_repository/rutils/target/x86_64-unknown-linux-musl/release/deps/libclap-8430ee51d83cb4c3.rlib: /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/lib.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/macros.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/settings.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/parser.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/meta.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/help.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/validator.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/usage.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/macros.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/any_arg.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_matches.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_matcher.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/subcommand.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/flag.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/positional.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/option.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/base.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/valued.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/switched.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/matched_arg.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/group.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/settings.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/usage_parser.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/fmt.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/suggestions.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/errors.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/osstringext.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/strext.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/macros.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/bash.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/fish.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/zsh.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/powershell.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/elvish.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/shell.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/map.rs
/Users/aligame/work/rust_repository/rutils/target/x86_64-unknown-linux-musl/release/deps/clap-8430ee51d83cb4c3.d: /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/lib.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/macros.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/settings.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/parser.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/meta.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/help.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/validator.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/usage.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/macros.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/any_arg.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_matches.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_matcher.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/subcommand.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/flag.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/positional.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/option.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/base.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/valued.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/switched.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/matched_arg.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/group.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/settings.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/usage_parser.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/fmt.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/suggestions.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/errors.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/osstringext.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/strext.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/mod.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/macros.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/bash.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/fish.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/zsh.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/powershell.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/elvish.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/shell.rs /Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/map.rs
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/lib.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/macros.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/mod.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/settings.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/parser.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/meta.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/help.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/validator.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/app/usage.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/mod.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/macros.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/any_arg.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_matches.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_matcher.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/subcommand.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/mod.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/flag.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/positional.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/option.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/base.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/valued.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/arg_builder/switched.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/matched_arg.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/group.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/args/settings.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/usage_parser.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/fmt.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/suggestions.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/errors.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/osstringext.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/strext.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/mod.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/macros.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/bash.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/fish.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/zsh.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/powershell.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/elvish.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/completions/shell.rs:
/Users/aligame/.cargo/registry/src/mirrors.ustc.edu.cn-61ef6e0cd06fb9b8/clap-2.33.0/src/map.rs:
| D |
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/Utilities/Exports.swift.o : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormDataConvertible.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Codable/URLEncodedFormDecoder.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Codable/URLEncodedFormEncoder.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Utilities/URLEncodedFormError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Utilities/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/Utilities/Exports~partial.swiftmodule : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormDataConvertible.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Codable/URLEncodedFormDecoder.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Codable/URLEncodedFormEncoder.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Utilities/URLEncodedFormError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Utilities/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
/Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/URLEncodedForm.build/Utilities/Exports~partial.swiftdoc : /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormData.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormDataConvertible.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Codable/URLEncodedFormDecoder.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Codable/URLEncodedFormEncoder.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormParser.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Data/URLEncodedFormSerializer.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Utilities/URLEncodedFormError.swift /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/url-encoded-form/Sources/URLEncodedForm/Utilities/Exports.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIO.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Async.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Core.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Debugging.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/COperatingSystem.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOConcurrencyHelpers.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/Bits.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/NIOFoundationCompat.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/cpp_magic.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/ifaddrs-android.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIODarwin/include/CNIODarwin.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOAtomics/include/CNIOAtomics.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio/Sources/CNIOLinux/include/CNIOLinux.h /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOSHA1.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CCryptoOpenSSL.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOZlib.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIODarwin.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOHTTPParser.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOAtomics.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/x86_64-apple-macosx/debug/CNIOLinux.build/module.modulemap /Users/Jorge/Desktop/Projects/Web/Swift/kisiBootcamp/.build/checkouts/swift-nio-zlib-support/module.modulemap /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/ApplicationServices.framework/Headers/ApplicationServices.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/System/Library/Frameworks/Security.framework/Headers/Security.apinotes
| D |
int[R] aa; // Place before the declaration of key struct
struct R
{
int opCmp(ref const R) const { return 0; }
//bool opEquals(ref const R) const { return true; }
//size_t toHash() const nothrow @safe { return 0; }
}
void main()
{}
| D |
/*
* locale.d
*
* This module handles locale and internationalization.
*
* Author: Dave Wilkinson
* Originated: September 15th, 2009
*
*/
module core.locale;
import core.time;
import core.date;
import core.string;
import core.definitions;
// Supported Locales
import core.locales.en_us;
import core.locales.fr_fr;
enum LocaleId : uint {
English_US,
English_GB,
French_FR,
}
class Locale {
static:
LocaleId id() {
return _localeId;
}
void id(LocaleId value) {
_localeId = value;
switch(_localeId) {
default:
case LocaleId.English_US:
_localeEngine = new LocaleEnglish_US();
break;
case LocaleId.French_FR:
_localeEngine = new LocaleFrench_FR();
break;
}
}
string formatNumber(double value) {
return _localeEngine.formatNumber(value);
}
string formatCurrency(long fixed, long scale) {
return _localeEngine.formatCurrency(fixed, scale);
}
string formatCurrency(double amount) {
return _localeEngine.formatCurrency(amount);
}
string formatTime(Time time) {
return _localeEngine.formatTime(time);
}
string formatDate(Date date) {
return _localeEngine.formatDate(date);
}
private:
LocaleId _localeId = LocaleId.English_US;
LocaleInterface _localeEngine;
}
interface LocaleInterface {
string formatTime(Time time);
string formatDate(Date date);
string formatNumber(double value);
string formatNumber(long fixed, long scale, long round);
string formatCurrency(double amount);
string formatCurrency(long fixed, long scale);
}
| D |
prototype MST_DEFAULT_ICEWOLF(C_NPC)
{
name[0] = "Ledový vlk";
guild = GIL_WOLF;
aivar[AIV_MM_REAL_ID] = ID_ICEWOLF;
level = 15;
attribute[ATR_STRENGTH] = 150;
attribute[ATR_DEXTERITY] = 150;
attribute[ATR_HITPOINTS_MAX] = 300;
attribute[ATR_HITPOINTS] = 300;
attribute[ATR_MANA_MAX] = 0;
attribute[ATR_MANA] = 0;
protection[PROT_BLUNT] = 150;
protection[PROT_EDGE] = 150;
protection[PROT_POINT] = 100;
protection[PROT_FIRE] = 150;
protection[PROT_FLY] = 150;
protection[PROT_MAGIC] = 0;
damagetype = DAM_EDGE;
fight_tactic = FAI_WOLF;
senses = SENSE_HEAR | SENSE_SEE | SENSE_SMELL;
senses_range = PERC_DIST_MONSTER_ACTIVE_MAX;
aivar[AIV_MM_THREATENBEFOREATTACK] = TRUE;
aivar[AIV_MM_FOLLOWTIME] = FOLLOWTIME_LONG;
aivar[AIV_MM_FOLLOWINWATER] = TRUE;
aivar[AIV_MM_PACKHUNTER] = TRUE;
start_aistate = zs_mm_allscheduler;
aivar[AIV_MM_ROAMSTART] = ONLYROUTINE;
};
func void b_setvisuals_icewolf()
{
Mdl_SetVisual(self,"Wolf.mds");
Mdl_SetVisualBody(self,"SnoWol_Body",DEFAULT,DEFAULT,"",DEFAULT,DEFAULT,-1);
};
instance ICEWOLF(MST_DEFAULT_ICEWOLF)
{
b_setvisuals_icewolf();
Npc_SetToFistMode(self);
CreateInvItems(self,itfomuttonraw,1);
};
| D |
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Jay.build/ArrayParser.swift.o : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Jay.build/ArrayParser~partial.swiftmodule : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
/Users/okasho/serverProject/tryswift/get_and_post/swift/.build/debug/Jay.build/ArrayParser~partial.swiftdoc : /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ArrayParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/BooleanParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ByteReader.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/CommentParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Consts.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Error.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Extensions.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Formatter.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Jay.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NativeParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NativeTypeConversions.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NullParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/NumberParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ObjectParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/OutputStream.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Parser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Reader.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/RootParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/StringParser.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/Types.swift /Users/okasho/serverProject/tryswift/get_and_post/swift/Packages/Jay-1.0.1/Sources/Jay/ValueParser.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule
| D |
//**************************************************************
// Made by Shergar *
//**************************************************************
func void chestout()
{
Npc_SetAivar(self,AIV_INVINCIBLE, FALSE);
Snd_Play("LevelUp");
MOBUSE = 0;
//PRINTGlobals(PD_ITEM_MOBSI);
Npc_SendPassivePerc(hero,PERC_ASSESSENTERROOM,NULL,hero);
};
func void chest_s1()
{
var C_Npc him;
var C_Npc rocker;
MOBUSE = CHEST_USED;
him = Hlp_GetNpc(PC_Hero);
rocker = Hlp_GetNpc(PC_Rockefeller);
if((Hlp_GetInstanceID(self) == Hlp_GetInstanceID(him)) || (Hlp_GetInstanceID(self) == Hlp_GetInstanceID(rocker)))
{
Npc_SetAivar(self,AIV_INVINCIBLE, TRUE);
B_ProcessInfos(him);
};
};
instance NOchest1(C_Info)
{
npc = PC_Hero;
nr = 999;
condition = nochest1_condition;
information = nochest1_info;
important = 0;
permanent = 1;
description = "Zabieraj brudne łapska - skrzynia jest pusta!";
};
func int nochest1_condition()
{
if (MOBUSE == CHEST_USED) && (CHEST_KNOW == FALSE)
{
return 1;
};
};
func void nochest1_info()
{
B_StopProcessInfos (self);
MOBUSE = 0;
Npc_SetAivar(self,AIV_INVINCIBLE, FALSE);
};
instance NOchest(C_Info)
{
npc = PC_Hero;
nr = 999;
condition = nochest_condition;
information = nochest_info;
important = 0;
permanent = 1;
description = "Zostaw skrzynię w spokoju.";
};
func int nochest_condition()
{
if (MOBUSE == CHEST_USED) && (CHEST_KNOW == TRUE)
{
return 1;
};
};
func void nochest_info()
{
B_StopProcessInfos (self);
MOBUSE = 0;
Npc_SetAivar(self,AIV_INVINCIBLE, FALSE);
};
instance Shadows_Write (C_Info)
{
npc = PC_Hero;
condition = Shadows_Write_condition;
information = Shadows_Write_info;
important = 0;
permanent = 1;
description = "Cienie.";
};
func int Shadows_Write_condition()
{
if (MOBUSE == CHEST_USED) && (CHEST_KNOW == TRUE)&&(chest_conf < 2)
{
return 1;
};
};
func void Shadows_Write_info()
{
AI_Output (other, self,"Shadows_Write_15_00"); //Po wnikliwym rozpoznaniu rozmieszczenia posterunków strażników i ustaleniu częstotliwości zmiany wart...
AI_Output (other, self,"Shadows_Write_15_01"); //A pieprzyć to gówno! Zróbcie to, co teraz napiszę...
Info_ClearChoices (Shadows_Write);
Info_AddChoice (Shadows_Write, "Zaatakujcie zewnętrzne bramy.", Shadows_Write_Gate);
Info_AddChoice (Shadows_Write, "Zajmijcie się strażnikami w pierścieniu.", Shadows_Write_Guards);
Info_AddChoice (Shadows_Write, "Zaatakujcie bramę zamkową.", Shadows_Write_Castle);
Info_AddChoice (Shadows_Write, "Róbcie, co chcecie.", Shadows_Write_Nothing);
};
// --------------------------------------------------------------
/*********************
Kurde jednak nie zrobię tego sam bo nie wiem, którzy z cienii są w obozie no i jak to zrobić najoptymalniej.
Chodzi o to, żeby wszystkie cienie w tej opcji podczas ataku [nie po wybraniu opcji, więc jakiś trigger chyba będzie potrzebny albo wywołanie funkcji inicjującej podczas dialogu przed atakiem]
ustawili się w pobliżu zewnętrznych bram, czyli 2 oddziały z nich trzeba zrobić.
**********************/
/****************
Ta zmienna jak = 2 to znaczy, że i Cienie i Kopacze już są skonfigurowani
******************/
FUNC VOID Shadows_Write_Gate()
{
chest_conf = chest_conf + 1;
shadows_exterior_gates ();
Info_ClearChoices (Shadows_Write);
B_LogEntry(CH6_RBL_Coordinate, "Cienie zaatakują wewnętrzne bramy.");
};
// --------------------------------------------------------------
FUNC VOID Shadows_Write_Guards()
{
chest_conf = chest_conf + 1;
shadows_ring_attack ();
Info_ClearChoices (Shadows_Write);
B_LogEntry(CH6_RBL_Coordinate, "Cienie zajmą się strażnikami w pierścieniu.");
};
// --------------------------------------------------------------
FUNC VOID Shadows_Write_Castle()
{
chest_conf = chest_conf + 1;
shadows_interior_gate ();
Info_ClearChoices (Shadows_Write);
B_LogEntry(CH6_RBL_Coordinate, "Cienie uderzą na bramę zamkową.");
};
// --------------------------------------------------------------
FUNC VOID Shadows_Write_Nothing()
{
chest_conf = chest_conf + 1;
shadows_what_want ();
Info_ClearChoices (Shadows_Write);
B_LogEntry(CH6_RBL_Coordinate, "Niech Cienie robią, co chcą.");
};
instance Diggers_Write (C_Info)
{
npc = PC_Hero;
condition = Diggers_Write_condition;
information = Diggers_Write_info;
important = 0;
permanent = 1;
description = "Kopacze.";
};
func int Diggers_Write_condition()
{
if (MOBUSE == CHEST_USED) && (CHEST_KNOW == TRUE)&&(chest_conf < 2)
{
return 1;
};
};
func void Diggers_Write_info()
{
AI_Output (other, self,"Diggers_Write_15_00"); //To wasza jedyna szansa na odzyskanie wolności.
AI_Output (other, self,"Diggers_Write_15_01"); //Zróbcie, co napiszę, a być może pożyjecie wystarczająco długo, aby nacieszyć się zwycięstwem.
Info_ClearChoices (Diggers_Write);
Info_AddChoice (Diggers_Write, "Zaatakujcie zewnętrzne bramy.", Diggers_Write_Gate);
Info_AddChoice (Diggers_Write, "Zajmijcie się strażnikami w pierścieniu.", Diggers_Write_Guards);
Info_AddChoice (Diggers_Write, "Zaatakujcie bramę zamkową.", Diggers_Write_Castle);
Info_AddChoice (Diggers_Write, "Róbcie, co chcecie.", Diggers_Write_Nothing);
};
// --------------------------------------------------------------
FUNC VOID Diggers_Write_Gate()
{
chest_conf = chest_conf + 1;
Diggers_exterior_gates ();
Info_ClearChoices (Diggers_Write);
B_LogEntry(CH6_RBL_Coordinate, "Kopacze zaatakują zewnętrzne bramy.");
};
// --------------------------------------------------------------
FUNC VOID Diggers_Write_Guards()
{
chest_conf = chest_conf + 1;
Diggers_ring_attack ();
Info_ClearChoices (Diggers_Write);
B_LogEntry(CH6_RBL_Coordinate, "Kopacze zajmą się strażnikami w pierścieniu.");
};
// --------------------------------------------------------------
FUNC VOID Diggers_Write_Castle()
{
chest_conf = chest_conf + 1;
Diggers_interior_gate ();
Info_ClearChoices (Diggers_Write);
B_LogEntry(CH6_RBL_Coordinate, "Kopacze uderzą na bramę zamkową.");
};
// --------------------------------------------------------------
FUNC VOID Diggers_Write_Nothing()
{
chest_conf = chest_conf + 1;
Diggers_what_want ();
Info_ClearChoices (Diggers_Write);
B_LogEntry (CH6_RBL_Coordinate, "Niech Kopacze robią co chcą.");
};
/*********************
Ogólnie można to zrobić tak, żeby był realny wpływ na walkę. Dam kilku strażnikom dialogi z infem, gdzie ich będzie najwięcej podczas ewentualnego ataku.
W NWN2 dość fajnie zrobili obronę twierdzy. Rzeczywiście wybór miał wpływ na przebieg walki, fakt, że nie drastyczny, ale fajnie było mieć taką świadomość, że jednak można kogoś rozstawiać po kątach xD
Chyba, że macie lepsze pomysły co do miejsc ataku, etc. to się pozmienia/
********************************/
| D |
module qtl.plugins.csv.col_range;
import std.stdio, std.file, std.array;
import std.algorithm : find;
import std.string;
import std.traits;
import qtl.plugins.csv.lazy_read_csv;
// A lazy forward range of Columns from a CSV file
struct rangeOfColumns{
LazyCsvReader r;
string[] fBuffer;
size_t i = 0;
void popFront(){ i++; }
@property ref string[] front(){
fBuffer = r.getCol(i);
return(fBuffer);
}
@property bool empty(){ return i==(r.ncol+1); }
}
// Helper function to do lazy iteration by column
rangeOfColumns byColumn(LazyCsvReader r){ return rangeOfColumns(r); }
unittest{
writeln("Unit test " ~ __FILE__, " : plugins.csv.col_range");
string file = "../../test/data/input/hyper.csv";
LazyCsvReader r = LazyCsvReader(file, ",");
writeln(r); // Print some information
size_t cnt = 0;
foreach(col; r.byColumn()){
if(col.length > 5 && cnt < 5) writeln("Col: ", col[0..5]);
cnt++;
}
r.close();
}
| D |
import std.c.stdio;
import std.stdio;
import std.datetime;
import std.stdio;
import std.stream;
import std.c.stdio;
import core.memory;
struct FileReader {
private FILE* fFile;
private static const BUFFER_SIZE = 1024;
private ubyte fBuffer[BUFFER_SIZE];
private ubyte* fBufferPtr;
private ubyte* fBufferEnd;
public this(string fn) {
fFile = std.c.stdio.fopen("/tmp/shop_with_ids.pb", "rb");
fBufferPtr = fBuffer.ptr;
fBufferEnd = fBuffer.ptr;
}
public int read(ubyte* targetBuffer) {
auto finished = fBufferPtr == fBufferEnd;
if (finished) {
finished = fillBuffer();
if (finished) {
return 0;
}
}
*targetBuffer = *fBufferPtr++;
return 1;
}
private bool fillBuffer() {
fBufferPtr = fBuffer.ptr;
auto l = std.c.stdio.fread(fBufferPtr, 1, BUFFER_SIZE, fFile);
fBufferEnd = fBufferPtr + l;
return l == 0;
}
}
size_t readBytes() {
size_t count = 0;
version(SUM_UP) {
size_t sum = 0;
}
for (int i=0; i<10; i++) {
auto reader = FileReader("/tmp/shop_with_ids.pb");
ubyte buffer[1];
ubyte* p = buffer.ptr;
auto c = reader.read(p);
while (1 == c) {
++count;
version(SUM_UP) {
sum += *p;
}
c = reader.read(p);
}
}
version(SUM_UP) {
return count + sum;
} else {
return count;
}
}
int main(string[] args) {
auto sw = StopWatch(AutoStart.no);
sw.start();
auto count = readBytes();
sw.stop();
version(SUM_UP) {
auto dsc = "sum";
} else {
auto dsc = "count";
}
writeln("<tr><td>d2-", __VENDOR__, "-2(", dsc, ")</td><td>", count, "</td><td>", sw.peek().msecs, "</td><td>using std.c.stdio.fread with buffering (returning nr of bytes and taking a naked ptr for the result).</td></tr>");
return 0;
}
| D |
Long: speed-time
Short: y
Arg: <seconds>
Help: Trigger 'speed-limit' abort after this time
Category: connection
Example: --speed-limit 300 --speed-time 10 $URL
Added: 4.7
See-also: speed-limit limit-rate
---
If a transfer runs slower than speed-limit bytes per second during a speed-time
period, the transfer is aborted. If speed-time is used, the default
speed-limit will be 1 unless set with --speed-limit.
This option controls transfers (in both directions) but will not affect slow
connects etc. If this is a concern for you, try the --connect-timeout option.
If this option is used several times, the last one will be used.
| D |
# FIXED
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/source/F2837xS_Gpio.c
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_device.h
F2837xS_Gpio.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/assert.h
F2837xS_Gpio.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/linkage.h
F2837xS_Gpio.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdarg.h
F2837xS_Gpio.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdbool.h
F2837xS_Gpio.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stddef.h
F2837xS_Gpio.obj: C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdint.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_adc.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_analogsubsys.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_cla.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_cmpss.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_cputimer.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_dac.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_dcsm.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_dma.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_defaultisr.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_ecap.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_emif.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_epwm.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_epwm_xbar.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_eqep.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_flash.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_gpio.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_i2c.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_input_xbar.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_mcbsp.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_memconfig.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_nmiintrupt.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_output_xbar.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_piectrl.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_pievect.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_sci.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_sdfm.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_spi.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_sysctrl.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_trig_xbar.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_upp.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_xbar.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_xint.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Examples.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_GlobalPrototypes.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_cputimervars.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Cla_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_EPwm_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Adc_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Emif_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Gpio_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_I2c_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Pie_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Dma_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_SysCtrl_defines.h
F2837xS_Gpio.obj: C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Upp_defines.h
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/source/F2837xS_Gpio.c:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_device.h:
C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/assert.h:
C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/linkage.h:
C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdarg.h:
C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdbool.h:
C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stddef.h:
C:/CCStudio_v8/ccsv8/tools/compiler/ti-cgt-c2000_17.6.0.STS/include/stdint.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_adc.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_analogsubsys.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_cla.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_cmpss.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_cputimer.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_dac.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_dcsm.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_dma.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_defaultisr.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_ecap.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_emif.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_epwm.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_epwm_xbar.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_eqep.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_flash.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_gpio.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_i2c.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_input_xbar.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_mcbsp.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_memconfig.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_nmiintrupt.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_output_xbar.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_piectrl.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_pievect.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_sci.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_sdfm.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_spi.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_sysctrl.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_trig_xbar.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_upp.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_xbar.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_headers/include/F2837xS_xint.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Examples.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_GlobalPrototypes.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_cputimervars.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Cla_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_EPwm_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Adc_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Emif_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Gpio_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_I2c_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Pie_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Dma_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_SysCtrl_defines.h:
C:/ayush2_nigam4/repo/trunk/lab3/v140/F2837xS_common/include/F2837xS_Upp_defines.h:
| D |
//***********************************************************************
// Info EXIT
//***********************************************************************
INSTANCE DIA_Agon_EXIT (C_INFO)
{
npc = NOV_603_Agon;
nr = 999;
condition = DIA_Agon_EXIT_Condition;
information = DIA_Agon_EXIT_Info;
permanent = TRUE;
description = DIALOG_ENDE;
};
FUNC INT DIA_Agon_EXIT_Condition()
{
return TRUE;
};
FUNC VOID DIA_Agon_EXIT_Info()
{
AI_StopProcessInfos (self);
};
//************************************************************************
// Hello
//************************************************************************
INSTANCE DIA_Agon_Hello (C_INFO)
{
npc = NOV_603_Agon;
nr = 2;
condition = DIA_Agon_Hello_Condition;
information = DIA_Agon_Hello_Info;
permanent = FALSE;
important = TRUE;
};
FUNC INT DIA_Agon_Hello_Condition()
{
if (Npc_IsInState (self,ZS_Talk))
&& (MIS_SCHNITZELJAGD == FALSE)
&& (other.guild == GIL_NOV)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_Hello_Info()
{
AI_Output (self ,other,"DIA_Agon_Hello_07_00"); //Czego chcesz?
};
// *************************************************************************
// Wurst verteilen
// *************************************************************************
INSTANCE DIA_Agon_Wurst(C_INFO)
{
npc = NOV_603_Agon;
nr = 2;
condition = DIA_Agon_Wurst_Condition;
information = DIA_Agon_Wurst_Info;
permanent = FALSE;
description = "Masz, mam dla ciebie kiełbasę z barana.";
};
FUNC INT DIA_Agon_Wurst_Condition()
{
if (Kapitel == 1)
&& (MIS_GoraxEssen == LOG_RUNNING)
&& (Npc_HasItems (self, ItFo_SchafsWurst ) == 0)
&& (Npc_HasItems (other, ItFo_SchafsWurst ) >= 1)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_Wurst_Info()
{
AI_Output (other, self, "DIA_Agon_Wurst_15_00"); //Masz, mam dla ciebie kiełbasę z barana.
AI_Output (self, other, "DIA_Agon_Wurst_07_01"); //Kiełbasa z owcy, owczy ser, owcze mleko... Nie mogę już na to patrzeć.
AI_Output (other, self, "DIA_Agon_Wurst_15_02"); //No to chcesz tę kiełbasę czy nie?
AI_Output (self, other, "DIA_Agon_Wurst_07_03"); //Och, dawaj!
B_GiveInvItems (other, self, ItFo_SchafsWurst, 1);
Wurst_Gegeben = (Wurst_Gegeben +1);
CreateInvItems (self, ITFO_Sausage,1);
B_UseItem (self, ITFO_Sausage);
var string NovizeText;
var string NovizeLeft;
NovizeLeft = IntToString (13 - Wurst_Gegeben);
NovizeText = ConcatStrings(NovizeLeft, PRINT_NovizenLeft);
AI_PrintScreen (NovizeText, -1, YPOS_GOLDGIVEN, FONT_ScreenSmall, 2);
};
//***********************************************************************
// Ich bin Neu hier.
//***********************************************************************
INSTANCE DIA_Agon_New (C_INFO)
{
npc = NOV_603_Agon;
nr = 1;
condition = DIA_Agon_New_Condition;
information = DIA_Agon_New_Info;
permanent = FALSE;
description = "Jestem tu nowy.";
};
FUNC INT DIA_Agon_New_Condition()
{
if (MIS_SCHNITZELJAGD == FALSE)
&& (other.guild == GIL_NOV)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_New_Info()
{
AI_Output (other,self ,"DIA_Agon_New_15_00"); //Jestem tu nowy.
AI_Output (self ,other,"DIA_Agon_New_07_01"); //To widzę.
AI_Output (self ,other,"DIA_Agon_New_07_02"); //Jeśli nadal nie masz pracy, porozmawiaj z Parlanem. On ci jakąś przydzieli.
};
//***********************************************************************
// Was ist zwischen dir und Babo passiert?
//***********************************************************************
INSTANCE DIA_Agon_YouAndBabo (C_INFO)
{
npc = NOV_603_Agon;
nr = 1;
condition = DIA_Agon_YouAndBabo_Condition;
information = DIA_Agon_YouAndBabo_Info;
permanent = FALSE;
description = "Co zaszło między tobą a Babo?";
};
FUNC INT DIA_Agon_YouAndBabo_Condition()
{
if (Npc_KnowsInfo (other,DIA_Opolos_Monastery)
&& (MIS_SCHNITZELJAGD == FALSE))
&& (other.guild == GIL_NOV)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_YouAndBabo_Info()
{
AI_Output (other,self ,"DIA_Agon_YouAndBabo_15_00"); //Co zaszło między tobą a Babo?
AI_Output (self ,other,"DIA_Agon_YouAndBabo_07_01"); //Nie powinieneś wierzyć we wszystko co słyszysz.
AI_Output (self ,other,"DIA_Agon_YouAndBabo_07_02"); //Postawmy sprawę jasno. Pójdę własną drogą. Drogą, którą przeznaczył mi Innos.
AI_Output (self ,other,"DIA_Agon_YouAndBabo_07_03"); //Nie pozwolę, żeby ktoś mi przeszkodził, a już na pewno nie ten prostak Babo.
Info_ClearChoices (DIA_Agon_YouAndBabo);
Info_AddChoice (DIA_Agon_YouAndBabo,"Czy my, nowicjusze, nie powinniśmy trzymać się razem?",DIA_Agon_YouAndBabo_AllTogether);
Info_AddChoice (DIA_Agon_YouAndBabo,"Tylko Innos zna ścieżki, którymi podążamy.",DIA_Agon_YouAndBabo_InnosWay);
Info_AddChoice (DIA_Agon_YouAndBabo,"Dobrze się rozumiemy.",DIA_Agon_YouAndBabo_Understand);
};
FUNC VOID DIA_Agon_YouAndBabo_AllTogether ()
{
AI_Output (other,self ,"DIA_Agon_YouAndBabo_AllTogether_15_00"); //Czy my, nowicjusze, nie powinniśmy trzymać się razem?
AI_Output (self ,other,"DIA_Agon_YouAndBabo_AllTogether_07_01"); //Wy wszyscy możecie trzymać się razem, jeśli chcecie.
AI_Output (self ,other,"DIA_Agon_YouAndBabo_AllTogether_07_02"); //Ale proszę, nie marnujcie mojego czasu. I niech nikt mi nie wchodzi w drogę.
Info_ClearChoices (DIA_Agon_YouAndBabo);
};
FUNC VOID DIA_Agon_YouAndBabo_InnosWay ()
{
AI_Output (other,self ,"DIA_Agon_YouAndBabo_InnosWay_15_00"); //Tylko Innos zna ścieżki, którymi podążamy.
AI_Output (self ,other,"DIA_Agon_YouAndBabo_InnosWay_07_01"); //Moja rodzina zawsze cieszyła się łaską Innosa i to się nie zmieni.
Info_ClearChoices (DIA_Agon_YouAndBabo);
};
FUNC VOID DIA_Agon_YouAndBabo_Understand ()
{
AI_Output (other,self ,"DIA_Agon_YouAndBabo_Understand_15_00"); //Dobrze się rozumiemy.
AI_Output (self ,other,"DIA_Agon_YouAndBabo_Understand_07_01"); //Mam nadzieję. Kiedy zostanę magiem, wstawię się za tobą.
Info_ClearChoices (DIA_Agon_YouAndBabo);
};
//************************************************************************
// Kann ich bei dir Kräuter bekommen?
//************************************************************************
INSTANCE DIA_Agon_GetHerb (C_INFO)
{
npc = NOV_603_Agon;
nr = 1;
condition = DIA_Agon_GetHerb_Condition;
information = DIA_Agon_GetHerb_Info;
permanent = TRUE;
description = "Co tu sadzicie?";
};
FUNC INT DIA_Agon_GetHerb_Condition()
{
if (MIS_SCHNITZELJAGD == FALSE)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_GetHerb_Info()
{
AI_Output (other,self ,"DIA_Agon_GetHerb_15_00"); //Co tu sadzicie?
AI_Output (self ,other,"DIA_Agon_GetHerb_07_01"); //Próbujemy wyhodować zioła lecznicze, których Mistrz Neoras używa do warzenia mikstur.
};
//************************************************************************
// Agon ist in der Höhle
//************************************************************************
INSTANCE DIA_Agon_GolemDead (C_INFO)
{
npc = NOV_603_Agon;
nr = 1;
condition = DIA_Agon_GolemDead_Condition;
information = DIA_Agon_GolemDead_Info;
permanent = FALSE;
important = TRUE;
};
FUNC INT DIA_Agon_GolemDead_Condition()
{
if (MIS_SCHNITZELJAGD == LOG_RUNNING)
&& (Npc_IsDead (Magic_Golem))
{
return TRUE;
};
};
FUNC VOID DIA_Agon_GolemDead_Info()
{
AI_Output (self ,other,"DIA_Agon_GolemDead_07_00"); //Przybyłeś za późno!
AI_Output (self ,other,"DIA_Agon_GolemDead_07_01"); //Byłem pierwszy! Wygrałem!
Info_ClearChoices (DIA_Agon_GolemDead);
Info_AddChoice (DIA_Agon_GolemDead,"(groźnie) Tylko wtedy, jeśli wyjdziesz stąd żywy.",DIA_Agon_GolemDead_NoWay);
Info_AddChoice (DIA_Agon_GolemDead,"Zamknij się!",DIA_Agon_GolemDead_ShutUp);
Info_AddChoice (DIA_Agon_GolemDead,"Moje gratulacje, naprawdę na nie zasługujesz.",DIA_Agon_GolemDead_Congrat);
};
FUNC VOID DIA_Agon_GolemDead_NoWay ()
{
AI_Output (other,self ,"DIA_Agon_GolemDead_NoWay_15_00"); //Tylko wtedy, jeśli wyjdziesz stąd żywy.
AI_Output (self ,other,"DIA_Agon_GolemDead_NoWay_07_01"); //Chcesz mnie zabić? Nie uda ci się.
AI_StopProcessInfos (self);
B_Attack (self,other,AR_NONE, 1);
};
FUNC VOID DIA_Agon_GolemDead_ShutUp ()
{
AI_Output (other,self ,"DIA_Agon_GolemDead_ShutUp_15_00"); //Zamknij się!
AI_Output (self ,other,"DIA_Agon_GolemDead_ShutUp_07_01"); //To beznadziejne, przegrałeś! Pogódź się z tym.
AI_Output (self ,other,"DIA_Agon_GolemDead_ShutUp_07_02"); //Tylko mnie jest przeznaczone zostać magiem.
Info_ClearChoices (DIA_Agon_GolemDead);
Info_AddChoice (DIA_Agon_GolemDead,"Mam w dupie przeznaczenie. Skrzynia jest moja.",DIA_Agon_GolemDead_ShutUp_MyChest);
Info_AddChoice (DIA_Agon_GolemDead,"Wygrałeś.",DIA_Agon_GolemDead_ShutUp_YouWin);
};
FUNC VOID DIA_Agon_GolemDead_ShutUp_MyChest ()
{
AI_Output (other,self ,"DIA_Agon_GolemDead_ShutUp_MyChest_15_00"); //Mam w dupie przeznaczenie. Skrzynia jest moja.
AI_Output (self ,other,"DIA_Agon_GolemDead_ShutUp_MyChest_07_01"); //Nie, nie możesz tego zrobić, wcześniej cię zabiję.
AI_StopProcessInfos (self);
B_Attack (self,other,AR_NONE, 1);
};
FUNC VOID DIA_Agon_GolemDead_ShutUp_YouWin ()
{
AI_Output (other,self ,"DIA_Agon_GolemDead_ShutUp_YouWin_15_00"); //Wygrałeś.
AI_Output (self ,other,"DIA_Agon_GolemDead_ShutUp_YouWin_07_01"); //Nie, nie zwiedziesz mnie. Próbujesz się mnie pozbyć.
AI_Output (self ,other,"DIA_Agon_GolemDead_ShutUp_YouWin_07_02"); //Nie pozwolę na to!
AI_StopProcessInfos (self);
B_Attack (self,other,AR_NONE, 1);
};
FUNC VOID DIA_Agon_GolemDead_Congrat ()
{
AI_Output (other,self ,"DIA_Agon_GolemDead_Congrat_15_00"); //Moje gratulacje, naprawdę na nie zasługujesz.
AI_Output (self ,other,"DIA_Agon_GolemDead_Congrat_07_01"); //Co to znaczy? Co zamierzasz?
AI_Output (other,self ,"DIA_Agon_GolemDead_Congrat_15_02"); //O czym ty mówisz?
AI_Output (self ,other,"DIA_Agon_GolemDead_Congrat_07_03"); //Chcesz podważyć moje zwycięstwo. Chcesz mnie zabić i sobie przypisać chwałę!
AI_Output (self ,other,"DIA_Agon_GolemDead_Congrat_07_04"); //Nigdy ci się to nie uda!
AI_StopProcessInfos (self);
B_Attack (self,other,AR_NONE, 1);
};
//****************************************
// Der Sc war vor Agon in der Höhle
//****************************************
INSTANCE DIA_Agon_GolemLives (C_INFO)
{
npc = NOV_603_Agon;
nr = 1;
condition = DIA_Agon_GolemLives_Condition;
information = DIA_Agon_GolemLives_Info;
permanent = FALSE;
important = TRUE;
};
FUNC INT DIA_Agon_GolemLives_Condition()
{
if (MIS_SCHNITZELJAGD == LOG_RUNNING)
&& (Npc_IsDead (Magic_Golem)== FALSE)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_GolemLives_Info()
{
AI_Output (self ,other,"DIA_Agon_GolemLives_07_00"); //Znalazłeś kryjówkę przede mną. To niemożliwe...
AI_Output (self ,other,"DIA_Agon_GolemLives_07_01"); //Tak nie powinno być! Nie pozwolę na to.
AI_Output (self ,other,"DIA_Agon_GolemLives_07_02"); //Nikt nawet nie znajdzie twoich zwłok.
AI_StopProcessInfos (self);
B_Attack (self,other,AR_NONE, 0);
};
//****************************************
// Sc hat Agon am Leben gelassen
//****************************************
/*
INSTANCE DIA_Agon_StillAlive (C_INFO)
{
npc = NOV_603_Agon;
nr = 1;
condition = DIA_Agon_StillAlive_Condition;
information = DIA_Agon_StillAlive_Info;
permanent = TRUE;
description = "Was machst Du hier?";
};
FUNC INT DIA_Agon_StillAlive_Condition()
{
if ((Kapitel >= 2)
&& (hero.guild == GIL_KDF))
{
return TRUE;
};
};
FUNC VOID DIA_Agon_StillAlive_Info()
{
AI_Output (other,self ,"DIA_Agon_StillAlive_15_00"); //Was machst Du hier?
AI_Output (self ,other,"DIA_Agon_StillAlive_07_01"); //Hättest Du mich nicht töten können? Dann müsste ich das ganze hier wenigstens nicht mehr ertragen.
AI_Output (self ,other,"DIA_Agon_StillAlive_07_02"); //Jetzt lass mich in Ruhe! Geh zurück ins Kloster!
AI_StopProcessInfos (self);
};
*/
//***********************************************************************
// Perm
//***********************************************************************
INSTANCE DIA_Agon_Perm (C_INFO)
{
npc = NOV_603_Agon;
nr = 2;
condition = DIA_Agon_Perm_Condition;
information = DIA_Agon_Perm_Info;
permanent = TRUE;
description = "I jak idzie?";
};
FUNC INT DIA_Agon_Perm_Condition()
{
if (Kapitel >= 3)
&& (other.guild != GIL_KDF)
{
return TRUE;
};
};
FUNC VOID DIA_Agon_Perm_Info()
{
AI_Output (other,self ,"DIA_Agon_Perm_15_00"); //I jak idzie?
if (other.guild == GIL_PAL)
{
AI_Output (self ,other,"DIA_Agon_Perm_07_01"); //Och, dziękuję za troskę, Panie Paladynie. Raduje mnie praca i jestem pewien, że wkrótce zostanę magiem.
}
else
{
AI_Output (self ,other,"DIA_Agon_Perm_07_02"); //Jesteś tylko gościem w klasztorze Innosa. Dlatego powinieneś zachowywać się właściwie i nie przeszkadzać mi w pracy. Do widzenia.
};
};
// ************************************************************
// PICK POCKET
// ************************************************************
INSTANCE DIA_Agon_PICKPOCKET (C_INFO)
{
npc = NOV_603_Agon;
nr = 900;
condition = DIA_Agon_PICKPOCKET_Condition;
information = DIA_Agon_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_40;
};
FUNC INT DIA_Agon_PICKPOCKET_Condition()
{
C_Beklauen (23, 12);
};
FUNC VOID DIA_Agon_PICKPOCKET_Info()
{
Info_ClearChoices (DIA_Agon_PICKPOCKET);
Info_AddChoice (DIA_Agon_PICKPOCKET, DIALOG_BACK ,DIA_Agon_PICKPOCKET_BACK);
Info_AddChoice (DIA_Agon_PICKPOCKET, DIALOG_PICKPOCKET ,DIA_Agon_PICKPOCKET_DoIt);
};
func void DIA_Agon_PICKPOCKET_DoIt()
{
B_Beklauen ();
Info_ClearChoices (DIA_Agon_PICKPOCKET);
};
func void DIA_Agon_PICKPOCKET_BACK()
{
Info_ClearChoices (DIA_Agon_PICKPOCKET);
};
| D |
/**
Copyright by The HDF Group. *
Copyright by the Board of Trustees of the University of Illinois. *
All rights reserved. *
*
This file is part of HDF5. The full HDF5 copyright notice, including *
terms governing use, modification, and redistribution, is contained in *
the files COPYING and Copyright.html. COPYING can be found at the root *
of the source code distribution tree; Copyright.html can be found at the *
root level of an installed copy of the electronic HDF5 document set and *
is linked from the top-level documents page. It can also be found at *
http://hdfgroup.org/HDF5/doc/Copyright.html. If you do not have *
access to either file, you may request a copy from help@hdfgroup.org. *
Ported by Laeeth Isharc 2014 to the D Programming Language
Use at your own risk!
This program shows how to create, store and dereference references
to the dataset regions.
It creates a file and writes a two dimensional integer dataset
to it. Then it creates a dataset to store region references in. It
stores references to a hyperslab and 3 points selected (for the
integer dataset previously created).
It then reopens the references dataset, reads and dereferences the
region references, and then reads and displays the selected hyperslab
and selected elements data from the integer dataset.
*/
import hdf5.hdf5;
import std.stdio;
import std.exception;
import std.string;
enum filename="REF_REG.h5";
enum dsetnamev="MATRIX";
enum dsetnamer="REGION_REFERENCES";
int main(string[] args)
{
hid_t file_id; /* file identifier */
hid_t space_id; /* dataspace identifiers */
hid_t spacer_id;
hid_t dsetv_id; /*dataset identifiers*/
hid_t dsetr_id;
hsize_t[2] dims = [2,9];
hsize_t[1] dimsr = [2];
int rank = 2;
int rankr =1;
herr_t status;
hdset_reg_ref_t[2] _ref;
hdset_reg_ref_t[2] _ref_out;
int[9][2] data = [[1,1,2,3,3,4,5,5,6],[1,2,2,3,4,4,5,6,6]];
int[9][2] data_out = [[0,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0]];
hsize_t[2] start;
hsize_t[2] count;
hsize_t[3][2] coord = [[0, 0, 1], [6, 0, 8]];
uint num_points = 3;
size_t name_size1, name_size2;
char[10] buf1, buf2;
/*
* Create file with default file access and file creation properties.
*/
file_id = H5F.create(filename, H5F_ACC_TRUNC, H5P_DEFAULT, H5P_DEFAULT);
/*
* Create dataspace for datasets.
*/
space_id = H5S.create_simple(dims);
spacer_id = H5S.create_simple(dimsr);
/*
* Create integer dataset.
*/
dsetv_id = H5D.create2(file_id, dsetnamev, H5T_NATIVE_INT, space_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Write data to the dataset.
*/
H5D.write(dsetv_id, H5T_NATIVE_INT, H5S_ALL , H5S_ALL, H5P_DEFAULT,cast(ubyte*)data.ptr);
H5D.close(dsetv_id);
/*
* Dataset with references.
*/
dsetr_id = H5D.create2(file_id, dsetnamer, H5T_STD_REF_DSETREG, spacer_id, H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT);
/*
* Create a reference to the hyperslab.
*/
start[0] = 0;
start[1] = 3;
count[0] = 2;
count[1] = 3;
H5S.select_hyperslab(space_id, H5SSeloper.Set, start,count);
H5R.create(&_ref[0], file_id, dsetnamev, H5RType.DatasetRegion, space_id);
writefln("* created ref to hyperslab");
/*
* Create a reference to elements selection.
*/
H5S.select_none(space_id);
H5S.select_elements(space_id, H5SSeloper.Set, num_points, cast(const hsize_t *)coord.ptr);
H5R.create(&_ref[1], file_id, dsetnamev, H5RType.DatasetRegion, space_id);
/*
* Write dataset with the references.
*/
H5D.write(dsetr_id, H5T_STD_REF_DSETREG, H5S_ALL, H5S_ALL, H5P_DEFAULT,cast(ubyte*)_ref.ptr);
/*
* Close all objects.
*/
H5S.close(space_id);
H5S.close(spacer_id);
H5D.close(dsetr_id);
H5F.close(file_id);
/*
* Reopen the file to read selections back.
*/
file_id = H5F.open(filename, H5F_ACC_RDWR, H5P_DEFAULT);
/*
* Reopen the dataset with object references and read references
* to the buffer.
*/
dsetr_id = H5D.open2(file_id, dsetnamer, H5P_DEFAULT);
H5D.read(dsetr_id, H5T_STD_REF_DSETREG, H5S_ALL, H5S_ALL,H5P_DEFAULT,cast(ubyte*)_ref_out.ptr);
/*
* Dereference the first reference.
*/
dsetv_id = H5R.dereference(dsetr_id, H5RType.DatasetRegion, &_ref_out[0]);
/*
* Get name of the dataset the first region reference points to
* using H5Rget_name
*/
buf1 = H5R.get_name(dsetr_id, H5RType.DatasetRegion,&_ref_out[0]);
writef(" Dataset's name (returned by H5Rget_name) the reference points to is %s, name length is %d\n", buf1, buf1.length);
/*
* Get name of the dataset the first region reference points to
* using H5Iget_name
*/
buf2 = H5I.get_name(dsetv_id);
writef(" Dataset's name (returned by H5Iget_name) the reference points to is %s, name length is %d\n", buf2, buf2.length);
space_id = H5R.get_region(dsetr_id, H5RType.DatasetRegion,&_ref_out[0]);
/*
* Read and display hyperslab selection from the dataset.
*/
H5D.read(dsetv_id, H5T_NATIVE_INT, H5S_ALL, space_id,H5P_DEFAULT,cast(ubyte*) data_out.ptr);
writef("Selected hyperslab: ");
foreach(i;0..21)
{
writef("\n");
foreach(j;0..9)
writef("%s ", data_out[i][j]);
}
writefln("");
/*
* Close dataspace and the dataset.
*/
H5S.close(space_id);
H5D.close(dsetv_id);
/*
* Initialize data_out array again to get point selection.
*/
foreach(i;0..2)
foreach(j;0..9)
data_out[i][j] = 0;
/*
* Dereference the second reference.
*/
dsetv_id = H5R.dereference(dsetr_id, H5RType.DatasetRegion, &_ref_out[1]);
space_id = H5R.get_region(dsetv_id, H5RType.DatasetRegion,&_ref_out[1]);
/*
* Read selected data from the dataset.
*/
H5D.read(dsetv_id, H5T_NATIVE_INT, H5S_ALL, space_id, H5P_DEFAULT, cast(ubyte*)data_out.ptr);
writef("Selected points: ");
foreach(i;0..2)
{
writefln("");
foreach(j;0..9)
writef("%s ", data_out[i][j]);
}
writefln("");
/*
* Close dataspace and the dataset.
*/
H5S.close(space_id);
H5D.close(dsetv_id);
H5D.close(dsetr_id);
H5F.close(file_id);
return 0;
}
| D |
module hunt.wechat.bean.xmlmessage.XMLImageMessage;
import hunt.wechat.bean.message.message.ImageMessage;
import hunt.wechat.bean.message.message.Message;
class XMLImageMessage : XMLMessage{
private string mediaId;
public this(string toUserName, string fromUserName, string mediaId) {
super(toUserName, fromUserName, "image");
this.mediaId = mediaId;
}
override
public string subXML() {
return "<Image><MediaId><![CDATA[" + mediaId + "]]></MediaId></Image>";
}
override
public Message convert() {
return new ImageMessage(toUserName, mediaId);
}
}
| D |
/**
* BigInt
*
* Copyright:
* (C) 1999-2008,2012 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
* 2007 FlexSecure
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.math.bigint.bigint;
import botan.constants;
public import botan.math.mp.mp_types;
public import botan.utils.types;
import botan.constants;
import botan.rng.rng;
import memutils.vector;
import botan.utils.charset;
import botan.codec.hex;
import botan.math.bigint.divide;
import botan.math.mp.mp_core;
import botan.utils.get_byte;
import botan.utils.parsing;
import botan.utils.rounding;
import botan.utils.parsing;
import botan.utils.bit_ops;
import std.algorithm;
import std.traits : isNumeric, isPointer;
/**
* Arbitrary precision integer
*/
struct BigInt
{
public:
/*
* Write the BigInt into a vector
*/
Vector!char toVector(Base base = Decimal) const
{
Vector!ubyte buffer = BigInt.encode(this, base);
Vector!char ret;
size_t skip = 0;
while(skip < buffer.length && buffer[skip] == '0')
++skip;
ret[] = cast(char[])(buffer.ptr + skip)[0 .. buffer.length - skip];
return ret.move();
}
/*
* Write the BigInt into a string
*/
string toString(Base base = Decimal) const
{
auto vec = toVector(base);
//logTrace("toString: ", vec[]);
return (vec[]).idup;
}
alias Base = int;
/**
* Base enumerator for encoding and decoding
*/
enum : Base { Decimal = 10, Hexadecimal = 16, Binary = 256 }
alias Sign = bool;
/**
* Sign symbol definitions for positive and negative numbers
*/
enum : Sign { Negative = 0, Positive = 1 }
/**
* DivideByZero Exception
*/
class DivideByZero : Exception
{
this() {
super("BigInt divide by zero");
}
}
/**
* Create BigInt from any integer
* Params:
* n = initial value of this BigInt
*/
this(T)(T n)
if (isNumeric!T)
{
import std.algorithm : max;
if (n == 0)
return;
const size_t limbs_needed = std.algorithm.max(1, T.sizeof / word.sizeof);
m_reg.resize(4*limbs_needed);
foreach (size_t i; 0 .. limbs_needed)
m_reg[i] = ((n >> (i*MP_WORD_BITS)) & MP_WORD_MASK);
}
// Create BigInt from any integer
void opAssign(T)(in T number)
if (isNumeric!T)
{
this(number);
}
/// Move constructor
ref BigInt opAssign(size_t other) const
{
(cast(BigInt*)&this).swap(other);
return *(cast(BigInt*)&this);
}
/// Copy constructor
void load(BigInt* other) {
m_reg[] = other.m_reg[];
m_signedness = other.m_signedness;
}
/**
* Create BigInt from a string. If the string starts with 0x the
* rest of the string will be interpreted as hexadecimal digits.
* Otherwise, it will be interpreted as a decimal number.
*
* Params:
* str = the string to parse for an integer value
*/
this(in string str)
{
Base base = Decimal;
size_t markers = 0;
bool negative = false;
if (str.length > 0 && str[0] == '-')
{
markers += 1;
negative = true;
}
if (str.length > markers + 2 && str[markers ] == '0' &&
str[markers + 1] == 'x')
{
markers += 2;
base = Hexadecimal;
}
auto contents = decode(cast(const(ubyte)*)(str.ptr) + markers, str.length - markers, base);
this.swap( &contents );
if (negative) setSign(Negative);
else setSign(Positive);
}
/**
* Create a BigInt from an integer in a ubyte array
* Params:
* input = the ubyte array holding the value
* length = size of buf
* base = is the number base of the integer in buf
*/
this(const(ubyte)* input, size_t length, Base base = Binary)
{
auto bn = decode(input, length, base);
this.swap( &bn );
}
/**
* Create a random BigInt of the specified size
* Params:
* rng = random number generator
* bits = size in bits
* set_high_bit = if true, the highest bit is always set
*/
this(RandomNumberGenerator rng, size_t bits, bool set_high_bit = true)
{
randomize(rng, bits, set_high_bit);
}
/**
* Create BigInt of specified size, all zeros
* Params:
* s = the sign
* size = of the internal register in words
*/
this(Sign s, size_t size)
{
m_reg.resize(roundUp!size_t(size, 8));
m_signedness = s;
}
/**
* Move constructor
*/
this(BigInt* other)
{
this.swap(other);
}
this(ALLOC)(auto const ref Vector!(ubyte, ALLOC) payload, in Sign sign) {
this(payload.ptr, payload.length, sig_words);
}
this(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) payload, in Sign sign) {
this(payload.ptr, payload.length, sig_words);
}
this()(auto ref SecureVector!word reg, Sign sign) {
import std.algorithm : swap;
m_reg.swap(reg);
swap(m_signedness, sign);
}
void reserve(size_t n) {
m_reg.reserve(n);
}
/**
* Move assignment
*/
void opAssign(T)(T other)
if (!isPointer!T)
{
this.swap(other);
}
void opAssign(T)(T other)
if (isPointer!T)
{
this.swap(*other);
}
/**
* Move assignment
*/
void opAssign(const BigInt other) nothrow
{
this.swap(cast(BigInt*)&other);
}
/**
* Move assignment
*/
void opAssign(BigInt other) const nothrow
{
(cast(BigInt*)&this).swap(&other);
}
/**
* Copy assignment
*/
// BigInt operator=(const ref BigInt) = default;
/**
* Swap this value with another
* Params:
* other = BigInt to swap values with
*/
void swap(T)(T other_) nothrow
if (!isPointer!T && isNumeric!T)
{
try {
import std.algorithm.mutation : swap;
BigInt other = BigInt(other_);
m_reg.swap(cast()other.m_reg);
m_signedness = cast(Sign)other.m_signedness;
} catch(Throwable e) {}
}
void swap(BigInt* other_) nothrow
{
try {
import std.algorithm.mutation : swap;
m_reg.swap(cast()other_.m_reg[]);
m_signedness = cast(Sign)other_.m_signedness;
} catch(Throwable e) {}
}
void swap(ref BigInt other_) nothrow
{
try {
import std.algorithm.mutation : swap;
m_reg.swap(cast()other_.m_reg[]);
m_signedness = cast(Sign)other_.m_signedness;
} catch(Throwable e) {}
}
void swap(BigInt other_) nothrow
{
swap(other_);
}
void swapReg(ref SecureVector!word reg)
{
m_reg.swap(reg);
}
/**
* += operator
* Params:
* y = the BigInt to add to this
*/
void opOpAssign(string op)(const(BigInt)* y)
if (op == "+")
{
const size_t x_sw = sigWords(), y_sw = y.sigWords();
const size_t reg_size = std.algorithm.max(x_sw, y_sw) + 1;
growTo(reg_size);
if (sign() == y.sign())
bigint_add2(mutablePtr(), reg_size - 1, y.ptr, y_sw);
else
{
int relative_size = bigint_cmp(mutablePtr(), x_sw, y.ptr, y_sw);
if (relative_size < 0)
{
SecureVector!word z = SecureVector!word(reg_size - 1);
bigint_sub3(z.ptr, y.ptr, reg_size - 1, mutablePtr(), x_sw);
m_reg[] = z;
setSign(y.sign());
}
else if (relative_size == 0)
{
zeroise(m_reg);
setSign(Positive);
}
else if (relative_size > 0)
bigint_sub2(mutablePtr(), x_sw, y.ptr, y_sw);
}
}
void opOpAssign(string op)(auto const ref BigInt y)
if (op == "+")
{
opOpAssign!"+"(&y);
}
void opOpAssign(string op)(in word y)
if (op == "+")
{
this += BigInt(y);
}
/**
* -= operator
* Params:
* y = the BigInt to subtract from this
*/
void opOpAssign(string op)(const(BigInt)* y)
if (op == "-")
{
const size_t x_sw = sigWords(), y_sw = y.sigWords();
int relative_size = bigint_cmp(mutablePtr(), x_sw, y.ptr, y_sw);
const size_t reg_size = std.algorithm.max(x_sw, y_sw) + 1;
growTo(reg_size);
if (relative_size < 0)
{
if (sign() == y.sign())
bigint_sub2_rev(mutablePtr(), y.ptr, y_sw);
else
bigint_add2(mutablePtr(), reg_size - 1, y.ptr, y_sw);
setSign(y.reverseSign());
}
else if (relative_size == 0)
{
if (sign() == y.sign())
{
clear();
setSign(Positive);
}
else
bigint_shl1(mutablePtr(), x_sw, 0, 1);
}
else if (relative_size > 0)
{
if (sign() == y.sign())
bigint_sub2(mutablePtr(), x_sw, y.ptr, y_sw);
else
bigint_add2(mutablePtr(), reg_size - 1, y.ptr, y_sw);
}
}
void opOpAssign(string op)(auto const ref BigInt y)
if (op == "-")
{
opOpAssign!"-"(&y);
}
void opOpAssign(string op)(in word y)
if (op == "-")
{
this -= BigInt(y);
}
/**
* *= operator
* Params:
* y = the BigInt to multiply with this
*/
void opOpAssign(string op)(const(BigInt)* y)
if (op == "*")
{
const size_t x_sw = sigWords();
const size_t y_sw = y.sigWords();
setSign((sign() == y.sign()) ? Positive : Negative);
if (x_sw == 0 || y_sw == 0)
{
clear();
setSign(Positive);
}
else if (x_sw == 1 && y_sw)
{
growTo(y_sw + 2);
bigint_linmul3(mutablePtr(), y.ptr, y_sw, wordAt(0));
}
else if (y_sw == 1 && x_sw)
{
growTo(x_sw + 2);
bigint_linmul2(mutablePtr(), x_sw, y.wordAt(0));
}
else
{
growTo(size() + y.length);
SecureVector!word z = SecureVector!word(mutablePtr()[0 .. x_sw]);
SecureVector!word workspace = SecureVector!word(size());
bigint_mul(mutablePtr(), size(), workspace.ptr, z.ptr, z.length, x_sw, y.ptr, y.length, y_sw);
}
}
void opOpAssign(string op)(auto const ref BigInt y)
if (op == "*")
{
opOpAssign!"*"(&y);
}
void opOpAssign(string op)(in word y)
if (op == "*")
{
const BigInt b_y = BigInt(y);
this *= b_y;
}
/**
* /= operator
* Params:
* y = the BigInt to divide this by
*/
void opOpAssign(string op)(const(BigInt)* y)
if (op == "/")
{
if (y.sigWords() == 1 && isPowerOf2(y.wordAt(0)))
this >>= (y.bits() - 1);
else
this = this / y;
}
void opOpAssign(string op)(auto const ref BigInt y)
if (op == "/")
{
opOpAssign!"/"(&y);
}
void opOpAssign(string op)(in word y)
if (op == "/")
{
this /= BigInt(y);
}
/**
* Modulo operator
* Params:
* mod = the modulus to reduce this by
*/
void opOpAssign(string op)(const(BigInt)* mod)
if (op == "%")
{
this = this % mod;
}
void opOpAssign(string op)(auto const ref BigInt mod)
if (op == "%")
{
opOpAssign!"%"(&mod);
}
/**
* Modulo operator
* Params:
* mod = the modulus (word) to reduce this by
*/
void opOpAssign(string op)(word mod)
if (op == "%")
{
if (mod == 0)
throw new DivideByZero();
if (isPowerOf2(mod))
{
word result = (wordAt(0) & (mod - 1));
clear();
growTo(2);
m_reg[0] = result;
return;
}
word remainder = 0;
for (size_t j = sigWords(); j > 0; --j)
remainder = bigint_modop(remainder, wordAt(j-1), mod);
clear();
growTo(2);
if (remainder && sign() == Negative)
m_reg[0] = mod - remainder;
else
m_reg[0] = remainder;
setSign(Positive);
}
/**
* Left shift operator
* Params:
* shift = the number of bits to shift this left by
*/
void opOpAssign(string op)(size_t shift)
if (op == "<<")
{
if (shift)
{
const size_t shift_words = shift / MP_WORD_BITS;
const size_t shift_bits = shift % MP_WORD_BITS;
const size_t words = sigWords();
growTo(words + shift_words + (shift_bits ? 1 : 0));
bigint_shl1(mutablePtr(), words, shift_words, shift_bits);
}
}
/**
* Right shift operator
* Params:
* shift = the number of bits to shift this right by
*/
void opOpAssign(string op)(size_t shift)
if (op == ">>")
{
if (shift)
{
const size_t shift_words = shift / MP_WORD_BITS;
const size_t shift_bits = shift % MP_WORD_BITS;
bigint_shr1(mutablePtr(), sigWords(), shift_words, shift_bits);
if (isZero())
setSign(Positive);
}
}
/**
* Increment operator
*/
ref BigInt opUnary(string op)() if (op == "++") { this += BigInt(1); return this; }
/**
* Decrement operator
*/
ref BigInt opUnary(string op)() if (op == "--") { this -= BigInt(1); return this; }
/**
* Unary negation operator
* Returns: negative this
*/
BigInt opUnary(string op)() const
if (op == "-")
{
BigInt ret = this.dup;
ret.flipSign();
return ret;
}
/**
* bool cast
* Returns: true iff this is not zero, otherwise false
*/
T opCast(T : bool)() const { return isNonzero(); }
/**
* Zeroize the BigInt. The size of the underlying register is not
* modified.
*/
void clear()
{
import core.stdc.string : memset;
if (!m_reg.empty){
memset(mutablePtr(), 0, word.sizeof*m_reg.length);
}
}
/**
* Compare this to another BigInt
* Params:
* other = the BigInt value to compare with
* check_signs = include sign in comparison?
* Returns: if (this<n) return -1, if (this>n) return 1, if both
* values are identical return 0 [like Perl's <=> operator]
*/
int cmp(const(BigInt)* other, bool check_signs = true) const
{
if (check_signs)
{
if (other.isPositive() && this.isNegative())
return -1;
if (other.isNegative() && this.isPositive())
return 1;
if (other.isNegative() && this.isNegative())
return (-bigint_cmp(m_reg.ptr, this.sigWords(), other.ptr, other.sigWords()));
}
return bigint_cmp(m_reg.ptr, this.sigWords(), other.ptr, other.sigWords());
}
int cmp()(auto const ref BigInt other, bool check_signs = true) const
{
return cmp(&other, check_signs);
}
/*
* Comparison Operators
*/
bool opEquals(const(BigInt)* b) const
{ return (cmp(b) == 0); }
bool opEquals()(auto const ref BigInt b) const
{ return (cmp(b) == 0); }
bool opEquals(in size_t n) const
{
BigInt b = n;
return (cmp(b) == 0);
}
int opCmp(const(BigInt)* b) const
{
return cmp(b);
}
int opCmp()(auto const ref BigInt b) const
{
return cmp(b);
}
int opCmp(in size_t n) const
{
BigInt b = n;
return cmp(b);
}
/**
* Test if the integer has an even value
* Returns: true if the integer is even, false otherwise
*/
bool isEven() const { return (getBit(0) == 0); }
/**
* Test if the integer has an odd value
* Returns: true if the integer is odd, false otherwise
*/
bool isOdd() const { return (getBit(0) == 1); }
/**
* Test if the integer is not zero
* Returns: true if the integer is non-zero, false otherwise
*/
bool isNonzero() const { return (!isZero()); }
/**
* Test if the integer is zero
* Returns: true if the integer is zero, false otherwise
*/
bool isZero() const
{
return sigWords() == 0;
}
/**
* Set bit at specified position
* Params:
* n = bit position to set
*/
void setBit(size_t n)
{
const size_t which = n / MP_WORD_BITS;
const word mask = cast(word)(1) << (n % MP_WORD_BITS);
if (which >= size()) growTo(which + 1);
m_reg[which] |= mask;
}
/**
* Clear bit at specified position
* Params:
* n = bit position to clear
*/
void clearBit(size_t n)
{
const size_t which = n / MP_WORD_BITS;
const word mask = cast(word)(1) << (n % MP_WORD_BITS);
if (which < size())
m_reg[which] &= ~mask;
}
/**
* Clear all but the lowest n bits
* Params:
* n = amount of bits to keep
*/
void maskBits(size_t n)
{
if (n == 0) { clear(); return; }
if (n >= bits()) return;
const size_t top_word = n / MP_WORD_BITS;
const word mask = ((cast(word)1) << (n % MP_WORD_BITS)) - 1;
if (top_word < size())
clearMem(&m_reg[top_word+1], size() - (top_word + 1));
m_reg[top_word] &= mask;
}
/**
* Return bit value at specified position
* Params:
* n = the bit offset to test
* Returns: true, if the bit at position n is set, false otherwise
*/
bool getBit(size_t n) const
{
return ((wordAt(n / MP_WORD_BITS) >> (n % MP_WORD_BITS)) & 1);
}
/**
* Return (a maximum of) 32 bits of the complete value
* Params:
* offset = the offset to start extracting
* length = amount of bits to extract (starting at offset)
* Returns: the integer extracted from the register starting at
* offset with specified length
*/
uint getSubstring(size_t offset, size_t length) const
{
if (length > 32)
throw new InvalidArgument("BigInt.getSubstring: Substring size too big");
ulong piece = 0;
foreach (size_t i; 0 .. 8)
{
const ubyte part = byteAt((offset / 8) + (7-i));
piece = (piece << 8) | part;
}
const ulong mask = (cast(ulong)(1) << length) - 1;
const size_t shift = (offset % 8);
return cast(uint)((piece >> shift) & mask);
}
/**
* Convert this value into a uint, if it is in the range
* [0 ... 2**32-1], or otherwise throw new an exception.
* Returns: the value as a uint if conversion is possible
*/
uint toUint() const
{
if (isNegative())
throw new EncodingError("BigInt.to_uint: Number is negative");
if (bits() >= 32)
throw new EncodingError("BigInt.to_uint: Number is too big to convert");
uint output = 0;
for (uint j = 0; j != 4; ++j)
output = (output << 8) | byteAt(3-j);
return output;
}
/**
* Params:
* n = the offset to get a ubyte from
* Returns: ubyte at offset n
*/
ubyte byteAt(size_t n) const
{
const size_t WORD_BYTES = (word).sizeof;
size_t word_num = n / WORD_BYTES;
size_t byte_num = n % WORD_BYTES;
if (word_num >= size())
return 0;
else
return get_byte(WORD_BYTES - byte_num - 1, m_reg[word_num]);
}
/**
* Return the word at a specified position of the internal register
* Params:
* n = position in the register
* Returns: value at position n
*/
pragma(inline, true)
word wordAt(size_t n) const
{ return ((n < size()) ? m_reg[n] : 0); }
/**
* Tests if the sign of the integer is negative
* Returns: true, iff the integer has a negative sign
*/
bool isNegative() const { return (sign() == Negative); }
/**
* Tests if the sign of the integer is positive
* Returns: true, iff the integer has a positive sign
*/
bool isPositive() const { return (sign() == Positive); }
/**
* Return the sign of the integer
* Returns: the sign of the integer
*/
pragma(inline, true)
Sign sign() const { return (m_signedness); }
/**
* Returns: the opposite sign of the represented integer value
*/
Sign reverseSign() const
{
if (sign() == Positive)
return Negative;
return Positive;
}
/**
* Flip the sign of this BigInt
*/
void flipSign()
{
setSign(reverseSign());
}
/**
* Set sign of the integer
* Params:
* s = new Sign to set
*/
void setSign(Sign s)
{
if (isZero())
m_signedness = Positive;
else
m_signedness = s;
}
/**
* Returns: absolute (positive) value of this
*/
BigInt abs() const
{
BigInt ret = this.dup;
ret.setSign(Positive);
return ret;
}
/**
* Give size of internal register
* Returns: size of internal register in words
*/
pragma(inline, true)
size_t size() const { return m_reg.length; }
// ditto
pragma(inline, true)
size_t length() const { return size(); }
/**
* Return how many words we need to hold this value
* Returns: significant words of the represented integer value
*/
size_t sigWords() const
{
const word* x = m_reg.ptr;
size_t sig = m_reg.length;
while (sig && (x[sig-1] == 0))
sig--;
return sig;
}
/**
* Give ubyte length of the integer
* Returns: ubyte length of the represented integer value
*/
pragma(inline, true)
size_t bytes() const
{
return (bits() + 7) / 8;
}
/**
* Get the bit length of the integer
* Returns: bit length of the represented integer value
*/
size_t bits() const
{
const size_t words = sigWords();
if (words == 0)
return 0;
const size_t full_words = words - 1;
return (full_words * MP_WORD_BITS + highBit(wordAt(full_words)));
}
/**
* Return a mutable pointer to the register
* Returns: a pointer to the start of the internal register
*/
word* mutablePtr() { return m_reg.ptr; }
/**
* Return a const pointer to the register
* Returns: a pointer to the start of the internal register
*/
@property const(word*) ptr() const { return m_reg.ptr; }
/**
* Increase internal register buffer to at least n words
* Params:
* n = new size of register
*/
void growTo(size_t n)
{
if (n > size()) {
if (m_reg.capacity < n) m_reg.reserve(n*2);
m_reg.resize(roundUp!size_t(n, 8));
}
}
/**
* Fill BigInt with a random number with size of bitsize
* If set_high_bit is true, the highest bit will be set, which causes
* the entropy to be bits-1. Otherwise the highest bit is randomly choosen
* by the rng, causing the entropy to be bits.
*
* Params:
* rng = the random number generator to use
* bitsize = number of bits the created random value should have
* set_high_bit = if true, the highest bit is always set
*/
void randomize(RandomNumberGenerator rng, size_t bitsize = 0, bool set_high_bit = true)
{
setSign(Positive);
if (bitsize == 0)
clear();
else
{
SecureVector!ubyte array = rng.randomVec((bitsize + 7) / 8);
// Always cut unwanted bits
if (bitsize % 8)
array[0] &= 0xFF >> (8 - (bitsize % 8));
// Set the highest bit if wanted
if (set_high_bit)
array[0] |= 0x80 >> ((bitsize % 8) ? (8 - bitsize % 8) : 0);
binaryDecode(array.ptr, array.length);
}
}
/**
* Store BigInt-value in a given ubyte array
* Params:
* output = destination ubyte array for the integer value
*/
void binaryEncode(ubyte* output) const
{
const size_t sig_bytes = bytes();
foreach (size_t i; 0 .. sig_bytes) {
output[sig_bytes-i-1] = byteAt(i);
}
}
/**
* Read integer value from a ubyte array with given size
* Params:
* buf = ubyte array buffer containing the integer
* length = size of buf
*/
void binaryDecode(const(ubyte)* buf, size_t length)
{
const size_t WORD_BYTES = (word).sizeof;
clear();
m_reg.resize(roundUp!size_t((length / WORD_BYTES) + 1, 8));
foreach (size_t i; 0 .. (length / WORD_BYTES))
{
const size_t top = length - WORD_BYTES*i;
for (size_t j = WORD_BYTES; j > 0; --j)
m_reg[i] = (m_reg[i] << 8) | buf[top - j];
}
foreach (size_t i; 0 .. (length % WORD_BYTES))
m_reg[length / WORD_BYTES] = (m_reg[length / WORD_BYTES] << 8) | buf[i];
}
/**
* Read integer value from a ubyte array (SecureVector!ubyte)
* Params:
* buf = the array to load from
*/
void binaryDecode(ALLOC)(auto const ref Vector!(ubyte, ALLOC) buf)
{
binaryDecode(buf.ptr, buf.length);
}
void binaryDecode(ALLOC)(const(Vector!(ubyte, ALLOC))* buf)
{
binaryDecode(buf.ptr, buf.length);
}
/// ditto
void binaryDecode(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) buf)
{
binaryDecode(buf.ptr, buf.length);
}
void binaryDecode(ALLOC)(const(RefCounted!(Vector!(ubyte, ALLOC), ALLOC))* buf)
{
binaryDecode(buf.ptr, buf.length);
}
/**
* Params:
* base = the base to measure the size for
* Returns: size of this integer in base base
*/
size_t encodedSize(Base base = Binary) const
{
static const double LOG_2_BASE_10 = 0.30102999566;
if (base == Binary)
return bytes();
else if (base == Hexadecimal)
return 2*bytes();
else if (base == Decimal)
return cast(size_t)((bits() * LOG_2_BASE_10) + 1);
else
throw new InvalidArgument("Unknown base for BigInt encoding");
}
/**
* Params:
* rng = a random number generator
* min = the minimum value
* max = the maximum value
* Returns: random integer in [min,max$(RPAREN)
*/
static BigInt randomInteger(RandomNumberGenerator rng, const(BigInt)* min, const(BigInt)* max)
{
BigInt delta_upper_bound = max - min - 1;
if (delta_upper_bound <= 0)
throw new InvalidArgument("randomInteger: invalid min/max values");
// Choose x in [0, delta_upper_bound]
BigInt x;
do {
auto bitsize = delta_upper_bound.bits();
x.randomize(rng, bitsize, false);
} while (x > delta_upper_bound);
return (x + min);
}
static BigInt randomInteger()(RandomNumberGenerator rng, auto const ref BigInt min, auto const ref BigInt max)
{
return randomInteger(rng, &min, &max);
}
/**
* Create a power of two
* Params:
* n = the power of two to create
* Returns: bigint representing 2^n
*/
static BigInt powerOf2(size_t n)
{
BigInt b;
b.setBit(n);
return b;
}
/**
* Encode the integer value from a BigInt to an Array of bytes
* Params:
* n = the BigInt to use as integer source
* base = number-base of resulting ubyte array representation
* Returns: SecureVector of bytes containing the integer with given base
*/
static Vector!ubyte encode(const(BigInt)* n, Base base = Binary)
{
Vector!ubyte output = Vector!ubyte(n.encodedSize(base));
encode(output.ptr, n, base);
if (base != Binary)
for (size_t j = 0; j != output.length; ++j)
if (output[j] == 0)
output[j] = '0';
return output.move();
}
static Vector!ubyte encode()(auto const ref BigInt n, Base base = Binary)
{
return encode(&n, base);
}
/**
* Encode the integer value from a BigInt to a Secure Array of bytes
* Params:
* n = the BigInt to use as integer source
* base = number-base of resulting ubyte array representation
* Returns: SecureVector of bytes containing the integer with given base
*/
static SecureVector!ubyte encodeLocked(const(BigInt)* n, Base base = Binary)
{
SecureVector!ubyte output = SecureVector!ubyte(n.encodedSize(base));
encode(output.ptr, n, base);
if (base != Binary)
for (size_t j = 0; j != output.length; ++j)
if (output[j] == 0)
output[j] = '0';
return output.move();
}
static SecureVector!ubyte encodeLocked()(auto const ref BigInt n, Base base = Binary)
{
return encodeLocked(&n, base);
}
/**
* Encode the integer value from a BigInt to a ubyte array
* Params:
* output = destination ubyte array for the encoded integer
* value with given base
* n = the BigInt to use as integer source
* base = number-base of resulting ubyte array representation
*/
static void encode(ubyte* output, const(BigInt)* n, Base base = Binary)
{
if (base == Binary)
{
n.binaryEncode(output);
}
else if (base == Hexadecimal)
{
SecureVector!ubyte binary = SecureVector!ubyte(n.encodedSize(Binary));
n.binaryEncode(binary.ptr);
hexEncode(cast(char*)(output), binary.ptr, binary.length);
}
else if (base == Decimal)
{
BigInt copy = n.dup();
BigInt remainder;
copy.setSign(Positive);
const size_t output_size = n.encodedSize(Decimal);
foreach (size_t j; 0 .. output_size)
{
auto bi = BigInt(10);
divide(©, &bi, ©, &remainder);
output[output_size - 1 - j] = digit2char(cast(ubyte)(remainder.wordAt(0)));
if (copy.isZero())
break;
}
}
else
throw new InvalidArgument("Unknown BigInt encoding method");
}
static void encode()(ubyte* output, const auto ref BigInt n, Base base = Binary)
{
encode(output, &n, base);
}
/**
* Create a BigInt from an integer in a ubyte array
* Params:
* buf = the binary value to load
* length = size of buf
* base = number-base of the integer in buf
* Returns: BigInt representing the integer in the ubyte array
*/
static BigInt decode(const(ubyte)* buf, size_t length, Base base = Binary)
{
BigInt r;
if (base == Binary)
r.binaryDecode(buf, length);
else if (base == Hexadecimal)
{
SecureVector!ubyte binary;
if (length % 2)
{
// Handle lack of leading 0
const char[2] buf0_with_leading_0 = [ '0', cast(char)(buf[0]) ];
binary = hexDecodeLocked(buf0_with_leading_0.ptr, 2);
binary.reserve(length);
binary ~= hexDecodeLocked(cast(const(char)*)&buf[1], length - 1, false);
}
else {
binary = hexDecodeLocked(cast(const(char)*)buf, length, false);
}
r.binaryDecode(binary.ptr, binary.length);
}
else if (base == Decimal)
{
foreach (size_t i; 0 .. length)
{
if (isSpace(buf[i]))
continue;
if (!isDigit(buf[i]))
throw new InvalidArgument("BigInt.decode: " ~ "Invalid character in decimal input");
const ubyte x = char2digit(buf[i]);
if (x >= 10)
throw new InvalidArgument("BigInt: Invalid decimal string");
r *= 10;
r += x;
}
}
else
throw new InvalidArgument("Unknown BigInt decoding method");
return r.move;
}
/**
* Create a BigInt from an integer in a ubyte array
* Params:
* buf = the binary value to load
* base = number-base of the integer in buf
* Returns: BigInt representing the integer in the ubyte array
*/
static BigInt decode(ALLOC)(auto const ref RefCounted!(Vector!(ubyte, ALLOC), ALLOC) buf, Base base = Binary)
{
return BigInt.decode(buf.ptr, buf.length, base);
}
/**
* Create a BigInt from an integer in a ubyte array
* Params:
* buf = the binary value to load
* base = number-base of the integer in buf
* Returns: BigInt representing the integer in the ubyte array
*/
static BigInt decode(ALLOC)(auto const ref Vector!(ubyte, ALLOC) buf, Base base = Binary)
{
return BigInt.decode(buf.ptr, buf.length, base);
}
static BigInt decode(ALLOC)(const(Vector!(ubyte, ALLOC)*) buf, Base base = Binary)
{
return BigInt.decode(buf.ptr, buf.length, base);
}
/**
* Encode a BigInt to a ubyte array according to IEEE 1363
* Params:
* n = the BigInt to encode
* bytes = the length of the resulting SecureVector!ubyte
* Returns: a SecureVector!ubyte containing the encoded BigInt
*/
static SecureVector!ubyte encode1363(const(BigInt)* n, size_t bytes)
{
const size_t n_bytes = n.bytes();
if (n_bytes > bytes)
throw new EncodingError("encode1363: n is too large to encode properly");
const size_t leading_0s = bytes - n_bytes;
SecureVector!ubyte output = SecureVector!ubyte(bytes);
encode(output.ptr + leading_0s, n, Binary);
return output;
}
static SecureVector!ubyte encode1363()(auto const ref BigInt n, size_t bytes)
{
return BigInt.encode1363(&n, bytes);
}
/*
* Addition Operator
*/
BigInt opBinary(string op)(const(BigInt)* y) const
if (op == "+")
{
const BigInt* x = &this;
const size_t x_sw = x.sigWords(), y_sw = y.sigWords();
BigInt z = BigInt(x.sign(), std.algorithm.max(x_sw, y_sw) + 1);
if ((x.sign() == y.sign()))
bigint_add3(z.mutablePtr(), x.ptr, x_sw, y.ptr, y_sw);
else
{
int relative_size = bigint_cmp(x.ptr, x_sw, y.ptr, y_sw);
if (relative_size < 0)
{
bigint_sub3(z.mutablePtr(), y.ptr, y_sw, x.ptr, x_sw);
z.setSign(y.sign());
}
else if (relative_size == 0)
z.setSign(BigInt.Positive);
else if (relative_size > 0)
bigint_sub3(z.mutablePtr(), x.ptr, x_sw, y.ptr, y_sw);
}
return z.move();
}
BigInt opBinary(string op)(ref const(BigInt) y) const
if (op == "+")
{
return opBinary!"+"(&y);
}
BigInt opBinary(string op)(in word y) const
if (op == "+")
{
auto y_ = BigInt(y);
return this + y_;
}
/*
* Subtraction Operator
*/
BigInt opBinary(string op)(const(BigInt)* y) const
if (op == "-")
{
const BigInt* x = &this;
const size_t x_sw = x.sigWords(), y_sw = y.sigWords();
int relative_size = bigint_cmp(x.ptr, x_sw, y.ptr, y_sw);
BigInt z = BigInt(BigInt.Positive, std.algorithm.max(x_sw, y_sw) + 1);
if (relative_size < 0)
{
if (x.sign() == y.sign())
bigint_sub3(z.mutablePtr(), y.ptr, y_sw, x.ptr, x_sw);
else
bigint_add3(z.mutablePtr(), x.ptr, x_sw, y.ptr, y_sw);
z.setSign(y.reverseSign());
}
else if (relative_size == 0)
{
if (x.sign() != y.sign())
bigint_shl2(z.mutablePtr(), x.ptr, x_sw, 0, 1);
}
else if (relative_size > 0)
{
if (x.sign() == y.sign())
bigint_sub3(z.mutablePtr(), x.ptr, x_sw, y.ptr, y_sw);
else
bigint_add3(z.mutablePtr(), x.ptr, x_sw, y.ptr, y_sw);
z.setSign(x.sign());
}
return z.move();
}
BigInt opBinary(string op)(auto const ref BigInt y) const
if (op == "-")
{
return opBinary!"-"(&y);
}
BigInt opBinary(string op)(in word y) const
if (op == "-")
{
return this - BigInt(y);
}
/*
* Multiplication Operator
*/
BigInt opBinary(string op)(const(BigInt)* y) const
if (op == "*")
{
const BigInt* x = &this;
const size_t x_sw = x.sigWords();
const size_t y_sw = y.sigWords();
BigInt z = BigInt(BigInt.Positive, x.length + y.length);
if (x_sw == 1 && y_sw)
bigint_linmul3(z.mutablePtr(), y.ptr, y_sw, x.wordAt(0));
else if (y_sw == 1 && x_sw)
bigint_linmul3(z.mutablePtr(), x.ptr, x_sw, y.wordAt(0));
else if (x_sw && y_sw)
{
SecureVector!word workspace = SecureVector!word(z.length);
bigint_mul(z.mutablePtr(), z.length, workspace.ptr,
x.ptr, x.length, x_sw,
y.ptr, y.length, y_sw);
}
if (x_sw && y_sw && x.sign() != y.sign())
z.flipSign();
return z.move();
}
BigInt opBinary(string op)(auto const ref BigInt y) const
if (op == "*")
{
return BigInt.opBinary!"*"(&y);
}
BigInt opBinary(string op)(in word y) const
if (op == "*")
{
return this * BigInt(y);
}
/*
* Division Operator
*/
BigInt opBinary(string op)(const(BigInt)* y) const
if (op == "/")
{
const BigInt* x = &this;
BigInt q, r;
divide(x, y, &q, &r);
return q.move();
}
BigInt opBinary(string op)(auto const ref BigInt y) const
if (op == "/")
{
return opBinary!"/"(&y);
}
BigInt opBinary(string op)(in word y) const
if (op == "/")
{
return this / BigInt(y);
}
/*
* Modulo Operator
*/
BigInt opBinary(string op)(const(BigInt)* mod) const
if (op == "%")
{
const BigInt* n = &this;
if (mod.isZero())
throw new BigInt.DivideByZero();
if (mod.isNegative())
throw new InvalidArgument("BigInt.operator%: modulus must be > 0");
if (n.isPositive() && mod.isPositive() && *n < mod)
return n.dup;
BigInt q, r;
divide(n, mod, &q, &r);
return r.move();
}
BigInt opBinary(string op)(auto const ref BigInt mod) const
if (op == "%")
{
return opBinary!"%"(&mod);
}
/*
* Modulo Operator
*/
word opBinary(string op)(word mod) const
if (op == "%")
{
const BigInt* n = &this;
if (mod == 0)
throw new BigInt.DivideByZero();
if (isPowerOf2(mod))
return (n.wordAt(0) & (mod - 1));
word remainder = 0;
for (size_t j = n.sigWords(); j > 0; --j)
remainder = bigint_modop(remainder, n.wordAt(j-1), mod);
if (remainder && n.sign() == BigInt.Negative)
return mod - remainder;
return remainder;
}
/*
* Left Shift Operator
*/
BigInt opBinary(string op)(size_t shift) const
if (op == "<<")
{
const BigInt* x = &this;
if (shift == 0)
return x.dup();
const size_t shift_words = shift / MP_WORD_BITS,
shift_bits = shift % MP_WORD_BITS;
const size_t x_sw = x.sigWords();
BigInt y = BigInt(x.sign(), x_sw + shift_words + (shift_bits ? 1 : 0));
bigint_shl2(y.mutablePtr(), x.ptr, x_sw, shift_words, shift_bits);
return y.move();
}
/*
* Right Shift Operator
*/
BigInt opBinary(string op)(size_t shift) const
if (op == ">>")
{
if (shift == 0)
return this.dup;
if (bits() <= shift)
return BigInt(0);
const size_t shift_words = shift / MP_WORD_BITS,
shift_bits = shift % MP_WORD_BITS,
x_sw = sigWords();
BigInt y = BigInt(sign(), x_sw - shift_words);
bigint_shr2(y.mutablePtr(), ptr, x_sw, shift_words, shift_bits);
return y.move();
}
@property BigInt move() {
return BigInt(m_reg, m_signedness);
}
@property BigInt dup() const {
return BigInt(m_reg.dup(), m_signedness);
}
private:
SecureVector!word m_reg;
Sign m_signedness = Positive;
}
| D |
/Users/Bamz/Developer/FaceIt/Build/Intermediates/IBDesignables/Intermediates/FaceIt.build/Debug-iphonesimulator/FaceIt.build/Objects-normal/x86_64/ViewController.o : /Users/Bamz/Developer/FaceIt/FaceIt/AppDelegate.swift /Users/Bamz/Developer/FaceIt/FaceIt/ViewController.swift /Users/Bamz/Developer/FaceIt/FaceIt/FaceView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/Bamz/Developer/FaceIt/Build/Intermediates/IBDesignables/Intermediates/FaceIt.build/Debug-iphonesimulator/FaceIt.build/Objects-normal/x86_64/ViewController~partial.swiftmodule : /Users/Bamz/Developer/FaceIt/FaceIt/AppDelegate.swift /Users/Bamz/Developer/FaceIt/FaceIt/ViewController.swift /Users/Bamz/Developer/FaceIt/FaceIt/FaceView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
/Users/Bamz/Developer/FaceIt/Build/Intermediates/IBDesignables/Intermediates/FaceIt.build/Debug-iphonesimulator/FaceIt.build/Objects-normal/x86_64/ViewController~partial.swiftdoc : /Users/Bamz/Developer/FaceIt/FaceIt/AppDelegate.swift /Users/Bamz/Developer/FaceIt/FaceIt/ViewController.swift /Users/Bamz/Developer/FaceIt/FaceIt/FaceView.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreText.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/QuartzCore.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/SwiftOnoneSupport.swiftmodule
| D |
module modbus.connection.rtu;
public import serialport;
import modbus.exception;
import modbus.connection.base;
///
class SerialPortConnection : Connection
{
protected:
///
SerialPort sp;
public:
///
this(SerialPort sp) { this.sp = sp; }
///
inout(SerialPort) port() inout @property { return sp; }
override:
@property
{
Duration readTimeout() { return sp.readTimeout; }
Duration writeTimeout() { return sp.writeTimeout; }
void readTimeout(Duration d) { sp.readTimeout = d; }
void writeTimeout(Duration d) { sp.writeTimeout = d; }
}
void write(const(void)[] msg) { sp.write(msg); }
void[] read(void[] buf, CanRead cr=CanRead.allOrNothing)
{ return sp.read(buf, cr); }
void reconnect() { sp.reopen(); }
} | D |
module arsd.png;
/// Easily reads a png file into a MemoryImage
MemoryImage readPng(string filename) {
import std.file;
return imageFromPng(readPng(cast(ubyte[]) read(filename)));
}
/// Saves a MemoryImage to a png. See also: writeImageToPngFile which uses memory a little more efficiently
void writePng(string filename, MemoryImage mi) {
// FIXME: it would be nice to write the file lazily so we don't have so many intermediate buffers here
PNG* png;
if(auto p = cast(IndexedImage) mi)
png = pngFromImage(p);
else if(auto p = cast(TrueColorImage) mi)
png = pngFromImage(p);
else assert(0);
std.file.write(filename, writePng(png));
}
/*
//Here's a simple test program that shows how to write a quick image viewer with simpledisplay:
import arsd.png;
import simpledisplay;
import std.file;
void main(string[] args) {
// older api, the individual functions give you more control if you need it
//auto img = imageFromPng(readPng(cast(ubyte[]) read(args[1])));
// newer api, simpler but less control
auto img = readPng(args[1]);
// displayImage is from simpledisplay and just pops up a window to show the image
// simpledisplay's Images are a little different than MemoryImages that this loads,
// but conversion is easy
displayImage(Image.fromMemoryImage(img));
}
*/
// By Adam D. Ruppe, 2009-2010, released into the public domain
//import std.file;
import std.zlib;
public import arsd.color;
/**
The return value should be casted to indexed or truecolor depending on what the file is. You can
also use getAsTrueColorImage to forcibly convert it if needed.
To get an image from a png file, do something like this:
auto i = cast(TrueColorImage) imageFromPng(readPng(cast(ubyte)[]) std.file.read("file.png")));
*/
MemoryImage imageFromPng(PNG* png) {
PngHeader h = getHeader(png);
/** Types from the PNG spec:
0 - greyscale
2 - truecolor
3 - indexed color
4 - grey with alpha
6 - true with alpha
1, 5, and 7 are invalid.
There's a kind of bitmask going on here:
If type&1, it has a palette.
If type&2, it is in color.
If type&4, it has an alpha channel in the datastream.
*/
MemoryImage i;
ubyte[] idata;
// FIXME: some duplication with the lazy reader below in the module
switch(h.type) {
case 0: // greyscale
case 4: // greyscale with alpha
// this might be a different class eventually...
auto a = new TrueColorImage(h.width, h.height);
idata = a.imageData.bytes;
i = a;
break;
case 2: // truecolor
case 6: // truecolor with alpha
auto a = new TrueColorImage(h.width, h.height);
idata = a.imageData.bytes;
i = a;
break;
case 3: // indexed
auto a = new IndexedImage(h.width, h.height);
a.palette = fetchPalette(png);
a.hasAlpha = true; // FIXME: don't be so conservative here
idata = a.data;
i = a;
break;
default:
assert(0, "invalid png");
}
auto idataIdx = 0;
auto file = LazyPngFile!(Chunk[])(png.chunks);
immutable(ubyte)[] previousLine;
auto bpp = bytesPerPixel(h);
foreach(line; file.rawDatastreamByChunk()) {
auto filter = line[0];
auto data = unfilter(filter, line[1 .. $], previousLine, bpp);
ubyte consumeOne() {
ubyte ret = data[0];
data = data[1 .. $];
return ret;
}
previousLine = data;
import std.conv;
loop: for(int pixel = 0; pixel < h.width; pixel++)
switch(h.type) {
case 0: // greyscale
case 4: // greyscale with alpha
auto value = consumeOne();
idata[idataIdx++] = value;
idata[idataIdx++] = value;
idata[idataIdx++] = value;
idata[idataIdx++] = (h.type == 4) ? consumeOne() : 255;
break;
case 3: // indexed
auto b = consumeOne();
switch(h.depth) {
case 1:
idata[idataIdx++] = (b >> 7) & 0x01;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 6) & 0x01;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 5) & 0x01;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 4) & 0x01;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 3) & 0x01;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 2) & 0x01;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = b & 0x01;
break;
case 2:
idata[idataIdx++] = (b >> 6) & 0x03;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 4) & 0x03;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = (b >> 2) & 0x03;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = b & 0x03;
break;
case 4:
idata[idataIdx++] = (b >> 4) & 0x0f;
pixel++; if(pixel == h.width) break loop;
idata[idataIdx++] = b & 0x0f;
break;
case 8:
idata[idataIdx++] = b;
break;
default:
assert(0, "bit depth not implemented");
}
break;
case 2: // truecolor
case 6: // true with alpha
if(h.depth == 8) {
idata[idataIdx++] = consumeOne();
idata[idataIdx++] = consumeOne();
idata[idataIdx++] = consumeOne();
idata[idataIdx++] = (h.type == 6) ? consumeOne() : 255;
} else if(h.depth == 16) {
idata[idataIdx++] = consumeOne();
consumeOne();
idata[idataIdx++] = consumeOne();
consumeOne();
idata[idataIdx++] = consumeOne();
consumeOne();
idata[idataIdx++] = (h.type == 6) ? consumeOne() : 255;
if(h.type == 6)
consumeOne();
} else assert(0, "unsupported truecolor bit depth " ~ to!string(h.depth));
break;
default: assert(0);
}
assert(data.length == 0, "not all consumed, wtf " ~ to!string(h));
}
assert(idataIdx == idata.length, "not all filled, wtf");
assert(i !is null);
return i;
}
/*
struct PngHeader {
uint width;
uint height;
ubyte depth = 8;
ubyte type = 6; // 0 - greyscale, 2 - truecolor, 3 - indexed color, 4 - grey with alpha, 6 - true with alpha
ubyte compressionMethod = 0; // should be zero
ubyte filterMethod = 0; // should be zero
ubyte interlaceMethod = 0; // bool
}
*/
PNG* pngFromImage(IndexedImage i) {
PngHeader h;
h.width = i.width;
h.height = i.height;
h.type = 3;
if(i.numColors() <= 2)
h.depth = 1;
else if(i.numColors() <= 4)
h.depth = 2;
else if(i.numColors() <= 16)
h.depth = 4;
else if(i.numColors() <= 256)
h.depth = 8;
else throw new Exception("can't save this as an indexed png");
auto png = blankPNG(h);
// do palette and alpha
// FIXME: if there is only one transparent color, set it as the special chunk for that
// FIXME: we'd get a smaller file size if the transparent pixels were arranged first
Chunk palette;
palette.type = ['P', 'L', 'T', 'E'];
palette.size = i.palette.length * 3;
palette.payload.length = palette.size;
Chunk alpha;
if(i.hasAlpha) {
alpha.type = ['t', 'R', 'N', 'S'];
alpha.size = i.palette.length;
alpha.payload.length = alpha.size;
}
for(int a = 0; a < i.palette.length; a++) {
palette.payload[a*3+0] = i.palette[a].r;
palette.payload[a*3+1] = i.palette[a].g;
palette.payload[a*3+2] = i.palette[a].b;
if(i.hasAlpha)
alpha.payload[a] = i.palette[a].a;
}
palette.checksum = crc("PLTE", palette.payload);
png.chunks ~= palette;
if(i.hasAlpha) {
alpha.checksum = crc("tRNS", alpha.payload);
png.chunks ~= alpha;
}
// do the datastream
if(h.depth == 8) {
addImageDatastreamToPng(i.data, png);
} else {
// gotta convert it
ubyte[] datastream = new ubyte[i.width * i.height * 8 / h.depth]; // FIXME?
int shift = 0;
switch(h.depth) {
default: assert(0);
case 1: shift = 7; break;
case 2: shift = 6; break;
case 4: shift = 4; break;
case 8: shift = 0; break;
}
int dsp = 0;
int dpos = 0;
bool justAdvanced;
for(int y = 0; y < i.height; y++) {
for(int x = 0; x < i.width; x++) {
datastream[dsp] |= i.data[dpos++] << shift;
switch(h.depth) {
default: assert(0);
case 1: shift-= 1; break;
case 2: shift-= 2; break;
case 4: shift-= 4; break;
case 8: shift-= 8; break;
}
justAdvanced = shift < 0;
if(shift < 0) {
dsp++;
switch(h.depth) {
default: assert(0);
case 1: shift = 7; break;
case 2: shift = 6; break;
case 4: shift = 4; break;
case 8: shift = 0; break;
}
}
}
if(!justAdvanced)
dsp++;
switch(h.depth) {
default: assert(0);
case 1: shift = 7; break;
case 2: shift = 6; break;
case 4: shift = 4; break;
case 8: shift = 0; break;
}
}
addImageDatastreamToPng(datastream, png);
}
return png;
}
PNG* pngFromImage(TrueColorImage i) {
PngHeader h;
h.width = i.width;
h.height = i.height;
// FIXME: optimize it if it is greyscale or doesn't use alpha alpha
auto png = blankPNG(h);
addImageDatastreamToPng(i.imageData.bytes, png);
return png;
}
/*
void main(string[] args) {
auto a = readPng(cast(ubyte[]) read(args[1]));
auto f = getDatastream(a);
foreach(i; f) {
writef("%d ", i);
}
writefln("\n\n%d", f.length);
}
*/
struct PNG {
uint length;
ubyte[8] header;
Chunk[] chunks;
Chunk* getChunk(string what) {
foreach(ref c; chunks) {
if(cast(string) c.type == what)
return &c;
}
throw new Exception("no such chunk " ~ what);
}
Chunk* getChunkNullable(string what) {
foreach(ref c; chunks) {
if(cast(string) c.type == what)
return &c;
}
return null;
}
}
// this is just like writePng(filename, pngFromImage(image)), but it manages
// is own memory and writes straight to the file instead of using intermediate buffers that might not get gc'd right
void writeImageToPngFile(in char[] filename, TrueColorImage image) {
PNG* png;
ubyte[] com;
{
PngHeader h;
h.width = image.width;
h.height = image.height;
png = blankPNG(h);
auto bytesPerLine = h.width * 4;
if(h.type == 3)
bytesPerLine = h.width * 8 / h.depth;
Chunk dat;
dat.type = ['I', 'D', 'A', 'T'];
int pos = 0;
auto compressor = new Compress();
import core.stdc.stdlib;
auto lineBuffer = (cast(ubyte*)malloc(1 + bytesPerLine))[0 .. 1+bytesPerLine];
scope(exit) free(lineBuffer.ptr);
while(pos+bytesPerLine <= image.imageData.bytes.length) {
lineBuffer[0] = 0;
lineBuffer[1..1+bytesPerLine] = image.imageData.bytes[pos.. pos+bytesPerLine];
com ~= cast(ubyte[]) compressor.compress(lineBuffer);
pos += bytesPerLine;
}
com ~= cast(ubyte[]) compressor.flush();
dat.size = com.length;
dat.payload = com;
dat.checksum = crc("IDAT", dat.payload);
png.chunks ~= dat;
Chunk c;
c.size = 0;
c.type = ['I', 'E', 'N', 'D'];
c.checksum = crc("IEND", c.payload);
png.chunks ~= c;
}
assert(png !is null);
import core.stdc.stdio;
import std.string;
FILE* fp = fopen(toStringz(filename), "wb");
if(fp is null)
throw new Exception("Couldn't open png file for writing.");
scope(exit) fclose(fp);
fwrite(png.header.ptr, 1, 8, fp);
foreach(c; png.chunks) {
fputc((c.size & 0xff000000) >> 24, fp);
fputc((c.size & 0x00ff0000) >> 16, fp);
fputc((c.size & 0x0000ff00) >> 8, fp);
fputc((c.size & 0x000000ff) >> 0, fp);
fwrite(c.type.ptr, 1, 4, fp);
fwrite(c.payload.ptr, 1, c.size, fp);
fputc((c.checksum & 0xff000000) >> 24, fp);
fputc((c.checksum & 0x00ff0000) >> 16, fp);
fputc((c.checksum & 0x0000ff00) >> 8, fp);
fputc((c.checksum & 0x000000ff) >> 0, fp);
}
delete com; // there is a reference to this in the PNG struct, but it is going out of scope here too, so who cares
// just wanna make sure this crap doesn't stick around
}
ubyte[] writePng(PNG* p) {
ubyte[] a;
if(p.length)
a.length = p.length;
else {
a.length = 8;
foreach(c; p.chunks)
a.length += c.size + 12;
}
uint pos;
a[0..8] = p.header[0..8];
pos = 8;
foreach(c; p.chunks) {
a[pos++] = (c.size & 0xff000000) >> 24;
a[pos++] = (c.size & 0x00ff0000) >> 16;
a[pos++] = (c.size & 0x0000ff00) >> 8;
a[pos++] = (c.size & 0x000000ff) >> 0;
a[pos..pos+4] = c.type[0..4];
pos += 4;
a[pos..pos+c.size] = c.payload[0..c.size];
pos += c.size;
a[pos++] = (c.checksum & 0xff000000) >> 24;
a[pos++] = (c.checksum & 0x00ff0000) >> 16;
a[pos++] = (c.checksum & 0x0000ff00) >> 8;
a[pos++] = (c.checksum & 0x000000ff) >> 0;
}
return a;
}
PngHeader getHeaderFromFile(string filename) {
import std.stdio;
auto file = File(filename, "rb");
ubyte[12] initialBuffer; // file header + size of first chunk (should be IHDR)
auto data = file.rawRead(initialBuffer[]);
if(data.length != 12)
throw new Exception("couldn't get png file header off " ~ filename);
if(data[0..8] != [0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a])
throw new Exception("file " ~ filename ~ " is not a png");
auto pos = 8;
uint size;
size |= data[pos++] << 24;
size |= data[pos++] << 16;
size |= data[pos++] << 8;
size |= data[pos++] << 0;
size += 4; // chunk type
size += 4; // checksum
ubyte[] more;
more.length = size;
auto chunk = file.rawRead(more);
if(chunk.length != size)
throw new Exception("couldn't get png image header off " ~ filename);
more = data ~ chunk;
auto png = readPng(more);
return getHeader(png);
}
PNG* readPng(in ubyte[] data) {
auto p = new PNG;
p.length = data.length;
p.header[0..8] = data[0..8];
if(p.header != [0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a])
throw new Exception("not a png, header wrong");
uint pos = 8;
while(pos < data.length) {
Chunk n;
n.size |= data[pos++] << 24;
n.size |= data[pos++] << 16;
n.size |= data[pos++] << 8;
n.size |= data[pos++] << 0;
n.type[0..4] = data[pos..pos+4];
pos += 4;
n.payload.length = n.size;
if(pos + n.size > data.length)
throw new Exception(format("malformed png, chunk '%s' %d @ %d longer than data %d", n.type, n.size, pos, data.length));
if(pos + n.size < pos)
throw new Exception("uint overflow: chunk too large");
n.payload[0..n.size] = data[pos..pos+n.size];
pos += n.size;
n.checksum |= data[pos++] << 24;
n.checksum |= data[pos++] << 16;
n.checksum |= data[pos++] << 8;
n.checksum |= data[pos++] << 0;
p.chunks ~= n;
}
return p;
}
PNG* blankPNG(PngHeader h) {
auto p = new PNG;
p.header = [0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a];
Chunk c;
c.size = 13;
c.type = ['I', 'H', 'D', 'R'];
c.payload.length = 13;
int pos = 0;
c.payload[pos++] = h.width >> 24;
c.payload[pos++] = (h.width >> 16) & 0xff;
c.payload[pos++] = (h.width >> 8) & 0xff;
c.payload[pos++] = h.width & 0xff;
c.payload[pos++] = h.height >> 24;
c.payload[pos++] = (h.height >> 16) & 0xff;
c.payload[pos++] = (h.height >> 8) & 0xff;
c.payload[pos++] = h.height & 0xff;
c.payload[pos++] = h.depth;
c.payload[pos++] = h.type;
c.payload[pos++] = h.compressionMethod;
c.payload[pos++] = h.filterMethod;
c.payload[pos++] = h.interlaceMethod;
c.checksum = crc("IHDR", c.payload);
p.chunks ~= c;
return p;
}
// should NOT have any idata already.
// FIXME: doesn't handle palettes
void addImageDatastreamToPng(const(ubyte)[] data, PNG* png) {
// we need to go through the lines and add the filter byte
// then compress it into an IDAT chunk
// then add the IEND chunk
PngHeader h = getHeader(png);
auto bytesPerLine = h.width * 4;
if(h.type == 3)
bytesPerLine = h.width * 8 / h.depth;
Chunk dat;
dat.type = ['I', 'D', 'A', 'T'];
int pos = 0;
const(ubyte)[] output;
while(pos+bytesPerLine <= data.length) {
output ~= 0;
output ~= data[pos..pos+bytesPerLine];
pos += bytesPerLine;
}
auto com = cast(ubyte[]) compress(output);
dat.size = com.length;
dat.payload = com;
dat.checksum = crc("IDAT", dat.payload);
png.chunks ~= dat;
Chunk c;
c.size = 0;
c.type = ['I', 'E', 'N', 'D'];
c.checksum = crc("IEND", c.payload);
png.chunks ~= c;
}
deprecated alias PngHeader PNGHeader;
// bKGD - palette entry for background or the RGB (16 bits each) for that. or 16 bits of grey
ubyte[] getDatastream(PNG* p) {
ubyte[] compressed;
foreach(c; p.chunks) {
if(cast(string) c.type != "IDAT")
continue;
compressed ~= c.payload;
}
return cast(ubyte[]) uncompress(compressed);
}
// FIXME: Assuming 8 bits per pixel
ubyte[] getUnfilteredDatastream(PNG* p) {
PngHeader h = getHeader(p);
assert(h.filterMethod == 0);
assert(h.type == 3); // FIXME
assert(h.depth == 8); // FIXME
ubyte[] data = getDatastream(p);
ubyte[] ufdata = new ubyte[data.length - h.height];
int bytesPerLine = ufdata.length / h.height;
int pos = 0, pos2 = 0;
for(int a = 0; a < h.height; a++) {
assert(data[pos2] == 0);
ufdata[pos..pos+bytesPerLine] = data[pos2+1..pos2+bytesPerLine+1];
pos+= bytesPerLine;
pos2+= bytesPerLine + 1;
}
return ufdata;
}
ubyte[] getFlippedUnfilteredDatastream(PNG* p) {
PngHeader h = getHeader(p);
assert(h.filterMethod == 0);
assert(h.type == 3); // FIXME
assert(h.depth == 8 || h.depth == 4); // FIXME
ubyte[] data = getDatastream(p);
ubyte[] ufdata = new ubyte[data.length - h.height];
int bytesPerLine = ufdata.length / h.height;
int pos = ufdata.length - bytesPerLine, pos2 = 0;
for(int a = 0; a < h.height; a++) {
assert(data[pos2] == 0);
ufdata[pos..pos+bytesPerLine] = data[pos2+1..pos2+bytesPerLine+1];
pos-= bytesPerLine;
pos2+= bytesPerLine + 1;
}
return ufdata;
}
ubyte getHighNybble(ubyte a) {
return cast(ubyte)(a >> 4); // FIXME
}
ubyte getLowNybble(ubyte a) {
return a & 0x0f;
}
// Takes the transparency info and returns
ubyte[] getANDMask(PNG* p) {
PngHeader h = getHeader(p);
assert(h.filterMethod == 0);
assert(h.type == 3); // FIXME
assert(h.depth == 8 || h.depth == 4); // FIXME
assert(h.width % 8 == 0); // might actually be %2
ubyte[] data = getDatastream(p);
ubyte[] ufdata = new ubyte[h.height*((((h.width+7)/8)+3)&~3)]; // gotta pad to DWORDs...
Color[] colors = fetchPalette(p);
int pos = 0, pos2 = (h.width/((h.depth == 8) ? 1 : 2)+1)*(h.height-1);
bool bits = false;
for(int a = 0; a < h.height; a++) {
assert(data[pos2++] == 0);
for(int b = 0; b < h.width; b++) {
if(h.depth == 4) {
ufdata[pos/8] |= ((colors[bits? getLowNybble(data[pos2]) : getHighNybble(data[pos2])].a <= 30) << (7-(pos%8)));
} else
ufdata[pos/8] |= ((colors[data[pos2]].a == 0) << (7-(pos%8)));
pos++;
if(h.depth == 4) {
if(bits) {
pos2++;
}
bits = !bits;
} else
pos2++;
}
int pad = 0;
for(; pad < ((pos/8) % 4); pad++) {
ufdata[pos/8] = 0;
pos+=8;
}
if(h.depth == 4)
pos2 -= h.width + 2;
else
pos2-= 2*(h.width) +2;
}
return ufdata;
}
// Done with assumption
PngHeader getHeader(PNG* p) {
PngHeader h;
ubyte[] data = p.getChunk("IHDR").payload;
int pos = 0;
h.width |= data[pos++] << 24;
h.width |= data[pos++] << 16;
h.width |= data[pos++] << 8;
h.width |= data[pos++] << 0;
h.height |= data[pos++] << 24;
h.height |= data[pos++] << 16;
h.height |= data[pos++] << 8;
h.height |= data[pos++] << 0;
h.depth = data[pos++];
h.type = data[pos++];
h.compressionMethod = data[pos++];
h.filterMethod = data[pos++];
h.interlaceMethod = data[pos++];
return h;
}
/*
struct Color {
ubyte r;
ubyte g;
ubyte b;
ubyte a;
}
*/
/+
class Image {
Color[][] trueColorData;
ubyte[] indexData;
Color[] palette;
uint width;
uint height;
this(uint w, uint h) {}
}
Image fromPNG(PNG* p) {
}
PNG* toPNG(Image i) {
}
+/ struct RGBQUAD {
ubyte rgbBlue;
ubyte rgbGreen;
ubyte rgbRed;
ubyte rgbReserved;
}
RGBQUAD[] fetchPaletteWin32(PNG* p) {
RGBQUAD[] colors;
auto palette = p.getChunk("PLTE");
colors.length = (palette.size) / 3;
for(int i = 0; i < colors.length; i++) {
colors[i].rgbRed = palette.payload[i*3+0];
colors[i].rgbGreen = palette.payload[i*3+1];
colors[i].rgbBlue = palette.payload[i*3+2];
colors[i].rgbReserved = 0;
}
return colors;
}
Color[] fetchPalette(PNG* p) {
Color[] colors;
auto header = getHeader(p);
if(header.type == 0) { // greyscale
colors.length = 256;
foreach(i; 0..256)
colors[i] = Color(cast(ubyte) i, cast(ubyte) i, cast(ubyte) i);
return colors;
}
// assuming this is indexed
assert(header.type == 3);
auto palette = p.getChunk("PLTE");
Chunk* alpha = p.getChunkNullable("tRNS");
colors.length = palette.size / 3;
for(int i = 0; i < colors.length; i++) {
colors[i].r = palette.payload[i*3+0];
colors[i].g = palette.payload[i*3+1];
colors[i].b = palette.payload[i*3+2];
if(alpha !is null && i < alpha.size)
colors[i].a = alpha.payload[i];
else
colors[i].a = 255;
//writefln("%2d: %3d %3d %3d %3d", i, colors[i].r, colors[i].g, colors[i].b, colors[i].a);
}
return colors;
}
void replacePalette(PNG* p, Color[] colors) {
auto palette = p.getChunk("PLTE");
auto alpha = p.getChunkNullable("tRNS");
//import std.string;
//assert(0, format("%s %s", colors.length, alpha.size));
//assert(colors.length == alpha.size);
if(alpha) {
alpha.size = colors.length;
alpha.payload.length = colors.length; // we make sure there's room for our simple method below
}
p.length = 0; // so write will recalculate
for(int i = 0; i < colors.length; i++) {
palette.payload[i*3+0] = colors[i].r;
palette.payload[i*3+1] = colors[i].g;
palette.payload[i*3+2] = colors[i].b;
if(alpha)
alpha.payload[i] = colors[i].a;
}
palette.checksum = crc("PLTE", palette.payload);
if(alpha)
alpha.checksum = crc("tRNS", alpha.payload);
}
uint update_crc(in uint crc, in ubyte[] buf){
static const uint[256] crc_table = [0, 1996959894, 3993919788, 2567524794, 124634137, 1886057615, 3915621685, 2657392035, 249268274, 2044508324, 3772115230, 2547177864, 162941995, 2125561021, 3887607047, 2428444049, 498536548, 1789927666, 4089016648, 2227061214, 450548861, 1843258603, 4107580753, 2211677639, 325883990, 1684777152, 4251122042, 2321926636, 335633487, 1661365465, 4195302755, 2366115317, 997073096, 1281953886, 3579855332, 2724688242, 1006888145, 1258607687, 3524101629, 2768942443, 901097722, 1119000684, 3686517206, 2898065728, 853044451, 1172266101, 3705015759, 2882616665, 651767980, 1373503546, 3369554304, 3218104598, 565507253, 1454621731, 3485111705, 3099436303, 671266974, 1594198024, 3322730930, 2970347812, 795835527, 1483230225, 3244367275, 3060149565, 1994146192, 31158534, 2563907772, 4023717930, 1907459465, 112637215, 2680153253, 3904427059, 2013776290, 251722036, 2517215374, 3775830040, 2137656763, 141376813, 2439277719, 3865271297, 1802195444, 476864866, 2238001368, 4066508878, 1812370925, 453092731, 2181625025, 4111451223, 1706088902, 314042704, 2344532202, 4240017532, 1658658271, 366619977, 2362670323, 4224994405, 1303535960, 984961486, 2747007092, 3569037538, 1256170817, 1037604311, 2765210733, 3554079995, 1131014506, 879679996, 2909243462, 3663771856, 1141124467, 855842277, 2852801631, 3708648649, 1342533948, 654459306, 3188396048, 3373015174, 1466479909, 544179635, 3110523913, 3462522015, 1591671054, 702138776, 2966460450, 3352799412, 1504918807, 783551873, 3082640443, 3233442989, 3988292384, 2596254646, 62317068, 1957810842, 3939845945, 2647816111, 81470997, 1943803523, 3814918930, 2489596804, 225274430, 2053790376, 3826175755, 2466906013, 167816743, 2097651377, 4027552580, 2265490386, 503444072, 1762050814, 4150417245, 2154129355, 426522225, 1852507879, 4275313526, 2312317920, 282753626, 1742555852, 4189708143, 2394877945, 397917763, 1622183637, 3604390888, 2714866558, 953729732, 1340076626, 3518719985, 2797360999, 1068828381, 1219638859, 3624741850, 2936675148, 906185462, 1090812512, 3747672003, 2825379669, 829329135, 1181335161, 3412177804, 3160834842, 628085408, 1382605366, 3423369109, 3138078467, 570562233, 1426400815, 3317316542, 2998733608, 733239954, 1555261956, 3268935591, 3050360625, 752459403, 1541320221, 2607071920, 3965973030, 1969922972, 40735498, 2617837225, 3943577151, 1913087877, 83908371, 2512341634, 3803740692, 2075208622, 213261112, 2463272603, 3855990285, 2094854071, 198958881, 2262029012, 4057260610, 1759359992, 534414190, 2176718541, 4139329115, 1873836001, 414664567, 2282248934, 4279200368, 1711684554, 285281116, 2405801727, 4167216745, 1634467795, 376229701, 2685067896, 3608007406, 1308918612, 956543938, 2808555105, 3495958263, 1231636301, 1047427035, 2932959818, 3654703836, 1088359270, 936918000, 2847714899, 3736837829, 1202900863, 817233897, 3183342108, 3401237130, 1404277552, 615818150, 3134207493, 3453421203, 1423857449, 601450431, 3009837614, 3294710456, 1567103746, 711928724, 3020668471, 3272380065, 1510334235, 755167117];
uint c = crc;
foreach(b; buf)
c = crc_table[(c ^ b) & 0xff] ^ (c >> 8);
return c;
}
// lol is just the chunk name
uint crc(in string lol, in ubyte[] buf){
uint c = update_crc(0xffffffffL, cast(ubyte[]) lol);
return update_crc(c, buf) ^ 0xffffffffL;
}
/* former module arsd.lazypng follows */
// this is like png.d but all range based so more complicated...
// and I don't remember how to actually use it.
// some day I'll prolly merge it with png.d but for now just throwing it up there
//module arsd.lazypng;
//import arsd.color;
//import std.stdio;
import std.range;
import std.traits;
import std.exception;
import std.string;
//import std.conv;
/*
struct Color {
ubyte r;
ubyte g;
ubyte b;
ubyte a;
string toString() {
return format("#%2x%2x%2x %2x", r, g, b, a);
}
}
*/
//import simpledisplay;
struct RgbaScanline {
Color[] pixels;
}
auto convertToGreyscale(ImageLines)(ImageLines lines)
if(isInputRange!ImageLines && is(ElementType!ImageLines == RgbaScanline))
{
struct GreyscaleLines {
ImageLines lines;
bool isEmpty;
this(ImageLines lines) {
this.lines = lines;
if(!empty())
popFront(); // prime
}
int length() {
return lines.length;
}
bool empty() {
return isEmpty;
}
RgbaScanline current;
RgbaScanline front() {
return current;
}
void popFront() {
if(lines.empty()) {
isEmpty = true;
return;
}
auto old = lines.front();
current.pixels.length = old.pixels.length;
foreach(i, c; old.pixels) {
ubyte v = cast(ubyte) (
cast(int) c.r * 0.30 +
cast(int) c.g * 0.59 +
cast(int) c.b * 0.11);
current.pixels[i] = Color(v, v, v, c.a);
}
lines.popFront;
}
}
return GreyscaleLines(lines);
}
/// Lazily breaks the buffered input range into
/// png chunks, as defined in the PNG spec
///
/// Note: bufferedInputRange is defined in this file too.
LazyPngChunks!(Range) readPngChunks(Range)(Range r)
if(isBufferedInputRange!(Range) && is(ElementType!(Range) == ubyte[]))
{
// First, we need to check the header
// Then we'll lazily pull the chunks
while(r.front.length < 8) {
enforce(!r.empty(), "This isn't big enough to be a PNG file");
r.appendToFront();
}
enforce(r.front[0..8] == PNG_MAGIC_NUMBER,
"The file's magic number doesn't look like PNG");
r.consumeFromFront(8);
return LazyPngChunks!Range(r);
}
/// Same as above, but takes a regular input range instead of a buffered one.
/// Provided for easier compatibility with standard input ranges
/// (for example, std.stdio.File.byChunk)
auto readPngChunks(Range)(Range r)
if(!isBufferedInputRange!(Range) && isInputRange!(Range))
{
return readPngChunks(BufferedInputRange!Range(r));
}
/// Given an input range of bytes, return a lazy PNG file
auto pngFromBytes(Range)(Range r)
if(isInputRange!(Range) && is(ElementType!Range == ubyte[]))
{
auto chunks = readPngChunks(r);
auto file = LazyPngFile!(typeof(chunks))(chunks);
return file;
}
struct LazyPngChunks(T)
if(isBufferedInputRange!(T) && is(ElementType!T == ubyte[]))
{
T bytes;
Chunk current;
this(T range) {
bytes = range;
popFront(); // priming it
}
Chunk front() {
return current;
}
bool empty() {
return (bytes.front.length == 0 && bytes.empty);
}
void popFront() {
enforce(!empty());
while(bytes.front().length < 4) {
enforce(!bytes.empty,
format("Malformed PNG file - chunk size too short (%s < 4)",
bytes.front().length));
bytes.appendToFront();
}
Chunk n;
n.size |= bytes.front()[0] << 24;
n.size |= bytes.front()[1] << 16;
n.size |= bytes.front()[2] << 8;
n.size |= bytes.front()[3] << 0;
bytes.consumeFromFront(4);
while(bytes.front().length < n.size + 8) {
enforce(!bytes.empty,
format("Malformed PNG file - chunk too short (%s < %s)",
bytes.front.length, n.size));
bytes.appendToFront();
}
n.type[0 .. 4] = bytes.front()[0 .. 4];
bytes.consumeFromFront(4);
n.payload.length = n.size;
n.payload[0 .. n.size] = bytes.front()[0 .. n.size];
bytes.consumeFromFront(n.size);
n.checksum |= bytes.front()[0] << 24;
n.checksum |= bytes.front()[1] << 16;
n.checksum |= bytes.front()[2] << 8;
n.checksum |= bytes.front()[3] << 0;
bytes.consumeFromFront(4);
enforce(n.checksum == crcPng(n.stype, n.payload), "Chunk checksum didn't match");
current = n;
}
}
/// Lazily reads out basic info from a png (header, palette, image data)
/// It will only allocate memory to read a palette, and only copies on
/// the header and the palette. It ignores everything else.
///
/// FIXME: it doesn't handle interlaced files.
struct LazyPngFile(LazyPngChunksProvider)
if(isInputRange!(LazyPngChunksProvider) &&
is(ElementType!(LazyPngChunksProvider) == Chunk))
{
LazyPngChunksProvider chunks;
this(LazyPngChunksProvider chunks) {
enforce(!chunks.empty(), "There are no chunks in this png");
header = PngHeader.fromChunk(chunks.front());
chunks.popFront();
// And now, find the datastream so we're primed for lazy
// reading, saving the palette and transparency info, if
// present
chunkLoop:
while(!chunks.empty()) {
auto chunk = chunks.front();
switch(chunks.front.stype) {
case "PLTE":
// if it is in color, palettes are
// always stored as 8 bit per channel
// RGB triplets Alpha is stored elsewhere.
// FIXME: doesn't do greyscale palettes!
enforce(chunk.size % 3 == 0);
palette.length = chunk.size / 3;
auto offset = 0;
foreach(i; 0 .. palette.length) {
palette[i] = Color(
chunk.payload[offset+0],
chunk.payload[offset+1],
chunk.payload[offset+2],
255);
offset += 3;
}
break;
case "tRNS":
// 8 bit channel in same order as
// palette
if(chunk.size > palette.length)
palette.length = chunk.size;
foreach(i, a; chunk.payload)
palette[i].a = a;
break;
case "IDAT":
// leave the datastream for later
break chunkLoop;
default:
// ignore chunks we don't care about
}
chunks.popFront();
}
this.chunks = chunks;
enforce(!chunks.empty() && chunks.front().stype == "IDAT",
"Malformed PNG file - no image data is present");
}
/// Lazily reads and decompresses the image datastream, returning chunkSize bytes of
/// it per front. It does *not* change anything, so the filter byte is still there.
///
/// If chunkSize == 0, it automatically calculates chunk size to give you data by line.
auto rawDatastreamByChunk(int chunkSize = 0) {
assert(chunks.front().stype == "IDAT");
if(chunkSize == 0)
chunkSize = bytesPerLine();
struct DatastreamByChunk(T) {
std.zlib.UnCompress decompressor;
int chunkSize;
T chunks;
this(int cs, T chunks) {
decompressor = new std.zlib.UnCompress();
this.chunkSize = cs;
this.chunks = chunks;
popFront(); // priming
}
ubyte[] front() {
assert(current.length == chunkSize);
return current;
}
ubyte[] current;
ubyte[] buffer;
void popFront() {
while(buffer.length < chunkSize) {
if(chunks.front().stype != "IDAT") {
buffer ~= cast(ubyte[]) decompressor.flush();
if(buffer.length != 0) {
buffer ~= cast(ubyte[])
decompressor.uncompress(chunks.front().payload);
continue;
}
current = null;
buffer = null;
return;
}
buffer ~= cast(ubyte[])
decompressor.uncompress(chunks.front().payload);
chunks.popFront();
}
assert(chunkSize <= buffer.length, format("%s !<= %s remaining data: \n%s", chunkSize, buffer.length, buffer));
current = buffer[0 .. chunkSize];
buffer = buffer[chunkSize .. $];
}
bool empty() {
return (current.length == 0);
}
}
auto range = DatastreamByChunk!(typeof(chunks))(chunkSize, chunks);
return range;
}
auto byRgbaScanline() {
static struct ByRgbaScanline {
ReturnType!(rawDatastreamByChunk) datastream;
RgbaScanline current;
PngHeader header;
int bpp;
Color[] palette;
bool isEmpty = false;
bool empty() {
return isEmpty;
}
@property int length() {
return header.height;
}
// This is needed for the filter algorithms
immutable(ubyte)[] previousLine;
// FIXME: I think my range logic got screwed somewhere
// in the stack... this is messed up.
void popFront() {
assert(!empty());
if(datastream.empty()) {
isEmpty = true;
return;
}
current.pixels.length = header.width;
// ensure it is primed
if(datastream.front.length == 0)
datastream.popFront;
auto rawData = datastream.front();
auto filter = rawData[0];
auto data = unfilter(filter, rawData[1 .. $], previousLine, bpp);
if(data.length == 0) {
isEmpty = true;
return;
}
assert(data.length);
previousLine = data;
// FIXME: if it's rgba, this could probably be faster
assert(header.depth == 8,
"Sorry, depths other than 8 aren't implemented yet.");
auto offset = 0;
foreach(i; 0 .. header.width) {
switch(header.type) {
case 0: // greyscale
case 4: // grey with alpha
auto value = data[offset++];
current.pixels[i] = Color(
value,
value,
value,
(header.type == 4)
? data[offset++] : 255
);
break;
case 3: // indexed
current.pixels[i] = palette[data[offset++]];
break;
case 2: // truecolor
case 6: // true with alpha
current.pixels[i] = Color(
data[offset++],
data[offset++],
data[offset++],
(header.type == 6)
? data[offset++] : 255
);
break;
default:
throw new Exception("invalid png file");
}
}
assert(offset == data.length);
if(!datastream.empty())
datastream.popFront();
}
RgbaScanline front() {
return current;
}
}
assert(chunks.front.stype == "IDAT");
ByRgbaScanline range;
range.header = header;
range.bpp = bytesPerPixel;
range.palette = palette;
range.datastream = rawDatastreamByChunk(bytesPerLine());
range.popFront();
return range;
}
int bytesPerPixel() {
return .bytesPerPixel(header);
}
// FIXME: doesn't handle interlacing... I think
int bytesPerLine() {
immutable bitsPerChannel = header.depth;
int bitsPerPixel = bitsPerChannel;
if(header.type & 2 && !(header.type & 1)) // in color, but no palette
bitsPerPixel *= 3;
if(header.type & 4) // has alpha channel
bitsPerPixel += bitsPerChannel;
immutable int sizeInBits = header.width * bitsPerPixel;
// need to round up to the nearest byte
int sizeInBytes = (sizeInBits + 7) / 8;
return sizeInBytes + 1; // the +1 is for the filter byte that precedes all lines
}
PngHeader header;
Color[] palette;
}
/**************************************************
* Buffered input range - generic, non-image code
***************************************************/
/// Is the given range a buffered input range? That is, an input range
/// that also provides consumeFromFront(int) and appendToFront()
template isBufferedInputRange(R) {
enum bool isBufferedInputRange =
isInputRange!(R) && is(typeof(
{
R r;
r.consumeFromFront(0);
r.appendToFront();
}()));
}
/// Allows appending to front on a regular input range, if that range is
/// an array. It appends to the array rather than creating an array of
/// arrays; it's meant to make the illusion of one continuous front rather
/// than simply adding capability to walk backward to an existing input range.
///
/// I think something like this should be standard; I find File.byChunk
/// to be almost useless without this capability.
// FIXME: what if Range is actually an array itself? We should just use
// slices right into it... I guess maybe r.front() would be the whole
// thing in that case though, so we would indeed be slicing in right now.
// Gotta check it though.
struct BufferedInputRange(Range)
if(isInputRange!(Range) && isArray!(ElementType!(Range)))
{
private Range underlyingRange;
private ElementType!(Range) buffer;
/// Creates a buffer for the given range. You probably shouldn't
/// keep using the underlying range directly.
///
/// It assumes the underlying range has already been primed.
this(Range r) {
underlyingRange = r;
// Is this really correct? Want to make sure r.front
// is valid but it doesn't necessarily need to have
// more elements...
enforce(!r.empty());
buffer = r.front();
usingUnderlyingBuffer = true;
}
/// Forwards to the underlying range's empty function
bool empty() {
return underlyingRange.empty();
}
/// Returns the current buffer
ElementType!(Range) front() {
return buffer;
}
// actually, not terribly useful IMO. appendToFront calls it
// implicitly when necessary
/// Discard the current buffer and get the next item off the
/// underlying range. Be sure to call at least once to prime
/// the range (after checking if it is empty, of course)
void popFront() {
enforce(!empty());
underlyingRange.popFront();
buffer = underlyingRange.front();
usingUnderlyingBuffer = true;
}
bool usingUnderlyingBuffer = false;
/// Remove the first count items from the buffer
void consumeFromFront(int count) {
buffer = buffer[count .. $];
}
/// Append the next item available on the underlying range to
/// our buffer.
void appendToFront() {
if(buffer.length == 0) {
// may let us reuse the underlying range's buffer,
// hopefully avoiding an extra allocation
popFront();
} else {
enforce(!underlyingRange.empty());
// need to make sure underlyingRange.popFront doesn't overwrite any
// of our buffer...
if(usingUnderlyingBuffer) {
buffer = buffer.dup;
usingUnderlyingBuffer = false;
}
underlyingRange.popFront();
buffer ~= underlyingRange.front();
}
}
}
/**************************************************
* Lower level implementations of image formats.
* and associated helper functions.
*
* Related to the module, but not particularly
* interesting, so it's at the bottom.
***************************************************/
/* PNG file format implementation */
import std.zlib;
import std.math;
/// All PNG files are supposed to open with these bytes according to the spec
enum immutable(ubyte[]) PNG_MAGIC_NUMBER = [0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a];
/// A PNG file consists of the magic number then a stream of chunks. This
/// struct represents those chunks.
struct Chunk {
uint size;
ubyte[4] type;
ubyte[] payload;
uint checksum;
/// returns the type as a string for easier comparison with literals
string stype() const {
return cast(string) type;
}
static Chunk* create(string type, ubyte[] payload)
in {
assert(type.length == 4);
}
body {
Chunk* c = new Chunk;
c.size = payload.length;
c.type[] = (cast(ubyte[]) type)[];
c.payload = payload;
c.checksum = crcPng(type, payload);
return c;
}
/// Puts it into the format for outputting to a file
ubyte[] toArray() {
ubyte[] a;
a.length = size + 12;
int pos = 0;
a[pos++] = (size & 0xff000000) >> 24;
a[pos++] = (size & 0x00ff0000) >> 16;
a[pos++] = (size & 0x0000ff00) >> 8;
a[pos++] = (size & 0x000000ff) >> 0;
a[pos .. pos + 4] = type[0 .. 4];
pos += 4;
a[pos .. pos + size] = payload[0 .. size];
pos += size;
assert(checksum);
a[pos++] = (checksum & 0xff000000) >> 24;
a[pos++] = (checksum & 0x00ff0000) >> 16;
a[pos++] = (checksum & 0x0000ff00) >> 8;
a[pos++] = (checksum & 0x000000ff) >> 0;
return a;
}
}
/// The first chunk in a PNG file is a header that contains this info
struct PngHeader {
/// Width of the image, in pixels.
uint width;
/// Height of the image, in pixels.
uint height;
/**
This is bits per channel - per color for truecolor or grey
and per pixel for palette.
Indexed ones can have depth of 1,2,4, or 8,
Greyscale can be 1,2,4,8,16
Everything else must be 8 or 16.
*/
ubyte depth = 8;
/** Types from the PNG spec:
0 - greyscale
2 - truecolor
3 - indexed color
4 - grey with alpha
6 - true with alpha
1, 5, and 7 are invalid.
There's a kind of bitmask going on here:
If type&1, it has a palette.
If type&2, it is in color.
If type&4, it has an alpha channel in the datastream.
*/
ubyte type = 6;
ubyte compressionMethod = 0; /// should be zero
ubyte filterMethod = 0; /// should be zero
/// 0 is non interlaced, 1 if Adam7. No more are defined in the spec
ubyte interlaceMethod = 0;
static PngHeader fromChunk(in Chunk c) {
enforce(c.stype == "IHDR",
"The chunk is not an image header");
PngHeader h;
auto data = c.payload;
int pos = 0;
enforce(data.length == 13,
"Malformed PNG file - the IHDR is the wrong size");
h.width |= data[pos++] << 24;
h.width |= data[pos++] << 16;
h.width |= data[pos++] << 8;
h.width |= data[pos++] << 0;
h.height |= data[pos++] << 24;
h.height |= data[pos++] << 16;
h.height |= data[pos++] << 8;
h.height |= data[pos++] << 0;
h.depth = data[pos++];
h.type = data[pos++];
h.compressionMethod = data[pos++];
h.filterMethod = data[pos++];
h.interlaceMethod = data[pos++];
return h;
}
Chunk* toChunk() {
ubyte[] data;
data.length = 13;
int pos = 0;
data[pos++] = width >> 24;
data[pos++] = (width >> 16) & 0xff;
data[pos++] = (width >> 8) & 0xff;
data[pos++] = width & 0xff;
data[pos++] = height >> 24;
data[pos++] = (height >> 16) & 0xff;
data[pos++] = (height >> 8) & 0xff;
data[pos++] = height & 0xff;
data[pos++] = depth;
data[pos++] = type;
data[pos++] = compressionMethod;
data[pos++] = filterMethod;
data[pos++] = interlaceMethod;
assert(pos == 13);
return Chunk.create("IHDR", data);
}
}
void writePngLazy(OutputRange, InputRange)(ref OutputRange where, InputRange image)
if(
isOutputRange!(OutputRange, ubyte[]) &&
isInputRange!(InputRange) &&
is(ElementType!InputRange == RgbaScanline))
{
where.put(PNG_MAGIC_NUMBER);
PngHeader header;
assert(!image.empty());
// using the default values for header here... FIXME not super clear
header.width = image.front.pixels.length;
header.height = image.length;
enforce(header.width > 0, "Image width <= 0");
enforce(header.height > 0, "Image height <= 0");
where.put(header.toChunk().toArray());
auto compressor = new std.zlib.Compress();
const(void)[] compressedData;
int cnt;
foreach(line; image) {
// YOU'VE GOT TO BE FUCKING KIDDING ME!
// I have to /cast/ to void[]!??!?
ubyte[] data;
data.length = 1 + header.width * 4;
data[0] = 0; // filter type
int offset = 1;
foreach(pixel; line.pixels) {
data[offset++] = pixel.r;
data[offset++] = pixel.g;
data[offset++] = pixel.b;
data[offset++] = pixel.a;
}
compressedData ~= compressor.compress(cast(void[])
data);
if(compressedData.length > 2_000) {
where.put(Chunk.create("IDAT", cast(ubyte[])
compressedData).toArray());
compressedData = null;
}
cnt++;
}
assert(cnt == header.height, format("Got %d lines instead of %d", cnt, header.height));
compressedData ~= compressor.flush();
if(compressedData.length)
where.put(Chunk.create("IDAT", cast(ubyte[])
compressedData).toArray());
where.put(Chunk.create("IEND", null).toArray());
}
// bKGD - palette entry for background or the RGB (16 bits each) for that. or 16 bits of grey
uint crcPng(in string chunkName, in ubyte[] buf){
uint c = update_crc(0xffffffffL, cast(ubyte[]) chunkName);
return update_crc(c, buf) ^ 0xffffffffL;
}
immutable(ubyte)[] unfilter(ubyte filterType, in ubyte[] data, in ubyte[] previousLine, int bpp) {
// Note: the overflow arithmetic on the ubytes in here is intentional
switch(filterType) {
case 0:
return data.idup; // FIXME is copying really necessary?
case 1:
auto arr = data.dup;
// first byte gets zero added to it so nothing special
foreach(i; bpp .. arr.length) {
arr[i] += arr[i - bpp];
}
return assumeUnique(arr);
case 2:
auto arr = data.dup;
if(previousLine.length)
foreach(i; 0 .. arr.length) {
arr[i] += previousLine[i];
}
return assumeUnique(arr);
case 3:
auto arr = data.dup;
foreach(i; 0 .. arr.length) {
auto prev = i < bpp ? 0 : arr[i - bpp];
arr[i] += cast(ubyte)
/*std.math.floor*/( cast(int) (prev + previousLine[i]) / 2);
}
return assumeUnique(arr);
case 4:
auto arr = data.dup;
foreach(i; 0 .. arr.length) {
ubyte prev = i < bpp ? 0 : arr[i - bpp];
ubyte prevLL = i < bpp ? 0 : previousLine[i - bpp];
arr[i] += PaethPredictor(prev, previousLine[i], prevLL);
}
return assumeUnique(arr);
default:
throw new Exception("invalid PNG file, bad filter type");
}
}
ubyte PaethPredictor(ubyte a, ubyte b, ubyte c) {
int p = cast(int) a + b - c;
auto pa = abs(p - a);
auto pb = abs(p - b);
auto pc = abs(p - c);
if(pa <= pb && pa <= pc)
return a;
if(pb <= pc)
return b;
return c;
}
int bytesPerPixel(PngHeader header) {
immutable bitsPerChannel = header.depth;
int bitsPerPixel = bitsPerChannel;
if(header.type & 2 && !(header.type & 1)) // in color, but no palette
bitsPerPixel *= 3;
if(header.type & 4) // has alpha channel
bitsPerPixel += bitsPerChannel;
return (bitsPerPixel + 7) / 8;
}
| D |
/**
Authors: Fr3nchK1ss on github
Copyright: public domain
*/
module dterrent.system;
public import dterrent.system.system,
dterrent.system.logger,
dterrent.system.sound,
dterrent.system.window;
| D |
<?xml version="1.0" encoding="ASCII"?>
<di:SashWindowsMngr xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.eclipse.org/papyrus/0.7.0/sashdi">
<pageList>
<availablePage>
<emfPageIdentifier href="model2.notation#_RPPowISTEeGnvL0yhCUK7w"/>
</availablePage>
</pageList>
<sashModel currentSelection="//@sashModel/@windows.0/@children.0">
<windows>
<children xsi:type="di:TabFolder"/>
</windows>
</sashModel>
</di:SashWindowsMngr>
| D |
instance DIA_VLK_6150_ORTEGO_EXIT(C_Info)
{
npc = vlk_6150_ortego;
nr = 999;
condition = dia_vlk_6150_ortego_exit_condition;
information = dia_vlk_6150_ortego_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_vlk_6150_ortego_exit_condition()
{
return TRUE;
};
func void dia_vlk_6150_ortego_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_VLK_6150_ORTEGO_HELLO(C_Info)
{
npc = vlk_6150_ortego;
nr = 5;
condition = dia_vlk_6150_ortego_hello_condition;
information = dia_vlk_6150_ortego_hello_info;
permanent = FALSE;
important = TRUE;
};
func int dia_vlk_6150_ortego_hello_condition()
{
if(MIS_KILLIGNAZ == LOG_Running)
{
return TRUE;
};
};
func void dia_vlk_6150_ortego_hello_info()
{
B_GivePlayerXP(200);
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_00"); //Konečně jsi přišel! Čekal jsem tu na tebe.
AI_Output(other,self,"DIA_VLK_6150_Ortego_Hello_01_01"); //Čekal jsi na mne?
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_02"); //Na tebe... Na koho jiného? I když jsem si tě představoval trochu jinak.
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_03"); //Ale lepší otázka - donesl jsi moje peníze?
AI_Output(other,self,"DIA_VLK_6150_Ortego_Hello_01_04"); //Jaké peníze?
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_05"); //Nerozumíš... (naštvaně) Máš mě za idiota?
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_06"); //Ty peníze, cos mi slíbil, za vraždu toho starého ubohého alchymisty.
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_07"); //(směje se) Ten ubožák nestihl ani pípnout, jak rychle byl mrtvý!
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_08"); //A teď čekám na svoje zlato, které jsi mi slíbil v dopise.
AI_Output(other,self,"DIA_VLK_6150_Ortego_Hello_01_11"); //Ty jsi někoho zabil?
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_12"); //(nechápavě) Co je s tebou chlape?! Nemluvím snad jasně? Anebo máš už poslední zbytky mozku utopené v pálence?!
AI_Output(other,self,"DIA_VLK_6150_Ortego_Hello_01_13"); //Já jsem úplně v pořádku, ale myslím, že nejsem ten, koho sháníš.
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_14"); //Co?! Hmmm... chceš mi říct, že jsem se zmýlil?
AI_Output(other,self,"DIA_VLK_6150_Ortego_Hello_01_15"); //Už to tak bude.
AI_Output(self,other,"DIA_VLK_6150_Ortego_Hello_01_16"); //Aha, tak to je mi všechno jasné. Počkej chvilku, všechno ti vysvětlím...
AI_StopProcessInfos(self);
B_Attack(self,other,AR_NONE,1);
};
| D |
module ddc.lexer.exceptions;
import std.conv;
class ParserException : Exception {
string _msg;
string _filename;
size_t _line;
size_t _pos;
public @property size_t line() { return _line; }
this(string msg, string filename, size_t line, size_t pos) {
super(msg ~ " at " ~ filename ~ " line " ~ to!string(line) ~ " column " ~ to!string(pos));
_msg = msg;
_filename = filename;
_line = line;
_pos = pos;
}
}
class LexerException : ParserException {
this(string msg, string filename, size_t line, size_t pos) {
super(msg, filename, line, pos);
}
}
class SourceEncodingException : LexerException {
this(string msg, string filename, size_t line, size_t pos) {
super(msg, filename, line, pos);
}
}
| D |
/*
* #7 NPCs practice sword training without a weapon
*
* Two test NPCs are spawned to perform the sword practice. One of them has a sword in their inventory, the other one
* doesn't. For technical reasons the hero will be locked and turning to one of the NPCs. It might be difficult to watch
* both of them.
*
* Expected behavior: One NPC will equip and draw their weapon to perform the practice. The other will stand still.
*/
const int G1CP_Test_007_Pass = 0;
func void G1CP_Test_007() {
if (!G1CP_TestsuiteAllowManual) {
return;
};
// Check if AI state exists
var int symbId; symbId = MEM_GetSymbolIndex("ZS_PracticeSword");
if (symbId == -1) {
G1CP_TestsuiteErrorDetail("AI state 'ZS_PracticeSword' not found");
return;
};
// Two passes
G1CP_Test_007_Pass = 0;
// Insert test NPC
var string wp; wp = Npc_GetNearestWP(hero);
Wld_InsertNpc(G1CP_Test_007_Npc, wp);
var C_Npc test; test = Hlp_GetNpc(G1CP_Test_007_Npc);
if (!Hlp_IsValidNpc(test)) {
G1CP_TestsuiteErrorDetail("Failed to insert NPC");
return;
};
// Second pass
Wld_InsertNpc(G1CP_Test_007_Npc, wp);
};
/*
* The actual test will run through the NPC's AI state (see below)
*/
instance G1CP_Test_007_Npc(C_Npc) {
name = "Test 7";
attribute[0] = 2;
attribute[1] = 2;
attribute[4] = 1000; // Enough strength to carry any weapon
attribute[5] = 1000; // Enough dexterity to carry any weapon
senses = 7;
senses_range = 2000;
start_aistate = ZS_G1CP_Test_007_NpcRountine;
Mdl_SetVisual(self, "HUMANS.MDS");
Mdl_SetVisualBody(self, "HUM_BODY_NAKED0", 1, 1, "Hum_Head_Fighter", 1, 1, -1);
EquipItem(self, MEM_GetSymbolIndex("ItRw_Bow_Small_01")); // Should not be used to practice
};
/*
* AI state is stared once the NPC is properly inserted
*/
func void ZS_G1CP_Test_007_NpcRountine() {};
func int ZS_G1CP_Test_007_NpcRountine_Loop() {
// First pass: Trigger the script
if (Npc_GetStateTime(self) <= 1) {
// Only add the item now (spawn would have auto-equipped the sword)
// One of the two NPCs has a weapon
if (G1CP_Test_007_Pass == 1) {
CreateInvItem(self, MEM_GetSymbolIndex("Scars_Schwert"));
};
G1CP_Test_007_Pass += 1;
// Trigger the AI state
var int symbId; symbId = MEM_GetSymbolIndex("ZS_PracticeSword");
if (symbId != -1) {
// AI_StartState(self, symbId, 0, ""); // Does not work, expects func parameter
MEM_PushInstParam(self);
MEM_PushIntParam(symbId); // Func parameter as integer
MEM_PushIntParam(0);
MEM_PushStringParam("");
MEM_Call(AI_StartState);
// Somehow needs to end
AI_TurnToNpc(hero, self);
AI_Wait(hero, 5);
AI_Function(hero, G1CP_Test_007_Success);
} else {
// Send to zSpy directly here because it is after the test has finished
MEM_SendToSpy(zERR_TYPE_FAULT, " Test 7: AI state 'ZS_PracticeSword' not found");
};
return 1;
};
};
func void G1CP_Test_007_NpcRemove() {
// Delete the NPC once finished
MEM_WriteInt(_@(self.bodymass)+8, 0); // Clear start_aistate
AI_Function_I(hero, Wld_RemoveNpc, G1CP_Test_007_Npc);
};
func void G1CP_Test_007_Success() {
Print(ConcatStrings(ConcatStrings("Test 7 passed (PART ", IntToString(G1CP_Test_007_Pass-1)), " of 2)"));
G1CP_Test_007_NpcRemove();
G1CP_Test_007_Pass += 1;
};
func void ZS_G1CP_Test_007_NpcRountine_End() {
Print(ConcatStrings(ConcatStrings("Test 7 failed (PART ", IntToString(G1CP_Test_007_Pass-1)), " of 2)"));
G1CP_Test_007_NpcRemove();
G1CP_Test_007_Pass += 1;
};
| D |
// Copyright Brian Schott (Hackerpilot) 2014.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
module symbol_finder;
import std.stdio : File;
import dparse.lexer;
import dparse.parser;
import dparse.ast;
import dparse.rollback_allocator;
import std.stdio;
import std.file : isFile;
import std.functional : toDelegate;
void findDeclarationOf(File output, string symbolName, string[] fileNames)
{
import std.array : uninitializedArray, array;
import std.conv : to;
LexerConfig config;
StringCache cache = StringCache(StringCache.defaultBucketCount);
auto visitor = new FinderVisitor(output, symbolName);
foreach (fileName; fileNames)
{
File f = fileName == "stdin" ? std.stdio.stdin : File(fileName);
assert(fileName == "stdin" || isFile(fileName));
if (f.size == 0)
continue;
auto bytes = uninitializedArray!(ubyte[])(to!size_t(f.size));
f.rawRead(bytes);
auto tokens = getTokensForParser(bytes, config, &cache);
RollbackAllocator rba;
Module m = parseModule(tokens.array, fileName, &rba, toDelegate(&doNothing));
visitor.fileName = fileName;
visitor.visit(m);
}
}
private:
void doNothing(string, size_t, size_t, string, bool)
{
}
class FinderVisitor : ASTVisitor
{
this(File output, string symbolName)
{
this.output = output;
this.symbolName = symbolName;
}
mixin generateVisit!FunctionDeclaration;
mixin generateVisit!ClassDeclaration;
mixin generateVisit!InterfaceDeclaration;
mixin generateVisit!StructDeclaration;
mixin generateVisit!UnionDeclaration;
mixin generateVisit!TemplateDeclaration;
override void visit(const EnumDeclaration dec)
{
if (dec.name.text == symbolName)
output.writefln("%s(%d:%d)", fileName, dec.name.line, dec.name.column);
}
override void visit(const AnonymousEnumMember member)
{
if (member.name.text == symbolName)
output.writefln("%s(%d:%d)", fileName, member.name.line, member.name.column);
}
override void visit(const EnumMember member)
{
if (member.name.text == symbolName)
output.writefln("%s(%d:%d)", fileName, member.name.line, member.name.column);
}
override void visit(const AliasDeclaration dec)
{
if (dec.identifierList !is null)
{
foreach (ident; dec.identifierList.identifiers)
{
if (ident.text == symbolName)
output.writefln("%s(%d:%d)", fileName, ident.line, ident.column);
}
}
foreach (initializer; dec.initializers)
{
if (initializer.name.text == symbolName)
output.writefln("%s(%d:%d)", fileName, initializer.name.line,
initializer.name.column);
}
}
override void visit(const Declarator dec)
{
if (dec.name.text == symbolName)
output.writefln("%s(%d:%d)", fileName, dec.name.line, dec.name.column);
}
override void visit(const AutoDeclaration ad)
{
foreach (part; ad.parts)
{
if (part.identifier.text == symbolName)
output.writefln("%s(%d:%d)", fileName, part.identifier.line, part.identifier.column);
}
}
override void visit(const FunctionBody)
{
}
mixin template generateVisit(T)
{
override void visit(const T t)
{
if (t.name.text == symbolName)
output.writefln("%s(%d:%d)", fileName, t.name.line, t.name.column);
t.accept(this);
}
}
alias visit = ASTVisitor.visit;
File output;
string symbolName;
string fileName;
}
| D |
/*
chikoko - easy calculation
Copyright (C) 2007 Tomasz Polachowski, sprytnyserek@gmail.com
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
*/
/**
* Funkcje rozwiązujące równania z formami kwadratowymi różnymi metodami.
*
* Author: Tomasz Polachowski, $(LINK2 mailto:sprytnyserek@gmail.com,sprytnyserek@gmail.com)
* License: GNU General Public License 2.0, $(LINK http://www.fsf.org/licensing/licenses/gpl.html)
* Version: 0.0.1
*/
module lattice.solver;
//private import lattice.reprezentation;
private import std.math;
/**
* Sprawdza typ Sylvestera (określoność) formy kwadratowej
* reprezentowanej przez macierz symetryczną (ale macierz wejściowa
* jest traktowana jak macierz dolnotrójkątna) z użyciem
* zmodyfikowanej eliminacji Gaussa.
*
* Params:
* bq = dolnotrójkątna macierz Grama formy kwadratowej
* Returns: kod określoności formy kwadratowej:$(BR)
* $(B -2) - forma ujemnie określona, $(BR)
* $(B -1) - forma niedodatnio określona, $(BR)
* $(B 0) - $(B$(RED forma nieokreślona)), $(BR)
* $(B 1) - forma nieujemnie określona, $(BR)
* $(B 2) - forma dodatnio określona.
*/
byte getSylvesterType(long[][] bq) {
uint n = bq.length;
double[][] m;
uint i,j;
byte r = 2; //typ Sylvestera
m.length = n;
for (i = 0; i < n; i++) {
m[i].length = i + 1;
for (j = 0; j <= i; j++) {
m[i][j] = bq[i][j];
}
}
for (i = 0; i < n; i++) {
if (i == 0) {
if (m[0][0] == 0) r = 1;
if (m[0][0] < 0) r = -2;
}
else {
if (m[i][i] < 0) return 0;
if ((m[i][i] == 0) && (abs(cast(int)r) == 2)) r /= 2;
}
if (m[i][i] == 0) {
/* przewartościowanie minora na pomocą operacji elementarnej
* niezmienniczej względem wyznacznika całej macierzy;
* ta operacja zmienia minory(!), ale jest wykonywana tylko w przypadku
* wykluczenia dodatniej i ujemnej określoności */
/* powtórzenie testu na określoność ze względu na modyfikację minora */
}
}
return r;
}
byte getDynkinType(float[][] bq) {
byte r = 0;
return r;
}
| D |
/**
* Compiler implementation of the
* $(LINK2 http://www.dlang.org, D programming language).
*
* Copyright: Copyright (C) 1985-1998 by Symantec
* Copyright (C) 2000-2020 by The D Language Foundation, All Rights Reserved
* Authors: $(LINK2 http://www.digitalmars.com, Walter Bright)
* License: $(LINK2 http://www.boost.org/LICENSE_1_0.txt, Boost License 1.0)
* Source: $(LINK2 https://github.com/dlang/dmd/blob/master/src/dmd/backend/cgcod.d, backend/cgcod.d)
* Coverage: https://codecov.io/gh/dlang/dmd/src/master/src/dmd/backend/cgcod.d
*/
module dmd.backend.cgcod;
version = FRAMEPTR;
version (SCPP)
version = COMPILE;
version (MARS)
version = COMPILE;
version (COMPILE)
{
import core.stdc.stdio;
import core.stdc.stdlib;
import core.stdc.string;
import dmd.backend.backend;
import dmd.backend.cc;
import dmd.backend.cdef;
import dmd.backend.code;
import dmd.backend.cgcse;
import dmd.backend.code_x86;
import dmd.backend.codebuilder;
import dmd.backend.dlist;
import dmd.backend.dvec;
import dmd.backend.melf;
import dmd.backend.mem;
import dmd.backend.el;
import dmd.backend.exh;
import dmd.backend.global;
import dmd.backend.obj;
import dmd.backend.oper;
import dmd.backend.outbuf;
import dmd.backend.rtlsym;
import dmd.backend.ty;
import dmd.backend.type;
import dmd.backend.xmm;
import dmd.backend.barray;
version (SCPP)
{
import parser;
import precomp;
}
extern (C++):
nothrow:
alias _compare_fp_t = extern(C) nothrow int function(const void*, const void*);
extern(C) void qsort(void* base, size_t nmemb, size_t size, _compare_fp_t compar);
version (MARS)
enum MARS = true;
else
enum MARS = false;
void dwarf_except_gentables(Funcsym *sfunc, uint startoffset, uint retoffset);
int REGSIZE();
private extern (D) uint mask(uint m) { return 1 << m; }
__gshared
{
bool floatreg; // !=0 if floating register is required
int hasframe; // !=0 if this function has a stack frame
bool enforcealign; // enforced stack alignment
targ_size_t spoff;
targ_size_t Foff; // BP offset of floating register
targ_size_t CSoff; // offset of common sub expressions
targ_size_t NDPoff; // offset of saved 8087 registers
targ_size_t pushoff; // offset of saved registers
bool pushoffuse; // using pushoff
int BPoff; // offset from BP
int EBPtoESP; // add to EBP offset to get ESP offset
LocalSection Para; // section of function parameters
LocalSection Auto; // section of automatics and registers
LocalSection Fast; // section of fastpar
LocalSection EEStack; // offset of SCstack variables from ESP
LocalSection Alloca; // data for alloca() temporary
REGSAVE regsave;
CGstate cgstate; // state of code generator
regm_t BYTEREGS = BYTEREGS_INIT;
regm_t ALLREGS = ALLREGS_INIT;
/************************************
* # of bytes that SP is beyond BP.
*/
uint stackpush;
int stackchanged; /* set to !=0 if any use of the stack
other than accessing parameters. Used
to see if we can address parameters
with ESP rather than EBP.
*/
int refparam; // !=0 if we referenced any parameters
int reflocal; // !=0 if we referenced any locals
bool anyiasm; // !=0 if any inline assembler
char calledafunc; // !=0 if we called a function
char needframe; // if true, then we will need the frame
// pointer (BP for the 8088)
char gotref; // !=0 if the GOTsym was referenced
uint usednteh; // if !=0, then used NT exception handling
bool calledFinally; // true if called a BC_finally block
/* Register contents */
con_t regcon;
int pass; // PASSxxxx
private Symbol *retsym; // set to symbol that should be placed in
// register AX
/****************************
* Register masks.
*/
regm_t msavereg; // Mask of registers that we would like to save.
// they are temporaries (set by scodelem())
regm_t mfuncreg; // Mask of registers preserved by a function
regm_t allregs; // ALLREGS optionally including mBP
int dfoidx; /* which block we are in */
targ_size_t funcoffset; // offset of start of function
targ_size_t prolog_allocoffset; // offset past adj of stack allocation
targ_size_t startoffset; // size of function entry code
targ_size_t retoffset; /* offset from start of func to ret code */
targ_size_t retsize; /* size of function return */
private regm_t lastretregs,last2retregs,last3retregs,last4retregs,last5retregs;
}
/*********************************
* Generate code for a function.
* Note at the end of this routine mfuncreg will contain the mask
* of registers not affected by the function. Some minor optimization
* possibilities are here.
* Params:
* sfunc = function to generate code for
*/
void codgen(Symbol *sfunc)
{
bool flag;
block *btry;
// Register usage. If a bit is on, the corresponding register is live
// in that basic block.
//printf("codgen('%s')\n",funcsym_p.Sident.ptr);
assert(sfunc == funcsym_p);
assert(cseg == funcsym_p.Sseg);
cgreg_init();
CSE.initialize();
tym_t functy = tybasic(sfunc.ty());
cod3_initregs();
allregs = ALLREGS;
pass = PASSinitial;
Alloca.init();
anyiasm = 0;
if (config.ehmethod == EHmethod.EH_DWARF)
{
/* The dwarf unwinder relies on the function epilog to exist
*/
for (block* b = startblock; b; b = b.Bnext)
{
if (b.BC == BCexit)
b.BC = BCret;
}
}
tryagain:
debug
if (debugr)
printf("------------------ PASS%s -----------------\n",
(pass == PASSinitial) ? "init".ptr : ((pass == PASSreg) ? "reg".ptr : "final".ptr));
lastretregs = last2retregs = last3retregs = last4retregs = last5retregs = 0;
// if no parameters, assume we don't need a stack frame
needframe = 0;
enforcealign = false;
gotref = 0;
stackchanged = 0;
stackpush = 0;
refparam = 0;
calledafunc = 0;
retsym = null;
cgstate.stackclean = 1;
cgstate.funcarg.init();
cgstate.funcargtos = ~0;
cgstate.accessedTLS = false;
STACKALIGN = TARGET_STACKALIGN;
regsave.reset();
memset(global87.stack.ptr,0,global87.stack.sizeof);
calledFinally = false;
usednteh = 0;
static if (MARS && TARGET_WINDOS)
{
if (sfunc.Sfunc.Fflags3 & Fjmonitor)
usednteh |= NTEHjmonitor;
}
else version (SCPP)
{
if (CPP)
{
if (config.exe == EX_WIN32 &&
(sfunc.Stype.Tflags & TFemptyexc || sfunc.Stype.Texcspec))
usednteh |= NTEHexcspec;
except_reset();
}
}
// Set on a trial basis, turning it off if anything might throw
sfunc.Sfunc.Fflags3 |= Fnothrow;
floatreg = false;
assert(global87.stackused == 0); /* nobody in 8087 stack */
CSE.start();
memset(®con,0,regcon.sizeof);
regcon.cse.mval = regcon.cse.mops = 0; // no common subs yet
msavereg = 0;
uint nretblocks = 0;
mfuncreg = fregsaved; // so we can see which are used
// (bit is cleared each time
// we use one)
for (block* b = startblock; b; b = b.Bnext)
{
memset(&b.Bregcon,0,b.Bregcon.sizeof); // Clear out values in registers
if (b.Belem)
resetEcomsub(b.Belem); // reset all the Ecomsubs
if (b.BC == BCasm)
anyiasm = 1; // we have inline assembler
if (b.BC == BCret || b.BC == BCretexp)
nretblocks++;
}
if (!config.fulltypes || (config.flags4 & CFG4optimized))
{
regm_t noparams = 0;
for (int i = 0; i < globsym.top; i++)
{
Symbol *s = globsym.tab[i];
s.Sflags &= ~SFLread;
switch (s.Sclass)
{
case SCfastpar:
case SCshadowreg:
regcon.params |= s.Spregm();
goto case SCparameter;
case SCparameter:
if (s.Sfl == FLreg)
noparams |= s.Sregm;
break;
default:
break;
}
}
regcon.params &= ~noparams;
}
if (config.flags4 & CFG4optimized)
{
if (nretblocks == 0 && // if no return blocks in function
!(sfunc.ty() & mTYnaked)) // naked functions may have hidden veys of returning
sfunc.Sflags |= SFLexit; // mark function as never returning
assert(dfo);
cgreg_reset();
for (dfoidx = 0; dfoidx < dfo.length; dfoidx++)
{
regcon.used = msavereg | regcon.cse.mval; // registers already in use
block* b = dfo[dfoidx];
blcodgen(b); // gen code in depth-first order
//printf("b.Bregcon.used = %s\n", regm_str(b.Bregcon.used));
cgreg_used(dfoidx, b.Bregcon.used); // gather register used information
}
}
else
{
pass = PASSfinal;
for (block* b = startblock; b; b = b.Bnext)
blcodgen(b); // generate the code for each block
}
regcon.immed.mval = 0;
assert(!regcon.cse.mops); // should have all been used
// See which variables we can put into registers
if (pass != PASSfinal &&
!anyiasm) // possible LEA or LES opcodes
{
allregs |= cod3_useBP(); // see if we can use EBP
// If pic code, but EBX was never needed
if (!(allregs & mask(PICREG)) && !gotref)
{
allregs |= mask(PICREG); // EBX can now be used
cgreg_assign(retsym);
pass = PASSreg;
}
else if (cgreg_assign(retsym)) // if we found some registers
pass = PASSreg;
else
pass = PASSfinal;
for (block* b = startblock; b; b = b.Bnext)
{
code_free(b.Bcode);
b.Bcode = null;
}
goto tryagain;
}
cgreg_term();
version (SCPP)
{
if (CPP)
cgcod_eh();
}
// See if we need to enforce a particular stack alignment
foreach (i; 0 .. globsym.top)
{
Symbol *s = globsym.tab[i];
if (Symbol_Sisdead(s, anyiasm))
continue;
switch (s.Sclass)
{
case SCregister:
case SCauto:
case SCfastpar:
if (s.Sfl == FLreg)
break;
const sz = type_alignsize(s.Stype);
if (sz > STACKALIGN && (I64 || config.exe == EX_OSX))
{
STACKALIGN = sz;
enforcealign = true;
}
break;
default:
break;
}
}
stackoffsets(1); // compute addresses of stack variables
cod5_prol_epi(); // see where to place prolog/epilog
CSE.finish(); // compute addresses and sizes of CSE saves
if (configv.addlinenumbers)
objmod.linnum(sfunc.Sfunc.Fstartline,sfunc.Sseg,Offset(sfunc.Sseg));
// Otherwise, jmp's to startblock will execute the prolog again
assert(!startblock.Bpred);
CodeBuilder cdbprolog; cdbprolog.ctor();
prolog(cdbprolog); // gen function start code
code *cprolog = cdbprolog.finish();
if (cprolog)
pinholeopt(cprolog,null); // optimize
funcoffset = Offset(sfunc.Sseg);
targ_size_t coffset = Offset(sfunc.Sseg);
if (eecontext.EEelem)
genEEcode();
for (block* b = startblock; b; b = b.Bnext)
{
// We couldn't do this before because localsize was unknown
switch (b.BC)
{
case BCret:
if (configv.addlinenumbers && b.Bsrcpos.Slinnum && !(sfunc.ty() & mTYnaked))
{
CodeBuilder cdb; cdb.ctor();
cdb.append(b.Bcode);
cdb.genlinnum(b.Bsrcpos);
b.Bcode = cdb.finish();
}
goto case BCretexp;
case BCretexp:
epilog(b);
break;
default:
if (b.Bflags & BFLepilog)
epilog(b);
break;
}
assignaddr(b); // assign addresses
pinholeopt(b.Bcode,b); // do pinhole optimization
if (b.Bflags & BFLprolog) // do function prolog
{
startoffset = coffset + calcblksize(cprolog) - funcoffset;
b.Bcode = cat(cprolog,b.Bcode);
}
cgsched_block(b);
b.Bsize = calcblksize(b.Bcode); // calculate block size
if (b.Balign)
{
targ_size_t u = b.Balign - 1;
coffset = (coffset + u) & ~u;
}
b.Boffset = coffset; /* offset of this block */
coffset += b.Bsize; /* offset of following block */
}
debug
debugw && printf("code addr complete\n");
// Do jump optimization
do
{
flag = false;
for (block* b = startblock; b; b = b.Bnext)
{
if (b.Bflags & BFLjmpoptdone) /* if no more jmp opts for this blk */
continue;
int i = branch(b,0); // see if jmp => jmp short
if (i) // if any bytes saved
{ targ_size_t offset;
b.Bsize -= i;
offset = b.Boffset + b.Bsize;
for (block* bn = b.Bnext; bn; bn = bn.Bnext)
{
if (bn.Balign)
{ targ_size_t u = bn.Balign - 1;
offset = (offset + u) & ~u;
}
bn.Boffset = offset;
offset += bn.Bsize;
}
coffset = offset;
flag = true;
}
}
if (!I16 && !(config.flags4 & CFG4optimized))
break; // use the long conditional jmps
} while (flag); // loop till no more bytes saved
debug
debugw && printf("code jump optimization complete\n");
version (MARS)
{
if (usednteh & NTEH_try)
{
// Do this before code is emitted because we patch some instructions
nteh_filltables();
}
}
// Compute starting offset for switch tables
targ_size_t swoffset;
int jmpseg = -1;
if (config.flags & CFGromable)
{
jmpseg = 0;
swoffset = coffset;
}
// Emit the generated code
if (eecontext.EEcompile == 1)
{
codout(sfunc.Sseg,eecontext.EEcode);
code_free(eecontext.EEcode);
version (SCPP)
{
el_free(eecontext.EEelem);
}
}
else
{
for (block* b = startblock; b; b = b.Bnext)
{
if (b.BC == BCjmptab || b.BC == BCswitch)
{
if (jmpseg == -1)
{
jmpseg = objmod.jmpTableSegment(sfunc);
swoffset = Offset(jmpseg);
}
swoffset = _align(0,swoffset);
b.Btableoffset = swoffset; /* offset of sw tab */
swoffset += b.Btablesize;
}
jmpaddr(b.Bcode); /* assign jump addresses */
debug
if (debugc)
{
printf("Boffset = x%x, Bsize = x%x, Coffset = x%x\n",
cast(int)b.Boffset,cast(int)b.Bsize,cast(int)Offset(sfunc.Sseg));
if (b.Bcode)
printf( "First opcode of block is: %0x\n", b.Bcode.Iop );
}
if (b.Balign)
{ uint u = b.Balign;
uint nalign = (u - cast(uint)Offset(sfunc.Sseg)) & (u - 1);
cod3_align_bytes(sfunc.Sseg, nalign);
}
assert(b.Boffset == Offset(sfunc.Sseg));
version (SCPP)
{
if (CPP && !(config.exe == EX_WIN32))
{
//printf("b = %p, index = %d\n",b,b.Bindex);
//except_index_set(b.Bindex);
if (btry != b.Btry)
{
btry = b.Btry;
except_pair_setoffset(b,Offset(sfunc.Sseg) - funcoffset);
}
if (b.BC == BCtry)
{
btry = b;
except_pair_setoffset(b,Offset(sfunc.Sseg) - funcoffset);
}
}
}
codout(sfunc.Sseg,b.Bcode); // output code
}
if (coffset != Offset(sfunc.Sseg))
{
debug
printf("coffset = %d, Offset(sfunc.Sseg) = %d\n",cast(int)coffset,cast(int)Offset(sfunc.Sseg));
assert(0);
}
sfunc.Ssize = Offset(sfunc.Sseg) - funcoffset; // size of function
static if (NTEXCEPTIONS || MARS)
{
version (MARS)
const nteh = usednteh & NTEH_try;
else static if (NTEXCEPTIONS)
const nteh = usednteh & NTEHcpp;
else
enum nteh = true;
if (nteh)
{
assert(!(config.flags & CFGromable));
//printf("framehandleroffset = x%x, coffset = x%x\n",framehandleroffset,coffset);
objmod.reftocodeseg(sfunc.Sseg,framehandleroffset,coffset);
}
}
// Write out switch tables
flag = false; // true if last active block was a ret
for (block* b = startblock; b; b = b.Bnext)
{
switch (b.BC)
{
case BCjmptab: /* if jump table */
outjmptab(b); /* write out jump table */
goto Ldefault;
case BCswitch:
outswitab(b); /* write out switch table */
goto Ldefault;
case BCret:
case BCretexp:
/* Compute offset to return code from start of function */
retoffset = b.Boffset + b.Bsize - retsize - funcoffset;
version (MARS)
{
/* Add 3 bytes to retoffset in case we have an exception
* handler. THIS PROBABLY NEEDS TO BE IN ANOTHER SPOT BUT
* IT FIXES THE PROBLEM HERE AS WELL.
*/
if (usednteh & NTEH_try)
retoffset += 3;
}
flag = true;
break;
default:
Ldefault:
retoffset = b.Boffset + b.Bsize - funcoffset;
break;
}
}
if (configv.addlinenumbers && !(sfunc.ty() & mTYnaked))
/* put line number at end of function on the
start of the last instruction
*/
/* Instead, try offset to cleanup code */
if (retoffset < sfunc.Ssize)
objmod.linnum(sfunc.Sfunc.Fendline,sfunc.Sseg,funcoffset + retoffset);
static if (TARGET_WINDOS && MARS)
{
if (config.exe == EX_WIN64)
win64_pdata(sfunc);
}
static if (MARS)
{
if (usednteh & NTEH_try)
{
// Do this before code is emitted because we patch some instructions
nteh_gentables(sfunc);
}
if (usednteh & EHtry && // saw BCtry or BC_try (test EHcleanup too?)
config.ehmethod == EHmethod.EH_DM)
{
except_gentables();
}
if (config.ehmethod == EHmethod.EH_DWARF)
{
sfunc.Sfunc.Fstartblock = startblock;
dwarf_except_gentables(sfunc, cast(uint)startoffset, cast(uint)retoffset);
sfunc.Sfunc.Fstartblock = null;
}
}
version (SCPP)
{
// Write out frame handler
if (NTEXCEPTIONS && usednteh & NTEHcpp)
{
nteh_framehandler(sfunc, except_gentables());
}
else
{
if (NTEXCEPTIONS && usednteh & NTEH_try)
{
nteh_gentables(sfunc);
}
else
{
if (CPP)
except_gentables();
}
}
}
for (block* b = startblock; b; b = b.Bnext)
{
code_free(b.Bcode);
b.Bcode = null;
}
}
// Mask of regs saved
// BUG: do interrupt functions save BP?
sfunc.Sregsaved = (functy == TYifunc) ? cast(regm_t) mBP : (mfuncreg | fregsaved);
debug
if (global87.stackused != 0)
printf("stackused = %d\n",global87.stackused);
assert(global87.stackused == 0); /* nobody in 8087 stack */
global87.save.__dtor(); // clean up ndp save array
}
/*********************************************
* Align sections on the stack.
* base negative offset of section from frame pointer
* alignment alignment to use
* bias difference between where frame pointer points and the STACKALIGNed
* part of the stack
* Returns:
* base revised downward so it is aligned
*/
targ_size_t alignsection(targ_size_t base, uint alignment, int bias)
{
assert(cast(int)base <= 0);
if (alignment > STACKALIGN)
alignment = STACKALIGN;
if (alignment)
{
int sz = cast(int)(-base + bias);
assert(sz >= 0);
sz &= (alignment - 1);
if (sz)
base -= alignment - sz;
}
return base;
}
/*******************************
* Generate code for a function start.
* Input:
* Offset(cseg) address of start of code
* Auto.alignment
* Output:
* Offset(cseg) adjusted for size of code generated
* EBPtoESP
* hasframe
* BPoff
*/
void prolog(ref CodeBuilder cdb)
{
bool enter;
//printf("cod3.prolog() %s, needframe = %d, Auto.alignment = %d\n", funcsym_p.Sident, needframe, Auto.alignment);
debug debugw && printf("funcstart()\n");
regcon.immed.mval = 0; /* no values in registers yet */
version (FRAMEPTR)
EBPtoESP = 0;
else
EBPtoESP = -REGSIZE;
hasframe = 0;
bool pushds = false;
BPoff = 0;
bool pushalloc = false;
tym_t tyf = funcsym_p.ty();
tym_t tym = tybasic(tyf);
uint farfunc = tyfarfunc(tym);
// Special Intel 64 bit ABI prolog setup for variadic functions
Symbol *sv64 = null; // set to __va_argsave
if (I64 && variadic(funcsym_p.Stype))
{
/* The Intel 64 bit ABI scheme.
* abi_sysV_amd64.pdf
* Load arguments passed in registers into the varargs save area
* so they can be accessed by va_arg().
*/
/* Look for __va_argsave
*/
for (SYMIDX si = 0; si < globsym.top; si++)
{
Symbol *s = globsym.tab[si];
if (s.Sident[0] == '_' && strcmp(s.Sident.ptr, "__va_argsave") == 0)
{
if (!(s.Sflags & SFLdead))
sv64 = s;
break;
}
}
}
if (config.flags & CFGalwaysframe ||
funcsym_p.Sfunc.Fflags3 & Ffakeeh ||
/* The exception stack unwinding mechanism relies on the EBP chain being intact,
* so need frame if function can possibly throw
*/
!(config.exe == EX_WIN32) && !(funcsym_p.Sfunc.Fflags3 & Fnothrow) ||
cgstate.accessedTLS ||
sv64
)
needframe = 1;
CodeBuilder cdbx; cdbx.ctor();
Lagain:
spoff = 0;
char guessneedframe = needframe;
int cfa_offset = 0;
// if (needframe && config.exe & (EX_LINUX | EX_FREEBSD | EX_SOLARIS) && !(usednteh & (NTEH_try | NTEH_except | NTEHcpp | EHcleanup | EHtry | NTEHpassthru)))
// usednteh |= NTEHpassthru;
/* Compute BP offsets for variables on stack.
* The organization is:
* Para.size parameters
* -------- stack is aligned to STACKALIGN
* seg of return addr (if far function)
* IP of return addr
* BP. caller's BP
* DS (if Windows prolog/epilog)
* exception handling context symbol
* Fast.size fastpar
* Auto.size autos and regs
* regsave.off any saved registers
* Foff floating register
* Alloca.size alloca temporary
* CSoff common subs
* NDPoff any 8087 saved registers
* monitor context record
* any saved registers
*/
if (tym == TYifunc)
Para.size = 26; // how is this number derived?
else
{
version (FRAMEPTR)
{
Para.size = ((farfunc ? 2 : 1) + needframe) * REGSIZE;
if (needframe)
EBPtoESP = -REGSIZE;
}
else
Para.size = ((farfunc ? 2 : 1) + 1) * REGSIZE;
}
/* The real reason for the FAST section is because the implementation of contracts
* requires a consistent stack frame location for the 'this' pointer. But if varying
* stuff in Auto.offset causes different alignment for that section, the entire block can
* shift around, causing a crash in the contracts.
* Fortunately, the 'this' is always an SCfastpar, so we put the fastpar's in their
* own FAST section, which is never aligned at a size bigger than REGSIZE, and so
* its alignment never shifts around.
* But more work needs to be done, see Bugzilla 9200. Really, each section should be aligned
* individually rather than as a group.
*/
Fast.size = 0;
static if (NTEXCEPTIONS == 2)
{
Fast.size -= nteh_contextsym_size();
version (MARS)
{
static if (TARGET_WINDOS)
{
if (funcsym_p.Sfunc.Fflags3 & Ffakeeh && nteh_contextsym_size() == 0)
Fast.size -= 5 * 4;
}
}
}
/* Despite what the comment above says, aligning Fast section to size greater
* than REGSIZE does not break contract implementation. Fast.offset and
* Fast.alignment must be the same for the overriding and
* the overridden function, since they have the same parameters. Fast.size
* must be the same because otherwise, contract inheritance wouldn't work
* even if we didn't align Fast section to size greater than REGSIZE. Therefore,
* the only way aligning the section could cause problems with contract
* inheritance is if bias (declared below) differed for the overridden
* and the overriding function.
*
* Bias depends on Para.size and needframe. The value of Para.size depends on
* whether the function is an interrupt handler and whether it is a farfunc.
* DMD does not have _interrupt attribute and D does not make a distinction
* between near and far functions, so Para.size should always be 2 * REGSIZE
* for D.
*
* The value of needframe depends on a global setting that is only set
* during backend's initialization and on function flag Ffakeeh. On Windows,
* that flag is always set for virtual functions, for which contracts are
* defined and on other platforms, it is never set. Because of that
* the value of neadframe should always be the same for the overridden
* and the overriding function, and so bias should be the same too.
*/
version (FRAMEPTR)
int bias = enforcealign ? 0 : cast(int)(Para.size);
else
int bias = enforcealign ? 0 : cast(int)(Para.size + (needframe ? 0 : REGSIZE));
if (Fast.alignment < REGSIZE)
Fast.alignment = REGSIZE;
Fast.size = alignsection(Fast.size - Fast.offset, Fast.alignment, bias);
if (Auto.alignment < REGSIZE)
Auto.alignment = REGSIZE; // necessary because localsize must be REGSIZE aligned
Auto.size = alignsection(Fast.size - Auto.offset, Auto.alignment, bias);
regsave.off = alignsection(Auto.size - regsave.top, regsave.alignment, bias);
//printf("regsave.off = x%x, size = x%x, alignment = %x\n",
//cast(int)regsave.off, cast(int)(regsave.top), cast(int)regsave.alignment);
if (floatreg)
{
uint floatregsize = config.fpxmmregs || I32 ? 16 : DOUBLESIZE;
Foff = alignsection(regsave.off - floatregsize, STACKALIGN, bias);
//printf("Foff = x%x, size = x%x\n", cast(int)Foff, cast(int)floatregsize);
}
else
Foff = regsave.off;
Alloca.alignment = REGSIZE;
Alloca.offset = alignsection(Foff - Alloca.size, Alloca.alignment, bias);
CSoff = alignsection(Alloca.offset - CSE.size(), CSE.alignment(), bias);
//printf("CSoff = x%x, size = x%x, alignment = %x\n",
//cast(int)CSoff, CSE.size(), cast(int)CSE.alignment);
NDPoff = alignsection(CSoff - global87.save.length * tysize(TYldouble), REGSIZE, bias);
regm_t topush = fregsaved & ~mfuncreg; // mask of registers that need saving
pushoffuse = false;
pushoff = NDPoff;
/* We don't keep track of all the pushes and pops in a function. Hence,
* using POP REG to restore registers in the epilog doesn't work, because the Dwarf unwinder
* won't be setting ESP correctly. With pushoffuse, the registers are restored
* from EBP, which is kept track of properly.
*/
if ((config.flags4 & CFG4speed || config.ehmethod == EHmethod.EH_DWARF) && (I32 || I64))
{
/* Instead of pushing the registers onto the stack one by one,
* allocate space in the stack frame and copy/restore them there.
*/
int xmmtopush = numbitsset(topush & XMMREGS); // XMM regs take 16 bytes
int gptopush = numbitsset(topush) - xmmtopush; // general purpose registers to save
if (NDPoff || xmmtopush || cgstate.funcarg.size)
{
pushoff = alignsection(pushoff - (gptopush * REGSIZE + xmmtopush * 16),
xmmtopush ? STACKALIGN : REGSIZE, bias);
pushoffuse = true; // tell others we're using this strategy
}
}
//printf("Fast.size = x%x, Auto.size = x%x\n", (int)Fast.size, (int)Auto.size);
cgstate.funcarg.alignment = cgstate.funcarg.size ? STACKALIGN : REGSIZE;
cgstate.funcarg.offset = alignsection(pushoff - cgstate.funcarg.size, cgstate.funcarg.alignment, bias);
localsize = -cgstate.funcarg.offset;
//printf("Alloca.offset = x%llx, cstop = x%llx, CSoff = x%llx, NDPoff = x%llx, localsize = x%llx\n",
//(long long)Alloca.offset, (long long)CSE.size(), (long long)CSoff, (long long)NDPoff, (long long)localsize);
assert(cast(targ_ptrdiff_t)localsize >= 0);
// Keep the stack aligned by 8 for any subsequent function calls
if (!I16 && calledafunc &&
(STACKALIGN >= 16 || config.flags4 & CFG4stackalign))
{
int npush = numbitsset(topush); // number of registers that need saving
npush += numbitsset(topush & XMMREGS); // XMM regs take 16 bytes, so count them twice
if (pushoffuse)
npush = 0;
//printf("npush = %d Para.size = x%x needframe = %d localsize = x%x\n",
//npush, Para.size, needframe, localsize);
int sz = cast(int)(localsize + npush * REGSIZE);
if (!enforcealign)
{
version (FRAMEPTR)
sz += Para.size;
else
sz += Para.size + (needframe ? 0 : -REGSIZE);
}
if (sz & (STACKALIGN - 1))
localsize += STACKALIGN - (sz & (STACKALIGN - 1));
}
cgstate.funcarg.offset = -localsize;
//printf("Foff x%02x Auto.size x%02x NDPoff x%02x CSoff x%02x Para.size x%02x localsize x%02x\n",
//(int)Foff,(int)Auto.size,(int)NDPoff,(int)CSoff,(int)Para.size,(int)localsize);
uint xlocalsize = cast(uint)localsize; // amount to subtract from ESP to make room for locals
if (tyf & mTYnaked) // if no prolog/epilog for function
{
hasframe = 1;
return;
}
if (tym == TYifunc)
{
prolog_ifunc(cdbx,&tyf);
hasframe = 1;
cdb.append(cdbx);
goto Lcont;
}
/* Determine if we need BP set up */
if (enforcealign)
{
// we need BP to reset the stack before return
// otherwise the return address is lost
needframe = 1;
}
else if (config.flags & CFGalwaysframe)
needframe = 1;
else
{
if (localsize)
{
if (I16 ||
!(config.flags4 & CFG4speed) ||
config.target_cpu < TARGET_Pentium ||
farfunc ||
config.flags & CFGstack ||
xlocalsize >= 0x1000 ||
(usednteh & (NTEH_try | NTEH_except | NTEHcpp | EHcleanup | EHtry | NTEHpassthru)) ||
anyiasm ||
Alloca.size
)
needframe = 1;
}
if (refparam && (anyiasm || I16))
needframe = 1;
}
if (needframe)
{
assert(mfuncreg & mBP); // shouldn't have used mBP
if (!guessneedframe) // if guessed wrong
goto Lagain;
}
if (I16 && config.wflags & WFwindows && farfunc)
{
prolog_16bit_windows_farfunc(cdbx, &tyf, &pushds);
enter = false; // don't use ENTER instruction
hasframe = 1; // we have a stack frame
}
else if (needframe) // if variables or parameters
{
prolog_frame(cdbx, farfunc, &xlocalsize, &enter, &cfa_offset);
hasframe = 1;
}
/* Align the stack if necessary */
prolog_stackalign(cdbx);
/* Subtract from stack pointer the size of the local stack frame
*/
if (config.flags & CFGstack) // if stack overflow check
{
prolog_frameadj(cdbx, tyf, xlocalsize, enter, &pushalloc);
if (Alloca.size)
prolog_setupalloca(cdbx);
}
else if (needframe) /* if variables or parameters */
{
if (xlocalsize) /* if any stack offset */
{
prolog_frameadj(cdbx, tyf, xlocalsize, enter, &pushalloc);
if (Alloca.size)
prolog_setupalloca(cdbx);
}
else
assert(Alloca.size == 0);
}
else if (xlocalsize)
{
assert(I32 || I64);
prolog_frameadj2(cdbx, tyf, xlocalsize, &pushalloc);
version (FRAMEPTR) { } else
BPoff += REGSIZE;
}
else
assert((localsize | Alloca.size) == 0 || (usednteh & NTEHjmonitor));
EBPtoESP += xlocalsize;
if (hasframe)
EBPtoESP += REGSIZE;
/* Win64 unwind needs the amount of code generated so far
*/
if (config.exe == EX_WIN64)
{
code *c = cdbx.peek();
pinholeopt(c, null);
prolog_allocoffset = calcblksize(c);
}
version (SCPP)
{
/* The idea is to generate trace for all functions if -Nc is not thrown.
* If -Nc is thrown, generate trace only for global COMDATs, because those
* are relevant to the FUNCTIONS statement in the linker .DEF file.
* This same logic should be in epilog().
*/
if (config.flags & CFGtrace &&
(!(config.flags4 & CFG4allcomdat) ||
funcsym_p.Sclass == SCcomdat ||
funcsym_p.Sclass == SCglobal ||
(config.flags2 & CFG2comdat && SymInline(funcsym_p))
)
)
{
uint spalign = 0;
int sz = cast(int)localsize;
if (!enforcealign)
{
version (FRAMEPTR)
sz += Para.size;
else
sz += Para.size + (needframe ? 0 : -REGSIZE);
}
if (STACKALIGN >= 16 && (sz & (STACKALIGN - 1)))
spalign = STACKALIGN - (sz & (STACKALIGN - 1));
if (spalign)
{ /* This could be avoided by moving the function call to after the
* registers are saved. But I don't remember why the call is here
* and not there.
*/
cod3_stackadj(cdbx, spalign);
}
uint regsaved;
prolog_trace(cdbx, farfunc != 0, ®saved);
if (spalign)
cod3_stackadj(cdbx, -spalign);
useregs((ALLREGS | mBP | mES) & ~regsaved);
}
}
version (MARS)
{
if (usednteh & NTEHjmonitor)
{ Symbol *sthis;
for (SYMIDX si = 0; 1; si++)
{ assert(si < globsym.top);
sthis = globsym.tab[si];
if (strcmp(sthis.Sident.ptr,"this".ptr) == 0)
break;
}
nteh_monitor_prolog(cdbx,sthis);
EBPtoESP += 3 * 4;
}
}
cdb.append(cdbx);
prolog_saveregs(cdb, topush, cfa_offset);
Lcont:
if (config.exe == EX_WIN64)
{
if (variadic(funcsym_p.Stype))
prolog_gen_win64_varargs(cdb);
regm_t namedargs;
prolog_loadparams(cdb, tyf, pushalloc, namedargs);
return;
}
prolog_ifunc2(cdb, tyf, tym, pushds);
static if (NTEXCEPTIONS == 2)
{
if (usednteh & NTEH_except)
nteh_setsp(cdb, 0x89); // MOV __context[EBP].esp,ESP
}
// Load register parameters off of the stack. Do not use
// assignaddr(), as it will replace the stack reference with
// the register!
regm_t namedargs;
prolog_loadparams(cdb, tyf, pushalloc, namedargs);
if (sv64)
prolog_genvarargs(cdb, sv64, namedargs);
/* Alignment checks
*/
//assert(Auto.alignment <= STACKALIGN);
//assert(((Auto.size + Para.size + BPoff) & (Auto.alignment - 1)) == 0);
}
/************************************
* Predicate for sorting auto symbols for qsort().
* Returns:
* < 0 s1 goes farther from frame pointer
* > 0 s1 goes nearer the frame pointer
* = 0 no difference
*/
extern (C) int
autosort_cmp(scope const void *ps1, scope const void *ps2)
{
Symbol *s1 = *cast(Symbol **)ps1;
Symbol *s2 = *cast(Symbol **)ps2;
/* Largest align size goes furthest away from frame pointer,
* so they get allocated first.
*/
uint alignsize1 = Symbol_Salignsize(s1);
uint alignsize2 = Symbol_Salignsize(s2);
if (alignsize1 < alignsize2)
return 1;
else if (alignsize1 > alignsize2)
return -1;
/* move variables nearer the frame pointer that have higher Sweights
* because addressing mode is fewer bytes. Grouping together high Sweight
* variables also may put them in the same cache
*/
if (s1.Sweight < s2.Sweight)
return -1;
else if (s1.Sweight > s2.Sweight)
return 1;
/* More:
* 1. put static arrays nearest the frame pointer, so buffer overflows
* can't change other variable contents
* 2. Do the coloring at the byte level to minimize stack usage
*/
return 0;
}
/******************************
* Compute offsets for remaining tmp, automatic and register variables
* that did not make it into registers.
* Input:
* flags 0: do estimate only
* 1: final
*/
void stackoffsets(int flags)
{
//printf("stackoffsets() %s\n", funcsym_p.Sident);
Para.init(); // parameter offset
Fast.init(); // SCfastpar offset
Auto.init(); // automatic & register offset
EEStack.init(); // for SCstack's
// Set if doing optimization of auto layout
bool doAutoOpt = flags && config.flags4 & CFG4optimized;
// Put autos in another array so we can do optimizations on the stack layout
Symbol*[10] autotmp;
Symbol **autos = null;
if (doAutoOpt)
{
if (globsym.top <= autotmp.length)
autos = autotmp.ptr;
else
{ autos = cast(Symbol **)malloc(globsym.top * (*autos).sizeof);
assert(autos);
}
}
size_t autosi = 0; // number used in autos[]
for (int si = 0; si < globsym.top; si++)
{ Symbol *s = globsym.tab[si];
/* Don't allocate space for dead or zero size parameters
*/
switch (s.Sclass)
{
case SCfastpar:
if (!(funcsym_p.Sfunc.Fflags3 & Ffakeeh))
goto Ldefault; // don't need consistent stack frame
break;
case SCparameter:
if (type_zeroSize(s.Stype, tybasic(funcsym_p.Stype.Tty)))
{
Para.offset = _align(REGSIZE,Para.offset); // align on word stack boundary
s.Soffset = Para.offset;
continue;
}
break; // allocate even if it's dead
case SCshadowreg:
break; // allocate even if it's dead
default:
Ldefault:
if (Symbol_Sisdead(s, anyiasm))
continue; // don't allocate space
break;
}
targ_size_t sz = type_size(s.Stype);
if (sz == 0)
sz++; // can't handle 0 length structs
uint alignsize = Symbol_Salignsize(s);
if (alignsize > STACKALIGN)
alignsize = STACKALIGN; // no point if the stack is less aligned
//printf("symbol '%s', size = x%lx, alignsize = %d, read = %x\n",s.Sident,(long)sz, (int)alignsize, s.Sflags & SFLread);
assert(cast(int)sz >= 0);
switch (s.Sclass)
{
case SCfastpar:
/* Get these
* right next to the stack frame pointer, EBP.
* Needed so we can call nested contract functions
* frequire and fensure.
*/
if (s.Sfl == FLreg) // if allocated in register
continue;
/* Needed because storing fastpar's on the stack in prolog()
* does the entire register
*/
if (sz < REGSIZE)
sz = REGSIZE;
Fast.offset = _align(sz,Fast.offset);
s.Soffset = Fast.offset;
Fast.offset += sz;
//printf("fastpar '%s' sz = %d, fast offset = x%x, %p\n",s.Sident,(int)sz,(int)s.Soffset, s);
if (alignsize > Fast.alignment)
Fast.alignment = alignsize;
break;
case SCregister:
case SCauto:
if (s.Sfl == FLreg) // if allocated in register
break;
if (doAutoOpt)
{ autos[autosi++] = s; // deal with later
break;
}
Auto.offset = _align(sz,Auto.offset);
s.Soffset = Auto.offset;
Auto.offset += sz;
//printf("auto '%s' sz = %d, auto offset = x%lx\n",s.Sident,sz,(long)s.Soffset);
if (alignsize > Auto.alignment)
Auto.alignment = alignsize;
break;
case SCstack:
EEStack.offset = _align(sz,EEStack.offset);
s.Soffset = EEStack.offset;
//printf("EEStack.offset = x%lx\n",(long)s.Soffset);
EEStack.offset += sz;
break;
case SCshadowreg:
case SCparameter:
if (config.exe == EX_WIN64)
{
assert((Para.offset & 7) == 0);
s.Soffset = Para.offset;
Para.offset += 8;
break;
}
/* Alignment on OSX 32 is odd. reals are 16 byte aligned in general,
* but are 4 byte aligned on the OSX 32 stack.
*/
Para.offset = _align(REGSIZE,Para.offset); /* align on word stack boundary */
if (alignsize >= 16 &&
(I64 || (config.exe == EX_OSX &&
(tyaggregate(s.ty()) || tyvector(s.ty())))))
Para.offset = (Para.offset + (alignsize - 1)) & ~(alignsize - 1);
s.Soffset = Para.offset;
//printf("%s param offset = x%lx, alignsize = %d\n",s.Sident,(long)s.Soffset, (int)alignsize);
Para.offset += (s.Sflags & SFLdouble)
? type_size(tstypes[TYdouble]) // float passed as double
: type_size(s.Stype);
break;
case SCpseudo:
case SCstatic:
case SCbprel:
break;
default:
symbol_print(s);
assert(0);
}
}
if (autosi)
{
qsort(autos, autosi, (Symbol *).sizeof, &autosort_cmp);
vec_t tbl = vec_calloc(autosi);
for (size_t si = 0; si < autosi; si++)
{
Symbol *s = autos[si];
targ_size_t sz = type_size(s.Stype);
if (sz == 0)
sz++; // can't handle 0 length structs
uint alignsize = Symbol_Salignsize(s);
if (alignsize > STACKALIGN)
alignsize = STACKALIGN; // no point if the stack is less aligned
/* See if we can share storage with another variable
* if their live ranges do not overlap.
*/
if (// Don't share because could stomp on variables
// used in finally blocks
!(usednteh & (NTEH_try | NTEH_except | NTEHcpp | EHcleanup | EHtry | NTEHpassthru)) &&
s.Srange && !(s.Sflags & SFLspill))
{
for (size_t i = 0; i < si; i++)
{
if (!vec_testbit(i,tbl))
continue;
Symbol *sp = autos[i];
//printf("auto s = '%s', sp = '%s', %d, %d, %d\n",s.Sident,sp.Sident,dfo.length,vec_numbits(s.Srange),vec_numbits(sp.Srange));
if (vec_disjoint(s.Srange,sp.Srange) &&
!(sp.Soffset & (alignsize - 1)) &&
sz <= type_size(sp.Stype))
{
vec_or(sp.Srange,sp.Srange,s.Srange);
//printf("sharing space - '%s' onto '%s'\n",s.Sident,sp.Sident);
s.Soffset = sp.Soffset;
goto L2;
}
}
}
Auto.offset = _align(sz,Auto.offset);
s.Soffset = Auto.offset;
//printf("auto '%s' sz = %d, auto offset = x%lx\n",s.Sident,sz,(long)s.Soffset);
Auto.offset += sz;
if (s.Srange && !(s.Sflags & SFLspill))
vec_setbit(si,tbl);
if (alignsize > Auto.alignment)
Auto.alignment = alignsize;
L2: { }
}
vec_free(tbl);
if (autos != autotmp.ptr)
free(autos);
}
}
/****************************
* Generate code for a block.
*/
private void blcodgen(block *bl)
{
regm_t mfuncregsave = mfuncreg;
//dbg_printf("blcodgen(%p)\n",bl);
/* Determine existing immediate values in registers by ANDing
together the values from all the predecessors of b.
*/
assert(bl.Bregcon.immed.mval == 0);
regcon.immed.mval = 0; // assume no previous contents in registers
// regcon.cse.mval = 0;
foreach (bpl; ListRange(bl.Bpred))
{
block *bp = list_block(bpl);
if (bpl == bl.Bpred)
{ regcon.immed = bp.Bregcon.immed;
regcon.params = bp.Bregcon.params;
// regcon.cse = bp.Bregcon.cse;
}
else
{
int i;
regcon.params &= bp.Bregcon.params;
if ((regcon.immed.mval &= bp.Bregcon.immed.mval) != 0)
// Actual values must match, too
for (i = 0; i < REGMAX; i++)
{
if (regcon.immed.value[i] != bp.Bregcon.immed.value[i])
regcon.immed.mval &= ~mask(i);
}
}
}
regcon.cse.mops &= regcon.cse.mval;
// Set regcon.mvar according to what variables are in registers for this block
CodeBuilder cdb; cdb.ctor();
regcon.mvar = 0;
regcon.mpvar = 0;
regcon.indexregs = 1;
int anyspill = 0;
char *sflsave = null;
if (config.flags4 & CFG4optimized)
{
CodeBuilder cdbload; cdbload.ctor();
CodeBuilder cdbstore; cdbstore.ctor();
sflsave = cast(char *) alloca(globsym.top * char.sizeof);
for (SYMIDX i = 0; i < globsym.top; i++)
{
Symbol *s = globsym.tab[i];
sflsave[i] = s.Sfl;
if (regParamInPreg(s) &&
regcon.params & s.Spregm() &&
vec_testbit(dfoidx,s.Srange))
{
// regcon.used |= s.Spregm();
}
if (s.Sfl == FLreg)
{
if (vec_testbit(dfoidx,s.Srange))
{
regcon.mvar |= s.Sregm;
if (s.Sclass == SCfastpar || s.Sclass == SCshadowreg)
regcon.mpvar |= s.Sregm;
}
}
else if (s.Sflags & SFLspill)
{
if (vec_testbit(dfoidx,s.Srange))
{
anyspill = i + 1;
cgreg_spillreg_prolog(bl,s,cdbstore,cdbload);
if (vec_testbit(dfoidx,s.Slvreg))
{
s.Sfl = FLreg;
regcon.mvar |= s.Sregm;
regcon.cse.mval &= ~s.Sregm;
regcon.immed.mval &= ~s.Sregm;
regcon.params &= ~s.Sregm;
if (s.Sclass == SCfastpar || s.Sclass == SCshadowreg)
regcon.mpvar |= s.Sregm;
}
}
}
}
if ((regcon.cse.mops & regcon.cse.mval) != regcon.cse.mops)
{
cse_save(cdb,regcon.cse.mops & ~regcon.cse.mval);
}
cdb.append(cdbstore);
cdb.append(cdbload);
mfuncreg &= ~regcon.mvar; // use these registers
regcon.used |= regcon.mvar;
// Determine if we have more than 1 uncommitted index register
regcon.indexregs = IDXREGS & ~regcon.mvar;
regcon.indexregs &= regcon.indexregs - 1;
}
/* This doesn't work when calling the BC_finally function,
* as it is one block calling another.
*/
//regsave.idx = 0;
reflocal = 0;
int refparamsave = refparam;
refparam = 0;
assert((regcon.cse.mops & regcon.cse.mval) == regcon.cse.mops);
outblkexitcode(cdb, bl, anyspill, sflsave, &retsym, mfuncregsave);
bl.Bcode = cdb.finish();
for (int i = 0; i < anyspill; i++)
{
Symbol *s = globsym.tab[i];
s.Sfl = sflsave[i]; // undo block register assignments
}
if (reflocal)
bl.Bflags |= BFLreflocal;
if (refparam)
bl.Bflags |= BFLrefparam;
refparam |= refparamsave;
bl.Bregcon.immed = regcon.immed;
bl.Bregcon.cse = regcon.cse;
bl.Bregcon.used = regcon.used;
bl.Bregcon.params = regcon.params;
debug
debugw && printf("code gen complete\n");
}
/*****************************************
* Add in exception handling code.
*/
version (SCPP)
{
private void cgcod_eh()
{
list_t stack;
int idx;
int tryidx;
if (!(usednteh & (EHtry | EHcleanup)))
return;
// Compute Bindex for each block
for (block *b = startblock; b; b = b.Bnext)
{
b.Bindex = -1;
b.Bflags &= ~BFLvisited; /* mark as unvisited */
}
block *btry = null;
int lastidx = 0;
startblock.Bindex = 0;
for (block *b = startblock; b; b = b.Bnext)
{
if (btry == b.Btry && b.BC == BCcatch) // if don't need to pop try block
{
block *br = list_block(b.Bpred); // find corresponding try block
assert(br.BC == BCtry);
b.Bindex = br.Bindex;
}
else if (btry != b.Btry && b.BC != BCcatch ||
!(b.Bflags & BFLvisited))
b.Bindex = lastidx;
b.Bflags |= BFLvisited;
debug
if (debuge)
{
WRBC(b.BC);
printf(" block (%p) Btry=%p Bindex=%d\n",b,b.Btry,b.Bindex);
}
except_index_set(b.Bindex);
if (btry != b.Btry) // exited previous try block
{
except_pop(b,null,btry);
btry = b.Btry;
}
if (b.BC == BCtry)
{
except_push(b,null,b);
btry = b;
tryidx = except_index_get();
CodeBuilder cdb; cdb.ctor();
nteh_gensindex(cdb,tryidx - 1);
cdb.append(b.Bcode);
b.Bcode = cdb.finish();
}
stack = null;
for (code *c = b.Bcode; c; c = code_next(c))
{
if ((c.Iop & ESCAPEmask) == ESCAPE)
{
code *c1 = null;
switch (c.Iop & 0xFFFF00)
{
case ESCctor:
//printf("ESCctor\n");
except_push(c,c.IEV1.Vtor,null);
goto L1;
case ESCdtor:
//printf("ESCdtor\n");
except_pop(c,c.IEV1.Vtor,null);
L1: if (config.exe == EX_WIN32)
{
CodeBuilder cdb; cdb.ctor();
nteh_gensindex(cdb,except_index_get() - 1);
c1 = cdb.finish();
c1.next = code_next(c);
c.next = c1;
}
break;
case ESCmark:
//printf("ESCmark\n");
idx = except_index_get();
list_prependdata(&stack,idx);
except_mark();
break;
case ESCrelease:
//printf("ESCrelease\n");
version (SCPP)
{
idx = list_data(stack);
list_pop(&stack);
if (idx != except_index_get())
{
if (config.exe == EX_WIN32)
{
CodeBuilder cdb; cdb.ctor();
nteh_gensindex(cdb,idx - 1);
c1 = cdb.finish();
c1.next = code_next(c);
c.next = c1;
}
else
{ except_pair_append(c,idx - 1);
c.Iop = ESCAPE | ESCoffset;
}
}
except_release();
}
break;
case ESCmark2:
//printf("ESCmark2\n");
except_mark();
break;
case ESCrelease2:
//printf("ESCrelease2\n");
version (SCPP)
{
except_release();
}
break;
default:
break;
}
}
}
assert(stack == null);
b.Bendindex = except_index_get();
if (b.BC != BCret && b.BC != BCretexp)
lastidx = b.Bendindex;
// Set starting index for each of the successors
int i = 0;
foreach (bl; ListRange(b.Bsucc))
{
block *bs = list_block(bl);
if (b.BC == BCtry)
{
switch (i)
{
case 0: // block after catches
bs.Bindex = b.Bendindex;
break;
case 1: // 1st catch block
bs.Bindex = tryidx;
break;
default: // subsequent catch blocks
bs.Bindex = b.Bindex;
break;
}
debug
if (debuge)
{
printf(" 1setting %p to %d\n",bs,bs.Bindex);
}
}
else if (!(bs.Bflags & BFLvisited))
{
bs.Bindex = b.Bendindex;
debug
if (debuge)
{
printf(" 2setting %p to %d\n",bs,bs.Bindex);
}
}
bs.Bflags |= BFLvisited;
i++;
}
}
if (config.exe == EX_WIN32)
for (block *b = startblock; b; b = b.Bnext)
{
if (/*!b.Bcount ||*/ b.BC == BCtry)
continue;
foreach (bl; ListRange(b.Bpred))
{
int pi = list_block(bl).Bendindex;
if (b.Bindex != pi)
{
CodeBuilder cdb; cdb.ctor();
nteh_gensindex(cdb,b.Bindex - 1);
cdb.append(b.Bcode);
b.Bcode = cdb.finish();
break;
}
}
}
}
}
/******************************
* Count the number of bits set in a register mask.
*/
int numbitsset(regm_t regm)
{
int n = 0;
if (regm)
do
n++;
while ((regm &= regm - 1) != 0);
return n;
}
/******************************
* Given a register mask, find and return the number
* of the first register that fits.
*/
reg_t findreg(regm_t regm)
{
return findreg(regm, __LINE__, __FILE__);
}
reg_t findreg(regm_t regm, int line, const(char)* file)
{
debug
regm_t regmsave = regm;
reg_t i = 0;
while (1)
{
if (!(regm & 0xF))
{
regm >>= 4;
i += 4;
if (!regm)
break;
}
if (regm & 1)
return i;
regm >>= 1;
i++;
}
debug
printf("findreg(%s, line=%d, file='%s', function = '%s')\n",regm_str(regmsave),line,file,funcsym_p.Sident.ptr);
fflush(stdout);
// *(char*)0=0;
assert(0);
}
/***************
* Free element (but not it's leaves! (assume they are already freed))
* Don't decrement Ecount! This is so we can detect if the common subexp
* has already been evaluated.
* If common subexpression is not required anymore, eliminate
* references to it.
*/
void freenode(elem *e)
{
elem_debug(e);
//dbg_printf("freenode(%p) : comsub = %d, count = %d\n",e,e.Ecomsub,e.Ecount);
if (e.Ecomsub--) return; /* usage count */
if (e.Ecount) /* if it was a CSE */
{
for (size_t i = 0; i < regcon.cse.value.length; i++)
{
if (regcon.cse.value[i] == e) /* if a register is holding it */
{
regcon.cse.mval &= ~mask(cast(uint)i);
regcon.cse.mops &= ~mask(cast(uint)i); /* free masks */
}
}
CSE.remove(e);
}
}
/*********************************
* Reset Ecomsub for all elem nodes, i.e. reverse the effects of freenode().
*/
private void resetEcomsub(elem *e)
{
while (1)
{
elem_debug(e);
e.Ecomsub = e.Ecount;
const op = e.Eoper;
if (!OTleaf(op))
{
if (OTbinary(op))
resetEcomsub(e.EV.E2);
e = e.EV.E1;
}
else
break;
}
}
/*********************************
* Determine if elem e is a register variable.
* If so:
* *pregm = mask of registers that make up the variable
* *preg = the least significant register
* returns true
* Else
* returns false
*/
int isregvar(elem *e,regm_t *pregm,reg_t *preg)
{
Symbol *s;
uint u;
regm_t m;
regm_t regm;
reg_t reg;
elem_debug(e);
if (e.Eoper == OPvar || e.Eoper == OPrelconst)
{
s = e.EV.Vsym;
switch (s.Sfl)
{
case FLreg:
if (s.Sclass == SCparameter)
{ refparam = true;
reflocal = true;
}
reg = e.EV.Voffset == REGSIZE ? s.Sregmsw : s.Sreglsw;
regm = s.Sregm;
//assert(tyreg(s.ty()));
static if (0)
{
// Let's just see if there is a CSE in a reg we can use
// instead. This helps avoid AGI's.
if (e.Ecount && e.Ecount != e.Ecomsub)
{ int i;
for (i = 0; i < arraysize(regcon.cse.value); i++)
{
if (regcon.cse.value[i] == e)
{ reg = i;
break;
}
}
}
}
assert(regm & regcon.mvar && !(regm & ~regcon.mvar));
goto Lreg;
case FLpseudo:
version (MARS)
{
u = s.Sreglsw;
m = mask(u);
if (m & ALLREGS && (u & ~3) != 4) // if not BP,SP,EBP,ESP,or ?H
{
reg = u & 7;
regm = m;
goto Lreg;
}
}
else
{
u = s.Sreglsw;
m = pseudomask[u];
if (m & ALLREGS && (u & ~3) != 4) // if not BP,SP,EBP,ESP,or ?H
{
reg = pseudoreg[u] & 7;
regm = m;
goto Lreg;
}
}
break;
default:
break;
}
}
return false;
Lreg:
if (preg)
*preg = reg;
if (pregm)
*pregm = regm;
return true;
}
/*********************************
* Allocate some registers.
* Input:
* pretregs Pointer to mask of registers to make selection from.
* tym Mask of type we will store in registers.
* Output:
* *pretregs Mask of allocated registers.
* *preg Register number of first allocated register.
* msavereg,mfuncreg retregs bits are cleared.
* regcon.cse.mval,regcon.cse.mops updated
* Returns:
* pointer to code generated if necessary to save any regcon.cse.mops on the
* stack.
*/
void allocreg(ref CodeBuilder cdb,regm_t *pretregs,reg_t *preg,tym_t tym)
{
allocreg(cdb, pretregs, preg, tym, __LINE__, __FILE__);
}
void allocreg(ref CodeBuilder cdb,regm_t *pretregs,reg_t *preg,tym_t tym
,int line,const(char)* file)
{
reg_t reg;
static if (0)
{
if (pass == PASSfinal)
{
printf("allocreg %s,%d: regcon.mvar %s regcon.cse.mval %s msavereg %s *pretregs %s tym ",
file,line,regm_str(regcon.mvar),regm_str(regcon.cse.mval),
regm_str(msavereg),regm_str(*pretregs));
WRTYxx(tym);
dbg_printf("\n");
}
}
tym = tybasic(tym);
uint size = _tysize[tym];
*pretregs &= mES | allregs | XMMREGS;
regm_t retregs = *pretregs;
debug if (retregs == 0)
printf("allocreg: file %s(%d)\n", file, line);
if ((retregs & regcon.mvar) == retregs) // if exactly in reg vars
{
if (size <= REGSIZE || (retregs & XMMREGS))
{
*preg = findreg(retregs);
assert(retregs == mask(*preg)); /* no more bits are set */
}
else if (size <= 2 * REGSIZE)
{
*preg = findregmsw(retregs);
assert(retregs & mLSW);
}
else
assert(0);
getregs(cdb,retregs);
return;
}
int count = 0;
L1:
//printf("L1: allregs = %s, *pretregs = %s\n", regm_str(allregs), regm_str(*pretregs));
assert(++count < 20); /* fail instead of hanging if blocked */
assert(retregs);
reg_t msreg = NOREG, lsreg = NOREG; /* no value assigned yet */
L3:
//printf("L2: allregs = %s, *pretregs = %s\n", regm_str(allregs), regm_str(*pretregs));
regm_t r = retregs & ~(msavereg | regcon.cse.mval | regcon.params);
if (!r)
{
r = retregs & ~(msavereg | regcon.cse.mval);
if (!r)
{
r = retregs & ~(msavereg | regcon.cse.mops);
if (!r)
{ r = retregs & ~msavereg;
if (!r)
r = retregs;
}
}
}
if (size <= REGSIZE || retregs & XMMREGS)
{
if (r & ~mBP)
r &= ~mBP;
// If only one index register, prefer to not use LSW registers
if (!regcon.indexregs && r & ~mLSW)
r &= ~mLSW;
if (pass == PASSfinal && r & ~lastretregs && !I16)
{ // Try not to always allocate the same register,
// to schedule better
r &= ~lastretregs;
if (r & ~last2retregs)
{
r &= ~last2retregs;
if (r & ~last3retregs)
{
r &= ~last3retregs;
if (r & ~last4retregs)
{
r &= ~last4retregs;
// if (r & ~last5retregs)
// r &= ~last5retregs;
}
}
}
if (r & ~mfuncreg)
r &= ~mfuncreg;
}
reg = findreg(r);
retregs = mask(reg);
}
else if (size <= 2 * REGSIZE)
{
/* Select pair with both regs free. Failing */
/* that, select pair with one reg free. */
if (r & mBP)
{
retregs &= ~mBP;
goto L3;
}
if (r & mMSW)
{
if (r & mDX)
msreg = DX; /* prefer to use DX over CX */
else
msreg = findregmsw(r);
r &= mLSW; /* see if there's an LSW also */
if (r)
lsreg = findreg(r);
else if (lsreg == NOREG) /* if don't have LSW yet */
{
retregs &= mLSW;
goto L3;
}
}
else
{
if (I64 && !(r & mLSW))
{
retregs = *pretregs & (mMSW | mLSW);
assert(retregs);
goto L1;
}
lsreg = findreglsw(r);
if (msreg == NOREG)
{
retregs &= mMSW;
assert(retregs);
goto L3;
}
}
reg = (msreg == ES) ? lsreg : msreg;
retregs = mask(msreg) | mask(lsreg);
}
else if (I16 && (tym == TYdouble || tym == TYdouble_alias))
{
debug
if (retregs != DOUBLEREGS)
printf("retregs = %s, *pretregs = %s\n", regm_str(retregs), regm_str(*pretregs));
assert(retregs == DOUBLEREGS);
reg = AX;
}
else
{
debug
{
WRTYxx(tym);
printf("\nallocreg: fil %s lin %d, regcon.mvar %s msavereg %s *pretregs %s, reg %d, tym x%x\n",
file,line,regm_str(regcon.mvar),regm_str(msavereg),regm_str(*pretregs),*preg,tym);
}
assert(0);
}
if (retregs & regcon.mvar) // if conflict with reg vars
{
if (!(size > REGSIZE && *pretregs == (mAX | mDX)))
{
retregs = (*pretregs &= ~(retregs & regcon.mvar));
goto L1; // try other registers
}
}
*preg = reg;
*pretregs = retregs;
//printf("Allocating %s\n",regm_str(retregs));
last5retregs = last4retregs;
last4retregs = last3retregs;
last3retregs = last2retregs;
last2retregs = lastretregs;
lastretregs = retregs;
getregs(cdb, retregs);
}
/******************************
* Determine registers that should be destroyed upon arrival
* to code entry point for exception handling.
*/
regm_t lpadregs()
{
regm_t used;
if (config.ehmethod == EHmethod.EH_DWARF)
used = allregs & ~mfuncreg;
else
used = (I32 | I64) ? allregs : (ALLREGS | mES);
//printf("lpadregs(): used=%s, allregs=%s, mfuncreg=%s\n", regm_str(used), regm_str(allregs), regm_str(mfuncreg));
return used;
}
/*************************
* Mark registers as used.
*/
void useregs(regm_t regm)
{
//printf("useregs(x%x) %s\n", regm, regm_str(regm));
mfuncreg &= ~regm;
regcon.used |= regm; // registers used in this block
regcon.params &= ~regm;
if (regm & regcon.mpvar) // if modified a fastpar register variable
regcon.params = 0; // toss them all out
}
/*************************
* We are going to use the registers in mask r.
* Generate any code necessary to save any regs.
*/
void getregs(ref CodeBuilder cdb, regm_t r)
{
//printf("getregs(x%x) %s\n", r, regm_str(r));
regm_t ms = r & regcon.cse.mops; // mask of common subs we must save
useregs(r);
regcon.cse.mval &= ~r;
msavereg &= ~r; // regs that are destroyed
regcon.immed.mval &= ~r;
if (ms)
cse_save(cdb, ms);
}
/*************************
* We are going to use the registers in mask r.
* Same as getregs(), but assert if code is needed to be generated.
*/
void getregsNoSave(regm_t r)
{
//printf("getregsNoSave(x%x) %s\n", r, regm_str(r));
assert(!(r & regcon.cse.mops)); // mask of common subs we must save
useregs(r);
regcon.cse.mval &= ~r;
msavereg &= ~r; // regs that are destroyed
regcon.immed.mval &= ~r;
}
/*****************************************
* Copy registers in cse.mops into memory.
*/
private void cse_save(ref CodeBuilder cdb, regm_t ms)
{
assert((ms & regcon.cse.mops) == ms);
regcon.cse.mops &= ~ms;
/* Skip CSEs that are already saved */
for (regm_t regm = 1; regm < mask(NUMREGS); regm <<= 1)
{
if (regm & ms)
{
const e = regcon.cse.value[findreg(regm)];
const sz = tysize(e.Ety);
foreach (const ref cse; CSE.filter(e))
{
if (sz <= REGSIZE ||
sz <= 2 * REGSIZE &&
(regm & mMSW && cse.regm & mMSW ||
regm & mLSW && cse.regm & mLSW) ||
sz == 4 * REGSIZE && regm == cse.regm
)
{
ms &= ~regm;
if (!ms)
return;
break;
}
}
}
}
while (ms)
{
auto cse = CSE.add();
reg_t reg = findreg(ms); /* the register to save */
cse.e = regcon.cse.value[reg];
cse.regm = mask(reg);
ms &= ~mask(reg); /* turn off reg bit in ms */
// If we can simply reload the CSE, we don't need to save it
if (cse_simple(&cse.csimple, cse.e))
cse.flags |= CSEsimple;
else
{
CSE.updateSizeAndAlign(cse.e);
gen_storecse(cdb, cse.e.Ety, reg, cse.slot);
reflocal = true;
}
}
}
/******************************************
* Getregs without marking immediate register values as gone.
*/
void getregs_imm(ref CodeBuilder cdb, regm_t r)
{
regm_t save = regcon.immed.mval;
getregs(cdb,r);
regcon.immed.mval = save;
}
/******************************************
* Flush all CSE's out of registers and into memory.
* Input:
* do87 !=0 means save 87 registers too
*/
void cse_flush(ref CodeBuilder cdb, int do87)
{
//dbg_printf("cse_flush()\n");
cse_save(cdb,regcon.cse.mops); // save any CSEs to memory
if (do87)
save87(cdb); // save any 8087 temporaries
}
/*************************
* Common subexpressions exist in registers. Note this in regcon.cse.mval.
* Input:
* e the subexpression
* regm mask of registers holding it
* opsflag if != 0 then regcon.cse.mops gets set too
* Returns:
* false not saved as a CSE
* true saved as a CSE
*/
bool cssave(elem *e,regm_t regm,uint opsflag)
{
bool result = false;
/*if (e.Ecount && e.Ecount == e.Ecomsub)*/
if (e.Ecount && e.Ecomsub)
{
if (!opsflag && pass != PASSfinal && (I32 || I64))
return false;
//printf("cssave(e = %p, regm = %s, opsflag = x%x)\n", e, regm_str(regm), opsflag);
regm &= mBP | ALLREGS | mES | XMMREGS; /* just to be sure */
/+
/* Do not register CSEs if they are register variables and */
/* are not operator nodes. This forces the register allocation */
/* to go through allocreg(), which will prevent using register */
/* variables for scratch. */
if (opsflag || !(regm & regcon.mvar))
+/
for (uint i = 0; regm; i++)
{
regm_t mi = mask(i);
if (regm & mi)
{
regm &= ~mi;
// If we don't need this CSE, and the register already
// holds a CSE that we do need, don't mark the new one
if (regcon.cse.mval & mi && regcon.cse.value[i] != e &&
!opsflag && regcon.cse.mops & mi)
continue;
regcon.cse.mval |= mi;
if (opsflag)
regcon.cse.mops |= mi;
//printf("cssave set: regcon.cse.value[%s] = %p\n",regstring[i],e);
regcon.cse.value[i] = e;
result = true;
}
}
}
return result;
}
/*************************************
* Determine if a computation should be done into a register.
*/
bool evalinregister(elem *e)
{
if (config.exe == EX_WIN64 && e.Eoper == OPrelconst)
return true;
if (e.Ecount == 0) /* elem is not a CSE, therefore */
/* we don't need to evaluate it */
/* in a register */
return false;
if (!OTleaf(e.Eoper)) /* operators are always in register */
return true;
// Need to rethink this code if float or double can be CSE'd
uint sz = tysize(e.Ety);
if (e.Ecount == e.Ecomsub) /* elem is a CSE that needs */
/* to be generated */
{
if ((I32 || I64) &&
//pass == PASSfinal && // bug 8987
sz <= REGSIZE)
{
// Do it only if at least 2 registers are available
regm_t m = allregs & ~regcon.mvar;
if (sz == 1)
m &= BYTEREGS;
if (m & (m - 1)) // if more than one register
{ // Need to be at least 3 registers available, as
// addressing modes can use up 2.
while (!(m & 1))
m >>= 1;
m >>= 1;
if (m & (m - 1))
return true;
}
}
return false;
}
/* Elem is now a CSE that might have been generated. If so, and */
/* it's in a register already, the computation should be done */
/* using that register. */
regm_t emask = 0;
for (uint i = 0; i < regcon.cse.value.length; i++)
if (regcon.cse.value[i] == e)
emask |= mask(i);
emask &= regcon.cse.mval; // mask of available CSEs
if (sz <= REGSIZE)
return emask != 0; /* the CSE is in a register */
else if (sz <= 2 * REGSIZE)
return (emask & mMSW) && (emask & mLSW);
return true; /* cop-out for now */
}
/*******************************************************
* Return mask of scratch registers.
*/
regm_t getscratch()
{
regm_t scratch = 0;
if (pass == PASSfinal)
{
scratch = allregs & ~(regcon.mvar | regcon.mpvar | regcon.cse.mval |
regcon.immed.mval | regcon.params | mfuncreg);
}
return scratch;
}
/******************************
* Evaluate an elem that is a common subexp that has been encountered
* before.
* Look first to see if it is already in a register.
*/
private void comsub(ref CodeBuilder cdb,elem *e,regm_t *pretregs)
{
tym_t tym;
regm_t regm,emask;
reg_t reg;
uint byte_,sz;
//printf("comsub(e = %p, *pretregs = %s)\n",e,regm_str(*pretregs));
elem_debug(e);
debug
{
if (e.Ecomsub > e.Ecount)
elem_print(e);
}
assert(e.Ecomsub <= e.Ecount);
if (*pretregs == 0) // no possible side effects anyway
{
return;
}
/* First construct a mask, emask, of all the registers that
* have the right contents.
*/
emask = 0;
for (uint i = 0; i < regcon.cse.value.length; i++)
{
//dbg_printf("regcon.cse.value[%d] = %p\n",i,regcon.cse.value[i]);
if (regcon.cse.value[i] == e) // if contents are right
emask |= mask(i); // turn on bit for reg
}
emask &= regcon.cse.mval; // make sure all bits are valid
if (emask & XMMREGS && *pretregs == mPSW)
{ }
else if (tyxmmreg(e.Ety) && config.fpxmmregs)
{
if (*pretregs & (mST0 | mST01))
{
regm_t retregs = *pretregs & mST0 ? XMMREGS : mXMM0 | mXMM1;
comsub(cdb, e, &retregs);
fixresult(cdb,e,retregs,pretregs);
return;
}
}
else if (tyfloating(e.Ety) && config.inline8087)
{
comsub87(cdb,e,pretregs);
return;
}
/* create mask of CSEs */
regm_t csemask = CSE.mask(e);
csemask &= ~emask; // stuff already in registers
debug if (debugw)
{
printf("comsub(e=%p): *pretregs=%s, emask=%s, csemask=%s, regcon.cse.mval=%s, regcon.mvar=%s\n",
e,regm_str(*pretregs),regm_str(emask),regm_str(csemask),
regm_str(regcon.cse.mval),regm_str(regcon.mvar));
if (regcon.cse.mval & 1)
elem_print(regcon.cse.value[0]);
}
tym = tybasic(e.Ety);
sz = _tysize[tym];
byte_ = sz == 1;
if (sz <= REGSIZE || (tyxmmreg(tym) && config.fpxmmregs)) // if data will fit in one register
{
/* First see if it is already in a correct register */
regm = emask & *pretregs;
if (regm == 0)
regm = emask; /* try any other register */
if (regm) /* if it's in a register */
{
if (!OTleaf(e.Eoper) || !(regm & regcon.mvar) || (*pretregs & regcon.mvar) == *pretregs)
{
regm = mask(findreg(regm));
fixresult(cdb,e,regm,pretregs);
return;
}
}
if (OTleaf(e.Eoper)) /* if not op or func */
goto reload; /* reload data */
foreach (ref cse; CSE.filter(e))
{
regm_t retregs;
if (cse.flags & CSEsimple)
{
retregs = *pretregs;
if (byte_ && !(retregs & BYTEREGS))
retregs = BYTEREGS;
else if (!(retregs & allregs))
retregs = allregs;
allocreg(cdb,&retregs,®,tym);
code *cr = &cse.csimple;
cr.setReg(reg);
if (I64 && reg >= 4 && tysize(cse.e.Ety) == 1)
cr.Irex |= REX;
cdb.gen(cr);
goto L10;
}
else
{
reflocal = true;
cse.flags |= CSEload;
if (*pretregs == mPSW) // if result in CCs only
{
if (config.fpxmmregs && (tyxmmreg(cse.e.Ety) || tyvector(cse.e.Ety)))
{
retregs = XMMREGS;
allocreg(cdb,&retregs,®,tym);
gen_loadcse(cdb, cse.e.Ety, reg, cse.slot);
regcon.cse.mval |= mask(reg); // cs is in a reg
regcon.cse.value[reg] = e;
fixresult(cdb,e,retregs,pretregs);
}
else
{
// CMP cs[BP],0
gen_testcse(cdb, cse.e.Ety, sz, cse.slot);
}
}
else
{
retregs = *pretregs;
if (byte_ && !(retregs & BYTEREGS))
retregs = BYTEREGS;
allocreg(cdb,&retregs,®,tym);
gen_loadcse(cdb, cse.e.Ety, reg, cse.slot);
L10:
regcon.cse.mval |= mask(reg); // cs is in a reg
regcon.cse.value[reg] = e;
fixresult(cdb,e,retregs,pretregs);
}
}
return;
}
debug
{
printf("couldn't find cse e = %p, pass = %d\n",e,pass);
elem_print(e);
}
assert(0); /* should have found it */
}
else /* reg pair is req'd */
if (sz <= 2 * REGSIZE)
{
reg_t msreg,lsreg;
/* see if we have both */
if (!((emask | csemask) & mMSW && (emask | csemask) & (mLSW | mBP)))
{ /* we don't have both */
debug if (!OTleaf(e.Eoper))
{
printf("e = %p, op = x%x, emask = %s, csemask = %s\n",
e,e.Eoper,regm_str(emask),regm_str(csemask));
//printf("mMSW = x%x, mLSW = x%x\n", mMSW, mLSW);
elem_print(e);
}
assert(OTleaf(e.Eoper)); /* must have both for operators */
goto reload;
}
/* Look for right vals in any regs */
regm = *pretregs & mMSW;
if (emask & regm)
msreg = findreg(emask & regm);
else if (emask & mMSW)
msreg = findregmsw(emask);
else /* reload from cse array */
{
if (!regm)
regm = mMSW & ALLREGS;
allocreg(cdb,®m,&msreg,TYint);
loadcse(cdb,e,msreg,mMSW);
}
regm = *pretregs & (mLSW | mBP);
if (emask & regm)
lsreg = findreg(emask & regm);
else if (emask & (mLSW | mBP))
lsreg = findreglsw(emask);
else
{
if (!regm)
regm = mLSW;
allocreg(cdb,®m,&lsreg,TYint);
loadcse(cdb,e,lsreg,mLSW | mBP);
}
regm = mask(msreg) | mask(lsreg); /* mask of result */
fixresult(cdb,e,regm,pretregs);
return;
}
else if (tym == TYdouble || tym == TYdouble_alias) // double
{
assert(I16);
if (((csemask | emask) & DOUBLEREGS_16) == DOUBLEREGS_16)
{
static const reg_t[4] dblreg = [ BX,DX,NOREG,CX ]; // duplicate of one in cod4.d
for (reg = 0; reg != NOREG; reg = dblreg[reg])
{
assert(cast(int) reg >= 0 && reg <= 7);
if (mask(reg) & csemask)
loadcse(cdb,e,reg,mask(reg));
}
regm = DOUBLEREGS_16;
fixresult(cdb,e,regm,pretregs);
return;
}
if (OTleaf(e.Eoper)) goto reload;
debug
printf("e = %p, csemask = %s, emask = %s\n",e,regm_str(csemask),regm_str(emask));
assert(0);
}
else
{
debug
printf("e = %p, tym = x%x\n",e,tym);
assert(0);
}
reload: /* reload result from memory */
switch (e.Eoper)
{
case OPrelconst:
cdrelconst(cdb,e,pretregs);
break;
static if (TARGET_LINUX || TARGET_OSX || TARGET_FREEBSD || TARGET_OPENBSD || TARGET_DRAGONFLYBSD || TARGET_SOLARIS)
{
case OPgot:
cdgot(cdb,e,pretregs);
break;
}
default:
if (*pretregs == mPSW &&
config.fpxmmregs &&
(tyxmmreg(tym) || tysimd(tym)))
{
regm_t retregs = XMMREGS | mPSW;
loaddata(cdb,e,&retregs);
cssave(e,retregs,false);
return;
}
loaddata(cdb,e,pretregs);
break;
}
cssave(e,*pretregs,false);
}
/*****************************
* Load reg from cse save area on stack.
*/
private void loadcse(ref CodeBuilder cdb,elem *e,reg_t reg,regm_t regm)
{
foreach (ref cse; CSE.filter(e))
{
//printf("CSE[%d] = %p, regm = %s\n", i, cse.e, regm_str(cse.regm));
if (cse.regm & regm)
{
reflocal = true;
cse.flags |= CSEload; /* it was loaded */
regcon.cse.value[reg] = e;
regcon.cse.mval |= mask(reg);
getregs(cdb,mask(reg));
gen_loadcse(cdb, cse.e.Ety, reg, cse.slot);
return;
}
}
debug
{
printf("loadcse(e = %p, reg = %d, regm = %s)\n",e,reg,regm_str(regm));
elem_print(e);
}
assert(0);
}
/***************************
* Generate code sequence for an elem.
* Input:
* pretregs = mask of possible registers to return result in
* Note: longs are in AX,BX or CX,DX or SI,DI
* doubles are AX,BX,CX,DX only
* constflag = 1 for user of result will not modify the
* registers returned in *pretregs.
* 2 for freenode() not called.
* Output:
* *pretregs mask of registers result is returned in
* Returns:
* pointer to code sequence generated
*/
void callcdxxx(ref CodeBuilder cdb, elem *e, regm_t *pretregs, OPER op)
{
(*cdxxx[op])(cdb,e,pretregs);
}
// jump table
private extern (C++) __gshared nothrow void function (ref CodeBuilder,elem *,regm_t *)[OPMAX] cdxxx =
[
OPunde: &cderr,
OPadd: &cdorth,
OPmul: &cdmul,
OPand: &cdorth,
OPmin: &cdorth,
OPnot: &cdnot,
OPcom: &cdcom,
OPcond: &cdcond,
OPcomma: &cdcomma,
OPremquo: &cdmul,
OPdiv: &cdmul,
OPmod: &cdmul,
OPxor: &cdorth,
OPstring: &cderr,
OPrelconst: &cdrelconst,
OPinp: &cdport,
OPoutp: &cdport,
OPasm: &cdasm,
OPinfo: &cdinfo,
OPdctor: &cddctor,
OPddtor: &cdddtor,
OPctor: &cdctor,
OPdtor: &cddtor,
OPmark: &cdmark,
OPvoid: &cdvoid,
OPhalt: &cdhalt,
OPnullptr: &cderr,
OPpair: &cdpair,
OPrpair: &cdpair,
OPor: &cdorth,
OPoror: &cdloglog,
OPandand: &cdloglog,
OProl: &cdshift,
OPror: &cdshift,
OPshl: &cdshift,
OPshr: &cdshift,
OPashr: &cdshift,
OPbit: &cderr,
OPind: &cdind,
OPaddr: &cderr,
OPneg: &cdneg,
OPuadd: &cderr,
OPabs: &cdabs,
OPsqrt: &cdneg,
OPsin: &cdneg,
OPcos: &cdneg,
OPscale: &cdscale,
OPyl2x: &cdscale,
OPyl2xp1: &cdscale,
OPcmpxchg: &cdcmpxchg,
OPrint: &cdneg,
OPrndtol: &cdrndtol,
OPstrlen: &cdstrlen,
OPstrcpy: &cdstrcpy,
OPmemcpy: &cdmemcpy,
OPmemset: &cdmemset,
OPstrcat: &cderr,
OPstrcmp: &cdstrcmp,
OPmemcmp: &cdmemcmp,
OPsetjmp: &cdsetjmp,
OPnegass: &cdaddass,
OPpreinc: &cderr,
OPpredec: &cderr,
OPstreq: &cdstreq,
OPpostinc: &cdpost,
OPpostdec: &cdpost,
OPeq: &cdeq,
OPaddass: &cdaddass,
OPminass: &cdaddass,
OPmulass: &cdmulass,
OPdivass: &cdmulass,
OPmodass: &cdmulass,
OPshrass: &cdshass,
OPashrass: &cdshass,
OPshlass: &cdshass,
OPandass: &cdaddass,
OPxorass: &cdaddass,
OPorass: &cdaddass,
OPle: &cdcmp,
OPgt: &cdcmp,
OPlt: &cdcmp,
OPge: &cdcmp,
OPeqeq: &cdcmp,
OPne: &cdcmp,
OPunord: &cdcmp,
OPlg: &cdcmp,
OPleg: &cdcmp,
OPule: &cdcmp,
OPul: &cdcmp,
OPuge: &cdcmp,
OPug: &cdcmp,
OPue: &cdcmp,
OPngt: &cdcmp,
OPnge: &cdcmp,
OPnlt: &cdcmp,
OPnle: &cdcmp,
OPord: &cdcmp,
OPnlg: &cdcmp,
OPnleg: &cdcmp,
OPnule: &cdcmp,
OPnul: &cdcmp,
OPnuge: &cdcmp,
OPnug: &cdcmp,
OPnue: &cdcmp,
OPvp_fp: &cdcnvt,
OPcvp_fp: &cdcnvt,
OPoffset: &cdlngsht,
OPnp_fp: &cdshtlng,
OPnp_f16p: &cdfar16,
OPf16p_np: &cdfar16,
OPs16_32: &cdshtlng,
OPu16_32: &cdshtlng,
OPd_s32: &cdcnvt,
OPb_8: &cdcnvt,
OPs32_d: &cdcnvt,
OPd_s16: &cdcnvt,
OPs16_d: &cdcnvt,
OPd_u16: &cdcnvt,
OPu16_d: &cdcnvt,
OPd_u32: &cdcnvt,
OPu32_d: &cdcnvt,
OP32_16: &cdlngsht,
OPd_f: &cdcnvt,
OPf_d: &cdcnvt,
OPd_ld: &cdcnvt,
OPld_d: &cdcnvt,
OPc_r: &cdconvt87,
OPc_i: &cdconvt87,
OPu8_16: &cdbyteint,
OPs8_16: &cdbyteint,
OP16_8: &cdlngsht,
OPu32_64: &cdshtlng,
OPs32_64: &cdshtlng,
OP64_32: &cdlngsht,
OPu64_128: &cdshtlng,
OPs64_128: &cdshtlng,
OP128_64: &cdlngsht,
OPmsw: &cdmsw,
OPd_s64: &cdcnvt,
OPs64_d: &cdcnvt,
OPd_u64: &cdcnvt,
OPu64_d: &cdcnvt,
OPld_u64: &cdcnvt,
OPparam: &cderr,
OPsizeof: &cderr,
OParrow: &cderr,
OParrowstar: &cderr,
OPcolon: &cderr,
OPcolon2: &cderr,
OPbool: &cdnot,
OPcall: &cdfunc,
OPucall: &cdfunc,
OPcallns: &cdfunc,
OPucallns: &cdfunc,
OPstrpar: &cderr,
OPstrctor: &cderr,
OPstrthis: &cdstrthis,
OPconst: &cderr,
OPvar: &cderr,
OPnew: &cderr,
OPanew: &cderr,
OPdelete: &cderr,
OPadelete: &cderr,
OPbrack: &cderr,
OPframeptr: &cdframeptr,
OPgot: &cdgot,
OPbsf: &cdbscan,
OPbsr: &cdbscan,
OPbtst: &cdbtst,
OPbt: &cdbt,
OPbtc: &cdbt,
OPbtr: &cdbt,
OPbts: &cdbt,
OPbswap: &cdbswap,
OPpopcnt: &cdpopcnt,
OPvector: &cdvector,
OPvecsto: &cdvecsto,
OPvecfill: &cdvecfill,
OPva_start: &cderr,
OPprefetch: &cdprefetch,
];
void codelem(ref CodeBuilder cdb,elem *e,regm_t *pretregs,uint constflag)
{
Symbol *s;
debug if (debugw)
{
printf("+codelem(e=%p,*pretregs=%s) ",e,regm_str(*pretregs));
WROP(e.Eoper);
printf("msavereg=%s regcon.cse.mval=%s regcon.cse.mops=%s\n",
regm_str(msavereg),regm_str(regcon.cse.mval),regm_str(regcon.cse.mops));
printf("Ecount = %d, Ecomsub = %d\n", e.Ecount, e.Ecomsub);
}
assert(e);
elem_debug(e);
if ((regcon.cse.mops & regcon.cse.mval) != regcon.cse.mops)
{
debug
{
printf("+codelem(e=%p,*pretregs=%s) ", e, regm_str(*pretregs));
elem_print(e);
printf("msavereg=%s regcon.cse.mval=%s regcon.cse.mops=%s\n",
regm_str(msavereg),regm_str(regcon.cse.mval),regm_str(regcon.cse.mops));
printf("Ecount = %d, Ecomsub = %d\n", e.Ecount, e.Ecomsub);
}
assert(0);
}
if (!(constflag & 1) && *pretregs & (mES | ALLREGS | mBP | XMMREGS) & ~regcon.mvar)
*pretregs &= ~regcon.mvar; /* can't use register vars */
uint op = e.Eoper;
if (e.Ecount && e.Ecount != e.Ecomsub) // if common subexp
{
comsub(cdb,e,pretregs);
goto L1;
}
if (configv.addlinenumbers && e.Esrcpos.Slinnum)
cdb.genlinnum(e.Esrcpos);
switch (op)
{
default:
if (e.Ecount) /* if common subexp */
{
/* if no return value */
if ((*pretregs & (mSTACK | mES | ALLREGS | mBP | XMMREGS)) == 0)
{
if (*pretregs & (mST0 | mST01))
{
//printf("generate ST0 comsub for:\n");
//elem_print(e);
regm_t retregs = *pretregs & mST0 ? mXMM0 : mXMM0|mXMM1;
(*cdxxx[op])(cdb,e,&retregs);
cssave(e,retregs,!OTleaf(op));
fixresult(cdb, e, retregs, pretregs);
goto L1;
}
if (tysize(e.Ety) == 1)
*pretregs |= BYTEREGS;
else if ((tyxmmreg(e.Ety) || tysimd(e.Ety)) && config.fpxmmregs)
*pretregs |= XMMREGS;
else if (tybasic(e.Ety) == TYdouble || tybasic(e.Ety) == TYdouble_alias)
*pretregs |= DOUBLEREGS;
else
*pretregs |= ALLREGS; /* make one */
}
/* BUG: For CSEs, make sure we have both an MSW */
/* and an LSW specified in *pretregs */
}
assert(op <= OPMAX);
(*cdxxx[op])(cdb,e,pretregs);
break;
case OPrelconst:
cdrelconst(cdb,e,pretregs);
break;
case OPvar:
if (constflag & 1 && (s = e.EV.Vsym).Sfl == FLreg &&
(s.Sregm & *pretregs) == s.Sregm)
{
if (tysize(e.Ety) <= REGSIZE && tysize(s.Stype.Tty) == 2 * REGSIZE)
*pretregs &= mPSW | (s.Sregm & mLSW);
else
*pretregs &= mPSW | s.Sregm;
}
goto case OPconst;
case OPconst:
if (*pretregs == 0 && (e.Ecount >= 3 || e.Ety & mTYvolatile))
{
switch (tybasic(e.Ety))
{
case TYbool:
case TYchar:
case TYschar:
case TYuchar:
*pretregs |= BYTEREGS;
break;
case TYnref:
case TYnptr:
case TYsptr:
case TYcptr:
case TYfgPtr:
case TYimmutPtr:
case TYsharePtr:
case TYrestrictPtr:
*pretregs |= I16 ? IDXREGS : ALLREGS;
break;
case TYshort:
case TYushort:
case TYint:
case TYuint:
case TYlong:
case TYulong:
case TYllong:
case TYullong:
case TYcent:
case TYucent:
case TYfptr:
case TYhptr:
case TYvptr:
*pretregs |= ALLREGS;
break;
default:
break;
}
}
loaddata(cdb,e,pretregs);
break;
}
cssave(e,*pretregs,!OTleaf(op));
L1:
if (!(constflag & 2))
freenode(e);
debug if (debugw)
{
printf("-codelem(e=%p,*pretregs=%s) ",e,regm_str(*pretregs));
WROP(op);
printf("msavereg=%s regcon.cse.mval=%s regcon.cse.mops=%s\n",
regm_str(msavereg),regm_str(regcon.cse.mval),regm_str(regcon.cse.mops));
}
}
/*******************************
* Same as codelem(), but do not destroy the registers in keepmsk.
* Use scratch registers as much as possible, then use stack.
* Input:
* constflag true if user of result will not modify the
* registers returned in *pretregs.
*/
void scodelem(ref CodeBuilder cdb, elem *e,regm_t *pretregs,regm_t keepmsk,bool constflag)
{
regm_t touse;
debug if (debugw)
printf("+scodelem(e=%p *pretregs=%s keepmsk=%s constflag=%d\n",
e,regm_str(*pretregs),regm_str(keepmsk),constflag);
elem_debug(e);
if (constflag)
{
regm_t regm;
reg_t reg;
if (isregvar(e,®m,®) && // if e is a register variable
(regm & *pretregs) == regm && // in one of the right regs
e.EV.Voffset == 0
)
{
uint sz1 = tysize(e.Ety);
uint sz2 = tysize(e.EV.Vsym.Stype.Tty);
if (sz1 <= REGSIZE && sz2 > REGSIZE)
regm &= mLSW | XMMREGS;
fixresult(cdb,e,regm,pretregs);
cssave(e,regm,0);
freenode(e);
debug if (debugw)
printf("-scodelem(e=%p *pretregs=%s keepmsk=%s constflag=%d\n",
e,regm_str(*pretregs),regm_str(keepmsk),constflag);
return;
}
}
regm_t overlap = msavereg & keepmsk;
msavereg |= keepmsk; /* add to mask of regs to save */
regm_t oldregcon = regcon.cse.mval;
regm_t oldregimmed = regcon.immed.mval;
regm_t oldmfuncreg = mfuncreg; /* remember old one */
mfuncreg = (XMMREGS | mBP | mES | ALLREGS) & ~regcon.mvar;
uint stackpushsave = stackpush;
char calledafuncsave = calledafunc;
calledafunc = 0;
CodeBuilder cdbx; cdbx.ctor();
codelem(cdbx,e,pretregs,constflag); // generate code for the elem
regm_t tosave = keepmsk & ~msavereg; /* registers to save */
if (tosave)
{
cgstate.stackclean++;
genstackclean(cdbx,stackpush - stackpushsave,*pretregs | msavereg);
cgstate.stackclean--;
}
/* Assert that no new CSEs are generated that are not reflected */
/* in mfuncreg. */
debug if ((mfuncreg & (regcon.cse.mval & ~oldregcon)) != 0)
printf("mfuncreg %s, regcon.cse.mval %s, oldregcon %s, regcon.mvar %s\n",
regm_str(mfuncreg),regm_str(regcon.cse.mval),regm_str(oldregcon),regm_str(regcon.mvar));
assert((mfuncreg & (regcon.cse.mval & ~oldregcon)) == 0);
/* bugzilla 3521
* The problem is:
* reg op (reg = exp)
* where reg must be preserved (in keepregs) while the expression to be evaluated
* must change it.
* The only solution is to make this variable not a register.
*/
if (regcon.mvar & tosave)
{
//elem_print(e);
//printf("test1: regcon.mvar %s tosave %s\n", regm_str(regcon.mvar), regm_str(tosave));
cgreg_unregister(regcon.mvar & tosave);
}
/* which registers can we use to save other registers in? */
if (config.flags4 & CFG4space || // if optimize for space
config.target_cpu >= TARGET_80486) // PUSH/POP ops are 1 cycle
touse = 0; // PUSH/POP pairs are always shorter
else
{
touse = mfuncreg & allregs & ~(msavereg | oldregcon | regcon.cse.mval);
/* Don't use registers we'll have to save/restore */
touse &= ~(fregsaved & oldmfuncreg);
/* Don't use registers that have constant values in them, since
the code generated might have used the value.
*/
touse &= ~oldregimmed;
}
CodeBuilder cdbs1; cdbs1.ctor();
code *cs2 = null;
int adjesp = 0;
for (uint i = 0; tosave; i++)
{
regm_t mi = mask(i);
assert(i < REGMAX);
if (mi & tosave) /* i = register to save */
{
if (touse) /* if any scratch registers */
{
uint j;
for (j = 0; j < 8; j++)
{
regm_t mj = mask(j);
if (touse & mj)
{
genmovreg(cdbs1,j,i);
cs2 = cat(genmovreg(i,j),cs2);
touse &= ~mj;
mfuncreg &= ~mj;
regcon.used |= mj;
break;
}
}
assert(j < 8);
}
else // else use memory
{
CodeBuilder cdby; cdby.ctor();
uint size = gensaverestore(mask(i), cdbs1, cdby);
cs2 = cat(cdby.finish(),cs2);
if (size)
{
stackchanged = 1;
adjesp += size;
}
}
getregs(cdbx,mi);
tosave &= ~mi;
}
}
CodeBuilder cdbs2; cdbs2.ctor();
if (adjesp)
{
// If this is done an odd number of times, it
// will throw off the 8 byte stack alignment.
// We should *only* worry about this if a function
// was called in the code generation by codelem().
int sz = -(adjesp & (STACKALIGN - 1)) & (STACKALIGN - 1);
if (calledafunc && !I16 && sz && (STACKALIGN >= 16 || config.flags4 & CFG4stackalign))
{
regm_t mval_save = regcon.immed.mval;
regcon.immed.mval = 0; // prevent reghasvalue() optimizations
// because c hasn't been executed yet
cod3_stackadj(cdbs1, sz);
regcon.immed.mval = mval_save;
cdbs1.genadjesp(sz);
cod3_stackadj(cdbs2, -sz);
cdbs2.genadjesp(-sz);
}
cdbs2.append(cs2);
cdbs1.genadjesp(adjesp);
cdbs2.genadjesp(-adjesp);
}
else
cdbs2.append(cs2);
calledafunc |= calledafuncsave;
msavereg &= ~keepmsk | overlap; /* remove from mask of regs to save */
mfuncreg &= oldmfuncreg; /* update original */
debug if (debugw)
printf("-scodelem(e=%p *pretregs=%s keepmsk=%s constflag=%d\n",
e,regm_str(*pretregs),regm_str(keepmsk),constflag);
cdb.append(cdbs1);
cdb.append(cdbx);
cdb.append(cdbs2);
return;
}
/*********************************************
* Turn register mask into a string suitable for printing.
*/
const(char)* regm_str(regm_t rm)
{
enum NUM = 10;
enum SMAX = 128;
__gshared char[SMAX + 1][NUM] str;
__gshared int i;
if (rm == 0)
return "0";
if (rm == ALLREGS)
return "ALLREGS";
if (rm == BYTEREGS)
return "BYTEREGS";
if (rm == allregs)
return "allregs";
if (rm == XMMREGS)
return "XMMREGS";
char *p = str[i].ptr;
if (++i == NUM)
i = 0;
*p = 0;
for (size_t j = 0; j < 32; j++)
{
if (mask(cast(uint)j) & rm)
{
strcat(p,regstring[j]);
rm &= ~mask(cast(uint)j);
if (rm)
strcat(p,"|");
}
}
if (rm)
{ char *s = p + strlen(p);
sprintf(s,"x%02x",rm);
}
assert(strlen(p) <= SMAX);
return strdup(p);
}
/*********************************
* Scan down comma-expressions.
* Output:
* *pe = first elem down right side that is not an OPcomma
* Returns:
* code generated for left branches of comma-expressions
*/
void docommas(ref CodeBuilder cdb,elem **pe)
{
uint stackpushsave = stackpush;
int stackcleansave = cgstate.stackclean;
cgstate.stackclean = 0;
elem* e = *pe;
while (1)
{
if (configv.addlinenumbers && e.Esrcpos.Slinnum)
{
cdb.genlinnum(e.Esrcpos);
//e.Esrcpos.Slinnum = 0; // don't do it twice
}
if (e.Eoper != OPcomma)
break;
regm_t retregs = 0;
codelem(cdb,e.EV.E1,&retregs,true);
elem* eold = e;
e = e.EV.E2;
freenode(eold);
}
*pe = e;
assert(cgstate.stackclean == 0);
cgstate.stackclean = stackcleansave;
genstackclean(cdb,stackpush - stackpushsave,0);
}
/**************************
* For elems in regcon that don't match regconsave,
* clear the corresponding bit in regcon.cse.mval.
* Do same for regcon.immed.
*/
void andregcon(con_t *pregconsave)
{
regm_t m = ~1;
for (int i = 0; i < REGMAX; i++)
{
if (pregconsave.cse.value[i] != regcon.cse.value[i])
regcon.cse.mval &= m;
if (pregconsave.immed.value[i] != regcon.immed.value[i])
regcon.immed.mval &= m;
m <<= 1;
m |= 1;
}
//printf("regcon.cse.mval = %s, regconsave.mval = %s ",regm_str(regcon.cse.mval),regm_str(pregconsave.cse.mval));
regcon.used |= pregconsave.used;
regcon.cse.mval &= pregconsave.cse.mval;
regcon.immed.mval &= pregconsave.immed.mval;
regcon.params &= pregconsave.params;
//printf("regcon.cse.mval®con.cse.mops = %s, regcon.cse.mops = %s\n",regm_str(regcon.cse.mval & regcon.cse.mops), regm_str(regcon.cse.mops));
regcon.cse.mops &= regcon.cse.mval;
}
}
| D |
/*
* gdiplusmetafile.d
*
* This module implements GdiPlusMetaFile.h for D. The original
* copyright info is given below.
*
* Author: Dave Wilkinson
* Originated: November 25th, 2009
*
*/
module binding.win32.gdiplusmetafile;
import binding.win32.windef;
import binding.win32.winbase;
import binding.win32.winnt;
import binding.win32.wingdi;
import binding.win32.guiddef;
import binding.win32.gdiplusbase;
import binding.win32.gdiplustypes;
import binding.win32.gdiplusenums;
import binding.win32.gdipluspixelformats;
import binding.win32.gdiplusgpstubs;
import binding.win32.gdiplusmetaheader;
import binding.win32.gdipluspixelformats;
import binding.win32.gdipluscolor;
import binding.win32.gdipluscolormatrix;
import binding.win32.gdiplusflat;
import binding.win32.gdiplusimaging;
import binding.win32.gdiplusbitmap;
import binding.win32.gdiplusimageattributes;
import binding.win32.gdiplusmatrix;
import binding.win32.gdiplusgraphics;
/**************************************************************************\
*
* Copyright (c) 1998-2001, Microsoft Corp. All Rights Reserved.
*
* Module Name:
*
* GdiplusMetafile.h
*
* Abstract:
*
* GDI+ Metafile class
*
\**************************************************************************/
class Metafile : Image {
// Playback a metafile from a HMETAFILE
// If deleteWmf is TRUE, then when the metafile is deleted,
// the hWmf will also be deleted. Otherwise, it won't be.
this(
in HMETAFILE hWmf,
in WmfPlaceableFileHeader * wmfPlaceableFileHeader,
in BOOL deleteWmf = FALSE) {
GpMetafile * metafile = null;
lastResult = GdipCreateMetafileFromWmf(hWmf, deleteWmf,
wmfPlaceableFileHeader,
&metafile);
SetNativeImage(metafile);
}
// Playback a metafile from a HENHMETAFILE
// If deleteEmf is TRUE, then when the metafile is deleted,
// the hEmf will also be deleted. Otherwise, it won't be.
this(in HENHMETAFILE hEmf, in BOOL deleteEmf = FALSE) {
GpMetafile * metafile = null;
lastResult = GdipCreateMetafileFromEmf(hEmf, deleteEmf,
&metafile);
SetNativeImage(metafile);
}
this(in WCHAR* filename) {
GpMetafile * metafile = null;
lastResult = GdipCreateMetafileFromFile(filename,
&metafile);
SetNativeImage(metafile);
}
// Playback a WMF metafile from a file.
this(in WCHAR* filename, in WmfPlaceableFileHeader* wmfPlaceableFileHeader) {
GpMetafile * metafile = null;
lastResult = GdipCreateMetafileFromWmfFile(filename,
wmfPlaceableFileHeader,
&metafile);
SetNativeImage(metafile);
}
//this(in IStream* stream) {
// GpMetafile * metafile = null;
//
// lastResult = GdipCreateMetafileFromStream(stream,
// &metafile);
//
// SetNativeImage(metafile);
//
//}
// Record a metafile to memory.
this(in HDC referenceHdc, in EmfType type = EmfType.EmfTypeEmfPlusDual, in WCHAR* description = null) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafile(
referenceHdc, type, null, MetafileFrameUnit.MetafileFrameUnitGdi,
description, &metafile);
SetNativeImage(metafile);
}
// Record a metafile to memory.
this(in HDC referenceHdc, in RectF frameRect, in MetafileFrameUnit frameUnit = MetafileFrameUnit.MetafileFrameUnitGdi,
in EmfType type = EmfType.EmfTypeEmfPlusDual, in WCHAR* description = null) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafile(
referenceHdc, type, &frameRect, frameUnit,
description, &metafile);
SetNativeImage(metafile);
}
// Record a metafile to memory.
this(
in HDC referenceHdc,
in Rect frameRect,
in MetafileFrameUnit frameUnit = MetafileFrameUnit.MetafileFrameUnitGdi,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileI(
referenceHdc, type, &frameRect, frameUnit,
description, &metafile);
SetNativeImage(metafile);
}
this(
in WCHAR* fileName,
in HDC referenceHdc,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileFileName(fileName,
referenceHdc, type, null, MetafileFrameUnit.MetafileFrameUnitGdi,
description, &metafile);
SetNativeImage(metafile);
}
this(
in WCHAR* fileName,
in HDC referenceHdc,
in RectF frameRect,
in MetafileFrameUnit frameUnit = MetafileFrameUnit.MetafileFrameUnitGdi,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileFileName(fileName,
referenceHdc, type, &frameRect, frameUnit,
description, &metafile);
SetNativeImage(metafile);
}
this(
in WCHAR* fileName,
in HDC referenceHdc,
in Rect frameRect,
in MetafileFrameUnit frameUnit = MetafileFrameUnit.MetafileFrameUnitGdi,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileFileNameI(fileName,
referenceHdc, type, &frameRect, frameUnit,
description, &metafile);
SetNativeImage(metafile);
}
/*
this(
in IStream * stream,
in HDC referenceHdc,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileStream(stream,
referenceHdc, type, null, MetafileFrameUnitGdi,
description, &metafile);
SetNativeImage(metafile);
}
this(
in IStream * stream,
in HDC referenceHdc,
in RectF frameRect,
in MetafileFrameUnit frameUnit = MetafileFrameUnit.MetafileFrameUnitGdi,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileStream(stream,
referenceHdc, type, &frameRect, frameUnit,
description, &metafile);
SetNativeImage(metafile);
}
this(
in IStream * stream,
in HDC referenceHdc,
in Rect frameRect,
in MetafileFrameUnit frameUnit = MetafileFrameUnit.MetafileFrameUnitGdi,
in EmfType type = EmfType.EmfTypeEmfPlusDual,
in WCHAR * description = null
) {
GpMetafile * metafile = null;
lastResult = GdipRecordMetafileStreamI(stream,
referenceHdc, type, &frameRect, frameUnit,
description, &metafile);
SetNativeImage(metafile);
}*/
static Status GetMetafileHeader(in HMETAFILE hWmf, in WmfPlaceableFileHeader* wmfPlaceableFileHeader, MetafileHeader* header) {
return GdipGetMetafileHeaderFromWmf(hWmf, wmfPlaceableFileHeader, header);
}
static Status GetMetafileHeader(in HENHMETAFILE hEmf, MetafileHeader* header) {
return GdipGetMetafileHeaderFromEmf(hEmf, header);
}
static Status GetMetafileHeader(in WCHAR* filename, MetafileHeader* header) {
return GdipGetMetafileHeaderFromFile(filename, header);
}
/*
static Status GetMetafileHeader(
in IStream * stream,
MetafileHeader * header
) {
return GdipGetMetafileHeaderFromStream(stream, header);
}
*/
Status GetMetafileHeader(MetafileHeader* header) {
return SetStatus(GdipGetMetafileHeaderFromMetafile(
cast(GpMetafile *)nativeImage,
header));
}
// Once this method is called, the Metafile object is in an invalid state
// and can no longer be used. It is the responsiblity of the caller to
// invoke DeleteEnhMetaFile to delete this hEmf.
HENHMETAFILE GetHENHMETAFILE() {
HENHMETAFILE hEmf;
SetStatus(GdipGetHemfFromMetafile(
cast(GpMetafile *)nativeImage,
&hEmf));
return hEmf;
}
// Used in conjuction with Graphics::EnumerateMetafile to play an EMF+
// The data must be DWORD aligned if it's an EMF or EMF+. It must be
// WORD aligned if it's a WMF.
Status PlayRecord(in EmfPlusRecordType recordType, in UINT flags, in UINT dataSize, in BYTE* data) {
return SetStatus(GdipPlayMetafileRecord(
cast(GpMetafile *)nativeImage,
recordType,
flags,
dataSize,
data));
}
// If you're using a printer HDC for the metafile, but you want the
// metafile rasterized at screen resolution, then use this API to set
// the rasterization dpi of the metafile to the screen resolution,
// e.g. 96 dpi or 120 dpi.
Status SetDownLevelRasterizationLimit(in UINT metafileRasterizationLimitDpi) {
return SetStatus(
GdipSetMetafileDownLevelRasterizationLimit(
cast(GpMetafile *)nativeImage,
metafileRasterizationLimitDpi));
}
UINT GetDownLevelRasterizationLimit() {
UINT metafileRasterizationLimitDpi = 0;
SetStatus(GdipGetMetafileDownLevelRasterizationLimit(
cast(GpMetafile *)nativeImage,
&metafileRasterizationLimitDpi));
return metafileRasterizationLimitDpi;
}
static UINT EmfToWmfBits(in HENHMETAFILE hemf, in UINT cbData16, LPBYTE pData16, in INT iMapMode = MM_ANISOTROPIC, in INT eFlags = EmfToWmfBitsFlags.EmfToWmfBitsFlagsDefault) {
return GdipEmfToWmfBits(
hemf,
cbData16,
pData16,
iMapMode,
eFlags);
}
version(GDIPLUS6) {
Status ConvertToEmfPlus(
in Graphics* refGraphics,
in INT* conversionFailureFlag = null,
in EmfType emfType = EmfType.EmfTypeEmfPlusOnly,
in WCHAR* description = null
) {
GpMetafile * metafile = null;
GpStatus status = GdipConvertToEmfPlus(
cast(GpGraphics*)refGraphics.nativeGraphics,
cast(GpMetafile *)nativeImage,
conversionFailureFlag,
emfType, description, &metafile);
if (metafile !is null) {
if (status == Status.Ok) {
GdipDisposeImage(nativeImage);
SetNativeImage(metafile);
}
else {
GdipDisposeImage(metafile);
}
}
return status;
}
Status ConvertToEmfPlus(
in Graphics* refGraphics,
in WCHAR* filename,
in INT* conversionFailureFlag = null,
in EmfType emfType = EmfType.EmfTypeEmfPlusOnly,
in WCHAR* description = null
) {
GpMetafile * metafile = null;
GpStatus status = GdipConvertToEmfPlusToFile(
cast(GpGraphics*)refGraphics.nativeGraphics,
cast(GpMetafile *)nativeImage,
conversionFailureFlag,
filename, emfType, description, &metafile);
if (metafile !is null) {
if (status == Status.Ok) {
GdipDisposeImage(nativeImage);
SetNativeImage(metafile);
}
else {
GdipDisposeImage(metafile);
}
}
return status;
}
}
/* Status ConvertToEmfPlus(
in Graphics* refGraphics,
in IStream* stream,
in INT* conversionFailureFlag = null,
in EmfType emfType = EmfType.EmfTypeEmfPlusOnly,
in WCHAR* description = null
) {
GpMetafile * metafile = null;
GpStatus status = GdipConvertToEmfPlusToStream(
cast(GpGraphics*)refGraphics.nativeGraphics,
cast(GpMetafile *)nativeImage,
conversionFailureFlag,
stream, emfType, description, &metafile);
if (metafile != null) {
if (status == Status.Ok) {
GdipDisposeImage(nativeImage);
SetNativeImage(metafile);
}
else {
GdipDisposeImage(metafile);
}
}
return status;
}
*/
protected:
this() {
SetNativeImage(null);
lastResult = Status.Ok;
}
}
| D |
/home/gregv/dev/racy/target/debug/deps/num_cpus-ccb7f23b1f602fa6.rmeta: /home/gregv/.cargo/registry/src/github.com-1ecc6299db9ec823/num_cpus-1.8.0/src/lib.rs
/home/gregv/dev/racy/target/debug/deps/num_cpus-ccb7f23b1f602fa6.d: /home/gregv/.cargo/registry/src/github.com-1ecc6299db9ec823/num_cpus-1.8.0/src/lib.rs
/home/gregv/.cargo/registry/src/github.com-1ecc6299db9ec823/num_cpus-1.8.0/src/lib.rs:
| D |
/Users/amori/Github/games/flower/target/debug/build/rayon-b350abe044ebf374/build_script_build-b350abe044ebf374: /Users/amori/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.2/build.rs
/Users/amori/Github/games/flower/target/debug/build/rayon-b350abe044ebf374/build_script_build-b350abe044ebf374.d: /Users/amori/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.2/build.rs
/Users/amori/.cargo/registry/src/github.com-1ecc6299db9ec823/rayon-1.0.2/build.rs:
| D |
/**
* ae.ui.timer.thread.timer
*
* License:
* This Source Code Form is subject to the terms of
* the Mozilla Public License, v. 2.0. If a copy of
* the MPL was not distributed with this file, You
* can obtain one at http://mozilla.org/MPL/2.0/.
*
* Authors:
* Vladimir Panteleev <vladimir@thecybershadow.net>
*/
module ae.ui.timer.thread.timer;
import core.thread;
import core.sync.semaphore;
public import ae.ui.timer.timer;
import ae.ui.app.application;
import ae.sys.timing;
alias ae.sys.timing.Timer SysTimer;
alias ae.ui.timer.timer.Timer Timer;
alias core.time.TickDuration TickDuration; // bug 314
final class ThreadTimer : Timer
{
SysTimer sysTimer;
Semaphore semaphore;
shared bool prodding;
this()
{
sysTimer = new SysTimer;
semaphore = new Semaphore;
auto thread = new Thread(&threadProc);
thread.isDaemon = true;
thread.start();
}
override TimerEvent setTimeout (AppCallback fn, uint ms) { return new ThreadTimerEvent(fn, ms, false); }
override TimerEvent setInterval(AppCallback fn, uint ms) { return new ThreadTimerEvent(fn, ms, true ); }
private:
void threadProc()
{
while (true)
{
TickDuration remainingTime;
synchronized(sysTimer)
{
prodding = true;
sysTimer.prod();
prodding = false;
remainingTime = sysTimer.getRemainingTime();
}
if (remainingTime == SysTimer.NEVER)
semaphore.wait();
else
semaphore.wait(cast(Duration)remainingTime);
}
}
final class ThreadTimerEvent : TimerEvent
{
AppCallback fn;
bool recurring;
TimerTask task;
this(AppCallback fn, uint ms, bool recurring)
{
this.fn = fn;
this.recurring = recurring;
this.task = new TimerTask(TickDuration.from!"msecs"(ms), &taskCallback);
synchronized(sysTimer)
sysTimer.add(task);
}
void taskCallback(SysTimer timer, TimerTask task)
{
if (recurring)
timer.add(task);
fn.call();
}
override void cancel()
{
if (prodding) // cancel called from timer event handler, synchronization would cause a deadlock
sysTimer.remove(task);
else
synchronized(sysTimer)
sysTimer.remove(task);
}
}
}
| D |
module engine.gamescene;
import engine.gameobject;
import engine.events;
interface IGameScene {
void render();
void update();
void destroy();
void addObject(IGameObject gameObject);
bool visible();
void visible(bool visible);
bool finished();
void finished(bool finished);
}
abstract class GameScene : IGameScene {
import engine.gameobject: IGameObject;
import std.algorithm: sort;
import engine.vector2 : Vector2;
import std.signals;
private {
IGameObject[] gameObjects;
bool _visible = true;
bool _finished;
}
void addObject(IGameObject gameObject) {
import std.stdio : writeln;
if((cast(IClickable)gameObject)) { this.connect(&(cast(IClickable)gameObject).onClick); }
//writeln(typeid((cast(Object)gameObject)).interfaces);
gameObjects ~= gameObject;
gameObjects.sort!((ref x, ref y) => x.zOrder() < y.zOrder());
}
@property size_t objectCount() const {
return gameObjects.length;
}
@property bool visible() const {
return _visible;
}
@property void visible(bool visible) {
_visible = visible;
}
bool finished() {
return _finished;
}
void finished(bool finished) {
_finished = finished;
}
void watch(string msg, Vector2 pos) {
//emit(msg, pos);
import std.algorithm;
import std.range;
final switch(msg) {
case "mouseDown":
gameObjects
.filter!((ref x) => cast(IClickable)x)
.each!((ref x) => (cast(IClickable)x).onClick(msg, pos));
break;
case "mouseUp":
gameObjects
.filter!((ref x) => cast(IClickable)x)
.each!((ref x) => (cast(IClickable)x).onClick(msg, pos));
break;
case "mouseMove":
gameObjects
.filter!((ref x) => cast(IMoveable)x)
.each!((ref x) => (cast(IMoveable)x).onMove(msg, pos));
break;
}
}
void update() {
foreach(ref gameObject; gameObjects) {
gameObject.update();
}
}
void render() {
foreach(ref gameObject; gameObjects) {
gameObject.render();
}
}
void destroy() {
foreach(ref gameObject; gameObjects) {
gameObject.destroy();
}
}
mixin Signal!(string, Vector2);
} | D |
instance Spell_IceBolt(C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_DAMAGE_Icebolt;
damagetype = DAM_MAGIC;
};
func int Spell_Logic_IceBolt(var int manaInvested)
{
if(Npc_GetActiveSpellIsScroll(self) && (self.attribute[ATR_MANA] >= SPL_Cost_Scroll))
{
return SPL_SENDCAST;
}
else if(self.attribute[ATR_MANA] >= SPL_COST_Icebolt)
{
return SPL_SENDCAST;
}
else
{
return SPL_SENDSTOP;
};
return SPL_SENDSTOP;
};
func void Spell_Cast_IceBolt()
{
if(Npc_IsPlayer(self) && (PLAYERISTRANSFER == TRUE) && (PLAYERISTRANSFERDONE == FALSE))
{
b_transferback(self);
};
if(Npc_GetActiveSpellIsScroll(self))
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_Cost_Scroll;
}
else
{
self.attribute[ATR_MANA] = self.attribute[ATR_MANA] - SPL_COST_Icebolt;
};
if(Npc_IsPlayer(self) && (MIS_RUNEMAGICNOTWORK == LOG_Running) && (TESTRUNEME == FALSE) && !Npc_GetActiveSpellIsScroll(self))
{
if((FIREMAGERUNESNOT == TRUE) || (WATERMAGERUNESNOT == TRUE) || (GURUMAGERUNESNOT == TRUE) || (PALADINRUNESNOT == TRUE))
{
B_LogEntry(TOPIC_RUNEMAGICNOTWORK,"Zajímavé! Na rozdíl od Pyrokara a ostatních mágů, já runovou magii pořád používat můžu! Co by to mohlo znamenat?");
}
else
{
B_LogEntry(TOPIC_RUNEMAGICNOTWORK,"Zajímavé! Na rozdíl od Pyrokara, já runovou magii pořád používat můžu! Co by to mohlo znamenat?");
};
TESTRUNEME = TRUE;
};
self.aivar[AIV_SelectSpell] += 1;
};
instance Spell_RapidIcebolt(C_Spell_Proto)
{
time_per_mana = 0;
damage_per_level = SPL_Damage_RapidIcebolt;
targetCollectAlgo = TARGET_COLLECT_FOCUS;
damagetype = DAM_MAGIC;
};
func int Spell_Logic_RapidIcebolt(var int manaInvested)
{
return SPL_SENDSTOP;
};
func void Spell_Cast_RapidIcebolt()
{
}; | D |
/**
Module introduces the API that defines Feature Detector utilities in the dcv library.
Copyright: Copyright Relja Ljubobratovic 2016.
Authors: Relja Ljubobratovic
License: $(LINK3 http://www.boost.org/LICENSE_1_0.txt, Boost Software License - Version 1.0).
*/
module dcv.features.detector;
import std.experimental.ndslice;
public import dcv.core.image : Image;
public import dcv.features.utils : Feature;
/**
Feature detector interface.
Each feature detector algorithm
implements this interface.
*/
interface Detector
{
/**
Detector features in the image.
Params:
image = Image in which features are looked for.
count = How many features are to be extracted from given image.
*/
Feature[] detect(in Image image, size_t count) const;
}
| D |
/**
* TLS Channel
*
* Copyright:
* (C) 2011,2012,2014 Jack Lloyd
* (C) 2014-2015 Etienne Cimon
*
* License:
* Botan is released under the Simplified BSD License (see LICENSE.md)
*/
module botan.tls.channel;
import botan.constants;
static if (BOTAN_HAS_TLS):
public import botan.cert.x509.x509cert;
public import botan.tls.policy;
public import botan.tls.session;
public import botan.tls.alert;
public import botan.tls.session_manager;
public import botan.tls.version_;
public import botan.tls.exceptn;
public import botan.rng.rng;
import core.thread : Thread;
import botan.tls.handshake_state;
import botan.tls.messages;
import botan.tls.heartbeats;
import botan.tls.record;
import botan.tls.seq_numbers;
import botan.utils.rounding;
import memutils.dictionarylist;
import botan.utils.loadstor;
import botan.utils.types;
import botan.utils.get_byte;
import memutils.hashmap;
import std.string : toStringz;
import std.algorithm;
alias DataWriter = void delegate(in ubyte[]);
alias OnClearData = void delegate(in ubyte[]);
alias OnAlert = void delegate(in TLSAlert, in ubyte[]);
alias OnHandshakeComplete = bool delegate(in TLSSession);
/**
* Generic interface for TLS endpoint
*/
class TLSChannel
{
public:
this(DataWriter output_fn,
OnClearData data_cb,
OnAlert alert_cb,
OnHandshakeComplete handshake_cb,
TLSSessionManager session_manager,
RandomNumberGenerator rng,
bool is_datagram,
size_t reserved_io_buffer_size)
{
m_owner = Thread.getThis();
m_handshake_cb = handshake_cb;
m_data_cb = data_cb;
m_alert_cb = alert_cb;
m_output_fn = output_fn;
m_rng = rng;
m_session_manager = session_manager;
/* epoch 0 is plaintext, thus null cipher state */
//m_write_cipher_states[cast(ushort)0] = ConnectionCipherState.init;
//m_read_cipher_states[cast(ushort)0] = ConnectionCipherState.init;
m_writebuf.reserve(reserved_io_buffer_size);
m_readbuf.reserve(reserved_io_buffer_size);
}
/**
* Inject TLS traffic received from counterparty
* Returns: a hint as the how many more bytes we need to process the
* current record (this may be 0 if on a record boundary)
*/
size_t receivedData(const(ubyte)* input, size_t input_size)
{
const size_t max_fragment_size = maximumFragmentSize();
try
{
while (!isClosed() && input_size)
{
SecureVector!ubyte record;
ulong record_sequence = 0;
RecordType record_type = NO_RECORD;
TLSProtocolVersion record_version;
size_t consumed = 0;
const size_t needed = .readRecord(m_readbuf,
input,
input_size,
m_is_datagram,
consumed,
record,
record_sequence,
record_version,
record_type,
*m_sequence_numbers,
&readCipherStateEpoch);
assert(consumed > 0, "Got to eat something");
assert(consumed <= input_size, "Record reader consumed sane amount");
input += consumed;
input_size -= consumed;
assert(input_size == 0 || needed == 0, "Got a full record or consumed all input");
if (input_size == 0 && needed != 0)
return needed; // need more data to complete record
if (record.length > max_fragment_size)
throw new TLSException(TLSAlert.RECORD_OVERFLOW, "Plaintext record is too large");
if (record_type == HANDSHAKE || record_type == CHANGE_CIPHER_SPEC)
{
if (!m_pending_state)
{
if (record_version.isDatagramProtocol())
{
if (m_sequence_numbers)
{
/*
* Might be a peer retransmit under epoch - 1 in which
* case we must retransmit last flight
*/
(*m_sequence_numbers).readAccept(record_sequence);
const ushort epoch = record_sequence >> 48;
if (epoch == sequenceNumbers().currentReadEpoch())
{
createHandshakeState(record_version);
}
else if (epoch == sequenceNumbers().currentReadEpoch() - 1)
{
assert(m_active_state, "Have active state here");
auto rec = unlock(record);
m_active_state.handshakeIo().addRecord(rec, record_type, record_sequence);
}
}
else if (record_sequence == 0)
{
createHandshakeState(record_version);
}
}
else
{
createHandshakeState(record_version);
}
}
if (m_pending_state)
{
auto rec = unlock(record);
m_pending_state.handshakeIo().addRecord(rec, record_type, record_sequence);
while (true) {
if (auto pending = *m_pending_state) {
auto msg = pending.getNextHandshakeMsg();
if (msg.type == HANDSHAKE_NONE) // no full handshake yet
break;
processHandshakeMsg(activeState(), pending, msg.type, msg.data);
} else break;
}
}
}
else if (record_type == HEARTBEAT && peerSupportsHeartbeats())
{
if (!activeState())
throw new TLSUnexpectedMessage("Heartbeat sent before handshake done");
HeartbeatMessage heartbeat = HeartbeatMessage(unlock(record));
const Vector!ubyte* payload = &heartbeat.payload();
if (heartbeat.isRequest())
{
if (!pendingState())
{
HeartbeatMessage response = HeartbeatMessage(HeartbeatMessage.RESPONSE, payload.ptr, payload.length);
auto rec = response.contents();
sendRecord(HEARTBEAT, rec);
}
}
else
{
m_alert_cb(TLSAlert(TLSAlert.HEARTBEAT_PAYLOAD), cast(ubyte[])(*payload)[]);
}
}
else if (record_type == APPLICATION_DATA)
{
if (!activeState())
throw new TLSUnexpectedMessage("Application data before handshake done");
/*
* OpenSSL among others sends empty records in versions
* before TLS v1.1 in order to randomize the IV of the
* following record. Avoid spurious callbacks.
*/
if (record.length > 0)
m_data_cb(cast(ubyte[])record[]);
}
else if (record_type == ALERT)
{
TLSAlert alert_msg = TLSAlert(record);
if (alert_msg.type() == TLSAlert.NO_RENEGOTIATION)
m_pending_state.free();
if (alert_msg.type() == TLSAlert.CLOSE_NOTIFY)
sendWarningAlert(TLSAlert.CLOSE_NOTIFY); // reply in kind
m_alert_cb(alert_msg, null);
if (alert_msg.isFatal())
{
if (auto active = activeState()) {
auto entry = &active.serverHello().sessionId();
m_session_manager.removeEntry(*entry);
}
return 0;
}
}
else if (record_type != NO_RECORD)
throw new TLSUnexpectedMessage("Unexpected record type " ~ to!string(record_type) ~ " from counterparty");
}
return 0; // on a record boundary
}
catch(TLSException e)
{
sendFatalAlert(e.type());
throw e;
}
catch(IntegrityFailure e)
{
sendFatalAlert(TLSAlert.BAD_RECORD_MAC);
throw e;
}
catch(DecodingError e)
{
sendFatalAlert(TLSAlert.DECODE_ERROR);
throw e;
}
catch(Exception e)
{
logTrace(e.toString());
sendFatalAlert(TLSAlert.INTERNAL_ERROR);
throw e;
}
}
/**
* Inject TLS traffic received from counterparty
* Returns: a hint as the how many more bytes we need to process the
* current record (this may be 0 if on a record boundary)
*/
size_t receivedData(const ref Vector!ubyte buf)
{
return this.receivedData(buf.ptr, buf.length);
}
/**
* Inject plaintext intended for counterparty
* Throws an exception if isActive() is false
*/
void send(const(ubyte)* buf, size_t buf_size)
{
if (!isActive())
throw new TLSClosedException("Data cannot be sent on inactive TLS connection");
sendRecordArray(sequenceNumbers().currentWriteEpoch(), APPLICATION_DATA, buf, buf_size);
}
/**
* Inject plaintext intended for counterparty
* Throws an exception if isActive() is false
*/
void send(in string str)
{
this.send(cast(const(ubyte)*)(str.toStringz), str.length);
}
/**
* Inject plaintext intended for counterparty
* Throws an exception if isActive() is false
*/
void send(Alloc)(const ref Vector!( char, Alloc ) val)
{
send(val.ptr, val.length);
}
/**
* Send a TLS alert message. If the alert is fatal, the internal
* state (keys, etc) will be reset.
*
* Params:
* alert = the TLSAlert to send
*/
void sendAlert(in TLSAlert alert)
{
if (alert.isValid() && !isClosed())
{
try
{
auto rec = alert.serialize();
sendRecord(ALERT, rec);
}
catch (Exception) { /* swallow it */ }
}
if (alert.type() == TLSAlert.NO_RENEGOTIATION)
m_pending_state.free();
if (alert.isFatal()) {
if (auto active = activeState()) {
auto entry = &active.serverHello().sessionId();
m_session_manager.removeEntry(*entry);
}
}
}
/**
* Send a warning alert
*/
void sendWarningAlert(TLSAlertType type) { sendAlert(TLSAlert(type, false)); }
/**
* Send a fatal alert
*/
void sendFatalAlert(TLSAlertType type) { sendAlert(TLSAlert(type, true)); }
/**
* Send a close notification alert
*/
void close() { sendWarningAlert(TLSAlert.CLOSE_NOTIFY); }
/**
* Returns: true iff the connection is active for sending application data
*/
bool isActive() const
{
return (activeState() !is null);
}
/**
* Returns: true iff the connection has been definitely closed
*/
bool isClosed() const
{
if (activeState() || pendingState())
return false;
/*
* If no active or pending state, then either we had a connection
* and it has been closed, or we are a server which has never
* received a connection. This case is detectable by also lacking
* m_sequence_numbers
*/
return (*m_sequence_numbers !is null);
}
/**
* Attempt to renegotiate the session
* Params:
* force_full_renegotiation = if true, require a full renegotiation,
* otherwise allow session resumption
*/
void renegotiate(bool force_full_renegotiation = false)
{
if (pendingState()) // currently in handshake?
return;
if (const HandshakeState active = activeState())
initiateHandshake(createHandshakeState(active.Version()),
force_full_renegotiation);
else
throw new Exception("Cannot renegotiate on inactive connection");
}
/**
* Returns: true iff the peer supports heartbeat messages
*/
bool peerSupportsHeartbeats() const
{
if (const HandshakeState active = activeState())
return active.serverHello().supportsHeartbeats();
return false;
}
/**
* Returns: true iff we are allowed to send heartbeat messages
*/
bool heartbeatSendingAllowed() const
{
if (const HandshakeState active = activeState())
return active.serverHello().peerCanSendHeartbeats();
return false;
}
/**
* Attempt to send a heartbeat message (if negotiated with counterparty)
* Params:
* payload = will be echoed back
* payload_size = size of payload in bytes
*/
void heartbeat(const(ubyte)* payload, size_t payload_size)
{
if (heartbeatSendingAllowed())
{
HeartbeatMessage heartbeat = HeartbeatMessage(HeartbeatMessage.REQUEST, payload, payload_size);
auto rec = heartbeat.contents();
sendRecord(HEARTBEAT, rec);
}
}
/**
* Attempt to send a heartbeat message (if negotiated with counterparty)
*/
void heartbeat() { heartbeat(null, 0); }
/**
* Returns: certificate chain of the peer (may be empty)
*/
Vector!X509Certificate peerCertChain() const
{
if (const HandshakeState active = activeState())
return getPeerCertChain(active).dup;
return Vector!X509Certificate();
}
/**
* Key material export (RFC 5705)
* Params:
* label = a disambiguating label string
* context = a per-association context value
* length = the length of the desired key in bytes
* Returns: key of length bytes
*/
const(SymmetricKey) keyMaterialExport(in string label,
in string context,
size_t length) const
{
if (auto active = activeState())
{
Unique!KDF prf = active.protocolSpecificPrf();
const(SecureVector!ubyte)* master_secret = &active.sessionKeys().masterSecret();
Vector!ubyte salt;
salt ~= label;
salt ~= active.clientHello().randomBytes();
salt ~= active.serverHello().randomBytes();
if (context != "")
{
size_t context_size = context.length;
if (context_size > 0xFFFF)
throw new Exception("key_material_export context is too long");
salt.pushBack(get_byte(0, cast(ushort) context_size));
salt.pushBack(get_byte(1, cast(ushort) context_size));
salt ~= context;
}
return SymmetricKey(prf.deriveKey(length, *master_secret, salt));
}
else
throw new Exception("key_material_export connection not active");
}
/// Returns the ALPN chosen in the ServerHello with the ALPN extention
const(string) applicationProtocol() const { return m_application_protocol; }
/// Returns the current session ID
const(ubyte[]) sessionId() const {
if (auto active = activeState()) {
return active.serverHello().sessionIdBytes();
}
return null;
}
~this()
{
resetState();
}
protected:
abstract void processHandshakeMsg(in HandshakeState active_state,
HandshakeState pending_state,
HandshakeType type,
const ref Vector!ubyte contents);
abstract void initiateHandshake(HandshakeState state,
bool force_full_renegotiation);
abstract Vector!X509Certificate getPeerCertChain(in HandshakeState state) const;
abstract HandshakeState newHandshakeState(HandshakeIO io);
HandshakeState createHandshakeState(TLSProtocolVersion _version)
{
if (pendingState())
throw new InternalError("createHandshakeState called during handshake");
if (const HandshakeState active = activeState())
{
TLSProtocolVersion active_version = active.Version();
if (active_version.isDatagramProtocol() != _version.isDatagramProtocol())
throw new Exception("Active state using version " ~ active_version.toString() ~
" cannot change to " ~ _version.toString() ~ " in pending");
}
if (!m_sequence_numbers)
{
if (_version.isDatagramProtocol())
m_sequence_numbers = new DatagramSequenceNumbers;
else
m_sequence_numbers = new StreamSequenceNumbers;
}
Unique!HandshakeIO io;
if (_version.isDatagramProtocol()) {
// default MTU is IPv6 min MTU minus UDP/IP headers (TODO: make configurable)
const ushort mtu = 1280 - 40 - 8;
io = new DatagramHandshakeIO(*m_sequence_numbers, &sendRecordUnderEpoch, mtu);
}
else {
io = new StreamHandshakeIO(&sendRecord);
}
m_pending_state = newHandshakeState(io.release());
if (auto active = activeState())
m_pending_state.setVersion(active.Version());
return *m_pending_state;
}
/**
* Perform a handshake timeout check. This does nothing unless
* this is a DTLS channel with a pending handshake state, in
* which case we check for timeout and potentially retransmit
* handshake packets.
*/
bool timeoutCheck() {
if (m_pending_state)
return m_pending_state.handshakeIo().timeoutCheck();
//FIXME: scan cipher suites and remove epochs older than 2*MSL
return false;
}
void activateSession()
{
std.algorithm.swap(m_active_state, m_pending_state);
m_pending_state.free();
if (!m_active_state.Version().isDatagramProtocol())
{
// TLS is easy just remove all but the current state
auto current_epoch = sequenceNumbers().currentWriteEpoch();
foreach (const ref ushort k, const ref ConnectionCipherState v; m_write_cipher_states) {
if (k != current_epoch) {
v.destroy();
m_write_cipher_states.remove(k);
}
}
foreach (const ref ushort k, const ref ConnectionCipherState v; m_read_cipher_states) {
if (k != current_epoch) {
v.destroy();
m_write_cipher_states.remove(k);
}
}
}
}
void changeCipherSpecReader(ConnectionSide side)
{
auto pending = pendingState();
assert(pending && pending.serverHello(), "Have received server hello");
if (pending.serverHello().compressionMethod() != NO_COMPRESSION)
throw new InternalError("Negotiated unknown compression algorithm");
(*m_sequence_numbers).newReadCipherState();
const ushort epoch = sequenceNumbers().currentReadEpoch();
assert(m_read_cipher_states.get(epoch, ConnectionCipherState.init) is ConnectionCipherState.init,
"No read cipher state currently set for next epoch");
// flip side as we are reading
ConnectionCipherState read_state = new ConnectionCipherState(pending.Version(),
(side == CLIENT) ? SERVER : CLIENT,
false,
pending.ciphersuite(),
pending.sessionKeys());
m_read_cipher_states[epoch] = read_state;
}
void changeCipherSpecWriter(ConnectionSide side)
{
auto pending = pendingState();
assert(pending && pending.serverHello(), "Have received server hello");
if (pending.serverHello().compressionMethod() != NO_COMPRESSION)
throw new InternalError("Negotiated unknown compression algorithm");
(*m_sequence_numbers).newWriteCipherState();
const ushort epoch = sequenceNumbers().currentWriteEpoch();
assert(m_write_cipher_states.get(epoch, ConnectionCipherState.init) is ConnectionCipherState.init, "No write cipher state currently set for next epoch");
ConnectionCipherState write_state = new ConnectionCipherState(pending.Version(),
side,
true,
pending.ciphersuite(),
pending.sessionKeys());
m_write_cipher_states[epoch] = write_state;
}
/* secure renegotiation handling */
void secureRenegotiationCheck(const ClientHello client_hello)
{
const bool secure_renegotiation = client_hello.secureRenegotiation();
if (auto active = activeState())
{
const bool active_sr = active.clientHello().secureRenegotiation();
if (active_sr != secure_renegotiation)
throw new TLSException(TLSAlert.HANDSHAKE_FAILURE, "TLSClient changed its mind about secure renegotiation");
}
if (secure_renegotiation)
{
Vector!ubyte data = client_hello.renegotiationInfo();
if (data != secureRenegotiationDataForClientHello())
throw new TLSException(TLSAlert.HANDSHAKE_FAILURE, "TLSClient sent bad values for secure renegotiation");
}
}
void secureRenegotiationCheck(const ServerHello server_hello)
{
const bool secure_renegotiation = server_hello.secureRenegotiation();
if (auto active = activeState())
{
const bool active_sr = active.clientHello().secureRenegotiation();
if (active_sr != secure_renegotiation)
throw new TLSException(TLSAlert.HANDSHAKE_FAILURE, "TLSServer changed its mind about secure renegotiation");
}
if (secure_renegotiation)
{
const Vector!ubyte data = server_hello.renegotiationInfo();
if (data != secureRenegotiationDataForServerHello())
throw new TLSException(TLSAlert.HANDSHAKE_FAILURE, "TLSServer sent bad values for secure renegotiation");
}
}
Vector!ubyte secureRenegotiationDataForClientHello() const
{
if (auto active = activeState()) {
auto verif_data = active.clientFinished().verifyDataBytes();
return Vector!ubyte(verif_data);
}
return Vector!ubyte();
}
Vector!ubyte secureRenegotiationDataForServerHello() const
{
if (auto active = activeState())
{
Vector!ubyte buf = active.clientFinished().verifyDataBytes();
buf ~= active.serverFinished().verifyDataBytes();
return buf.move();
}
return Vector!ubyte();
}
/**
* Returns: true iff the counterparty supports the secure
* renegotiation extensions.
*/
bool secureRenegotiationSupported() const
{
if (auto active = activeState())
return active.serverHello().secureRenegotiation();
if (auto pending = pendingState())
if (auto hello = pending.serverHello())
return hello.secureRenegotiation();
return false;
}
RandomNumberGenerator rng() { return m_rng; }
TLSSessionManager sessionManager() { return m_session_manager; }
bool saveSession(in TLSSession session) const { return m_handshake_cb(session); }
private:
size_t maximumFragmentSize() const
{
// should we be caching this value?
if (auto pending = pendingState())
if (auto server_hello = pending.serverHello())
if (size_t frag = server_hello.fragmentSize())
return frag;
if (auto active = activeState())
if (size_t frag = active.serverHello().fragmentSize())
return frag;
return MAX_PLAINTEXT_SIZE;
}
void sendRecord(ubyte record_type, const ref Vector!ubyte record)
{
if (auto seq = sequenceNumbers())
sendRecordArray(seq.currentWriteEpoch(), record_type, record.ptr, record.length);
}
void sendRecordUnderEpoch(ushort epoch, ubyte record_type, const ref Vector!ubyte record)
{
sendRecordArray(epoch, record_type, record.ptr, record.length);
}
void sendRecordArray(ushort epoch, ubyte type, const(ubyte)* input, size_t length)
{
if (length == 0)
return;
/*
* If using CBC mode without an explicit IV (TLS v1.0),
* send a single ubyte of plaintext to randomize the (implicit) IV of
* the following main block. If using a stream cipher, or TLS v1.1
* or higher, this isn't necessary.
*
* An empty record also works but apparently some implementations do
* not like this (https://bugzilla.mozilla.org/show_bug.cgi?id=665814)
*
* See http://www.openssl.org/~bodo/tls-cbc.txt for background.
*/
auto cipher_state = cast(ConnectionCipherState)writeCipherStateEpoch(epoch);
if (type == APPLICATION_DATA && cipher_state.cbcWithoutExplicitIv())
{
writeRecord(cipher_state, epoch, type, input, 1);
input += 1;
length -= 1;
}
const size_t max_fragment_size = maximumFragmentSize();
while (length)
{
const size_t sending = std.algorithm.min(length, max_fragment_size);
writeRecord(cipher_state, epoch, type, input, sending);
input += sending;
length -= sending;
}
}
void writeRecord(ConnectionCipherState cipher_state, ushort epoch, ubyte record_type, const(ubyte)* input, size_t length)
{
assert(m_pending_state || m_active_state, "Some connection state exists");
TLSProtocolVersion record_version = (m_pending_state) ? (m_pending_state.Version()) : (m_active_state.Version());
.writeRecord(m_writebuf,
record_type,
input,
length,
record_version,
(*m_sequence_numbers).nextWriteSequence(epoch),
cipher_state,
m_rng);
m_output_fn(cast(ubyte[]) m_writebuf[]);
}
const(ConnectionSequenceNumbers) sequenceNumbers() const
{
assert(m_sequence_numbers, "Have a sequence numbers object");
return *m_sequence_numbers;
}
const(ConnectionCipherState) readCipherStateEpoch(ushort epoch) const
{
auto state = m_read_cipher_states.get(epoch, ConnectionCipherState.init);
assert(state !is ConnectionCipherState.init || epoch == 0, "Have a cipher state for the specified epoch");
return state;
}
const(ConnectionCipherState) writeCipherStateEpoch(ushort epoch) const
{
auto state = m_write_cipher_states.get(epoch, ConnectionCipherState.init);
assert(state !is ConnectionCipherState.init || epoch == 0, "Have a cipher state for the specified epoch");
return state;
}
protected void resetState()
{
m_active_state.free();
m_pending_state.free();
m_readbuf.destroy();
m_writebuf.destroy();
foreach (const ref k, const ref v; m_write_cipher_states)
{
v.destroy();
}
m_write_cipher_states.clear();
foreach (const ref k, const ref v; m_read_cipher_states)
{
v.destroy();
}
m_read_cipher_states.clear();
}
const(HandshakeState) activeState() const { return *m_active_state; }
const(HandshakeState) pendingState() const { return *m_pending_state; }
Thread m_owner;
package string m_application_protocol;
bool m_is_datagram;
/* callbacks */
OnHandshakeComplete m_handshake_cb;
OnClearData m_data_cb;
OnAlert m_alert_cb;
DataWriter m_output_fn;
/* external state */
RandomNumberGenerator m_rng;
package TLSSessionManager m_session_manager; // fixme: package protection for switchContext, use protected: method instead
/* sequence number state */
Unique!ConnectionSequenceNumbers m_sequence_numbers;
/* pending and active connection states */
Unique!HandshakeState m_active_state;
Unique!HandshakeState m_pending_state;
/* cipher states for each epoch */
HashMap!(ushort, ConnectionCipherState) m_write_cipher_states;
HashMap!(ushort, ConnectionCipherState) m_read_cipher_states;
/* I/O buffers */
SecureVector!ubyte m_writebuf;
SecureVector!ubyte m_readbuf;
} | D |
instance DIA_ALEF_SOUL_EXIT(C_Info)
{
npc = alef_soul;
nr = 999;
condition = dia_alef_soul_exit_condition;
information = dia_alef_soul_exit_info;
permanent = TRUE;
description = Dialog_Ende;
};
func int dia_alef_soul_exit_condition()
{
return TRUE;
};
func void dia_alef_soul_exit_info()
{
AI_StopProcessInfos(self);
};
instance DIA_ALEF_SOUL_HALLO(C_Info)
{
npc = alef_soul;
nr = 1;
condition = dia_alef_soul_hallo_condition;
information = dia_alef_soul_hallo_info;
permanent = FALSE;
important = TRUE;
};
func int dia_alef_soul_hallo_condition()
{
if((TALKTOALEF == FALSE) && Npc_IsInState(self,ZS_Talk))
{
return TRUE;
};
};
func void dia_alef_soul_hallo_info()
{
Snd_Play("MFX_FEAR_CAST");
B_GivePlayerXP(100);
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_00"); //(мертвым голосом) Зачем ты побеспокоил душу умершего, смертный? Что тебе нужно?
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_01"); //Мне нужно кое-что узнать, призрак.
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_02"); //Мертвые не в ответе перед живыми... Ты ничего не узнаешь от меня!
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_03"); //Тебе придется ответить на мои вопросы - иначе тебя постигнет страшное разочарование. И ты догадываешься, какое!
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_04"); //Ааргггхх! Задавай свои вопросы.
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_06"); //Кажется, при жизни тебя звали Алеф и ты был рудокопом в старой шахте?
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_07"); //Да... это я.
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_08"); //Тогда ты должен помнить своих приятелей - Снайпса и Вайпера. Ты помнишь их?
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_10"); //Однажды вам троим необычайно повезло: вы стали обладателями большого груза магической руды, которую должны были отвезти в Старый лагерь.
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_11"); //Вы решили припрятать эту руду на лучшие времена, и именно ты отправился в пещеру закапывать руду. А в этот момент как раз рухнул Барьер.
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_14"); //Да... но откуда тебе это известно?
AI_Output(other,self,"DIA_Alef_Soul_HALLO_01_15"); //Сейчас это не имеет значения. Ответь мне на последний вопрос: где ты спрятал эту руду?
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_16"); //...ищи мост через реку... рядом пещера, кругом вода - там внутри то, что ты ищешь...
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_17"); //Ааргггг!!!
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_20"); //Время вышло, смертный! Больше магические чары не властны надо мной!
AI_Output(self,other,"DIA_Alef_Soul_HALLO_01_22"); //А ты сейчас умрешь, за то что потревожил меня!
TALKTOALEF = TRUE;
B_LogEntry(TOPIC_VIPERNUGGETS,"Ксардас вызвал душу Алефа. Душа не обрадовалась тому, что ее побеспокоили, однако все же ответила на мои вопросы насчет пропавшей руды. Судя по ее словам, руда находится в пещере недалеко от моста. Пещера едва заметна, поскольку вход в нее затоплен водой. Точное местонахождение мне так и не удалось выяснить, поскольку истекло время.");
Info_ClearChoices(dia_alef_soul_hallo);
Info_AddChoice(dia_alef_soul_hallo,"Это мы еще посмотрим!",dia_alef_soul_hallo_end);
};
func void dia_alef_soul_hallo_end()
{
AI_Output(other,self,"DIA_Alef_Soul_Hallo_End_01_00"); //Это мы еще посмотрим!
AI_Output(self,other,"DIA_Alef_Soul_Hallo_End_01_01"); //Ааррггхх!!! Умри, смертный!
self.flags = NPC_FLAG_NONE;
AI_StopProcessInfos(self);
};
| D |
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.0
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
module vtkAnimationScene;
static import vtkd_im;
static import core.stdc.config;
static import std.conv;
static import std.string;
static import std.conv;
static import std.string;
static import vtkObjectBase;
static import vtkAnimationCue;
class vtkAnimationScene : vtkAnimationCue.vtkAnimationCue {
private void* swigCPtr;
public this(void* cObject, bool ownCObject) {
super(vtkd_im.vtkAnimationScene_Upcast(cObject), ownCObject);
swigCPtr = cObject;
}
public static void* swigGetCPtr(vtkAnimationScene obj) {
return (obj is null) ? null : obj.swigCPtr;
}
mixin vtkd_im.SwigOperatorDefinitions;
public override void dispose() {
synchronized(this) {
if (swigCPtr !is null) {
if (swigCMemOwn) {
swigCMemOwn = false;
throw new object.Exception("C++ destructor does not have public access");
}
swigCPtr = null;
super.dispose();
}
}
}
public static int IsTypeOf(string type) {
auto ret = vtkd_im.vtkAnimationScene_IsTypeOf((type ? std.string.toStringz(type) : null));
return ret;
}
public static vtkAnimationScene SafeDownCast(vtkObjectBase.vtkObjectBase o) {
void* cPtr = vtkd_im.vtkAnimationScene_SafeDownCast(vtkObjectBase.vtkObjectBase.swigGetCPtr(o));
vtkAnimationScene ret = (cPtr is null) ? null : new vtkAnimationScene(cPtr, false);
return ret;
}
public vtkAnimationScene NewInstance() const {
void* cPtr = vtkd_im.vtkAnimationScene_NewInstance(cast(void*)swigCPtr);
vtkAnimationScene ret = (cPtr is null) ? null : new vtkAnimationScene(cPtr, false);
return ret;
}
alias vtkAnimationCue.vtkAnimationCue.NewInstance NewInstance;
public static vtkAnimationScene New() {
void* cPtr = vtkd_im.vtkAnimationScene_New();
vtkAnimationScene ret = (cPtr is null) ? null : new vtkAnimationScene(cPtr, false);
return ret;
}
public void SetPlayMode(int _arg) {
vtkd_im.vtkAnimationScene_SetPlayMode(cast(void*)swigCPtr, _arg);
}
public void SetModeToSequence() {
vtkd_im.vtkAnimationScene_SetModeToSequence(cast(void*)swigCPtr);
}
public void SetModeToRealTime() {
vtkd_im.vtkAnimationScene_SetModeToRealTime(cast(void*)swigCPtr);
}
public int GetPlayMode() {
auto ret = vtkd_im.vtkAnimationScene_GetPlayMode(cast(void*)swigCPtr);
return ret;
}
public void SetFrameRate(double _arg) {
vtkd_im.vtkAnimationScene_SetFrameRate(cast(void*)swigCPtr, _arg);
}
public double GetFrameRate() {
auto ret = vtkd_im.vtkAnimationScene_GetFrameRate(cast(void*)swigCPtr);
return ret;
}
public void AddCue(vtkAnimationCue.vtkAnimationCue cue) {
vtkd_im.vtkAnimationScene_AddCue(cast(void*)swigCPtr, vtkAnimationCue.vtkAnimationCue.swigGetCPtr(cue));
}
public void RemoveCue(vtkAnimationCue.vtkAnimationCue cue) {
vtkd_im.vtkAnimationScene_RemoveCue(cast(void*)swigCPtr, vtkAnimationCue.vtkAnimationCue.swigGetCPtr(cue));
}
public void RemoveAllCues() {
vtkd_im.vtkAnimationScene_RemoveAllCues(cast(void*)swigCPtr);
}
public int GetNumberOfCues() {
auto ret = vtkd_im.vtkAnimationScene_GetNumberOfCues(cast(void*)swigCPtr);
return ret;
}
public void Play() {
vtkd_im.vtkAnimationScene_Play(cast(void*)swigCPtr);
}
public void Stop() {
vtkd_im.vtkAnimationScene_Stop(cast(void*)swigCPtr);
}
public void SetLoop(int _arg) {
vtkd_im.vtkAnimationScene_SetLoop(cast(void*)swigCPtr, _arg);
}
public int GetLoop() {
auto ret = vtkd_im.vtkAnimationScene_GetLoop(cast(void*)swigCPtr);
return ret;
}
public void SetAnimationTime(double time) {
vtkd_im.vtkAnimationScene_SetAnimationTime(cast(void*)swigCPtr, time);
}
public int IsInPlay() {
auto ret = vtkd_im.vtkAnimationScene_IsInPlay(cast(void*)swigCPtr);
return ret;
}
}
| D |
// **************************************************
// EXIT
// **************************************************
instance DIA_Joru_Exit(C_INFO)
{
npc = Nov_1305_Joru;
nr = 999;
condition = DIA_Joru_Exit_Condition;
information = DIA_Joru_Exit_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int DIA_Joru_Exit_Condition()
{
return 1;
};
func void DIA_Joru_Exit_Info()
{
AI_StopProcessInfos(self);
};
// **************************************************
// Was machst du?
// **************************************************
instance DIA_Joru_Greet(C_INFO)
{
npc = Nov_1305_Joru;
nr = 1;
condition = DIA_Joru_Greet_Condition;
information = DIA_Joru_Greet_Info;
permanent = 0;
// description = "What are you doing here?";
// description = "Was machst du hier?";
description = "Co tady děláš?";
};
func int DIA_Joru_Greet_Condition()
{
return 1;
};
func void DIA_Joru_Greet_Info()
{
// AI_Output(other,self,"DIA_Joru_Greet_15_00"); //What are you doing here?
// AI_Output(other,self,"DIA_Joru_Greet_15_00"); //Was machst du hier?
AI_Output(other,self,"DIA_Joru_Greet_15_00"); //Co tady děláš?
// AI_Output(self,other,"DIA_Joru_Greet_07_01"); //I'm teaching the words of the Sleeper to the novices.
// AI_Output(self,other,"DIA_Joru_Greet_07_01"); //Ich verbreite die Lehre des Schläfers an die Novizen.
AI_Output(self,other,"DIA_Joru_Greet_07_01"); //Učím novice Spáčovu poselství.
// AI_Output(self,other,"DIA_Joru_Greet_07_02"); //I'm still a novice myself,but soon I'll be a Baal - one of the Gurus.
// AI_Output(self,other,"DIA_Joru_Greet_07_02"); //Ich bin selbst noch Novize, aber bald bin ich ein Baal - einer der Gurus.
AI_Output(self,other,"DIA_Joru_Greet_07_02"); //Jsem ještě novic, ale brzy budu Baal - jeden z Guru.
// AI_Output(self,other,"DIA_Joru_Greet_07_03"); //I've even spoken to Y'Berion. He's the chosen one. He told me that if I work hard, I can soon be a master myself.
// AI_Output(self,other,"DIA_Joru_Greet_07_03"); //Ich habe sogar schon mit Y'Berion geredet. Er ist der Auserwählte. Er hat mir gesagt, wenn ich hart an mir arbeite, bin ich bald selbst ein Meister.
AI_Output(self,other,"DIA_Joru_Greet_07_03"); //Už jsem mluvil s Y´Berionem. Je tím vyvoleným. Říkal mi, že jestli budu tvrdě pracovat, můžu se zanedlouho sám stát mistrem.
// AI_Output(self,other,"DIA_Joru_Greet_07_04"); //But I'm still putting that off. There's no rush - you understand? I can still become a master anytime.
// AI_Output(self,other,"DIA_Joru_Greet_07_04"); //Aber ich schiebe das so'n bisschen vor mir her. Eilt ja nicht - verstehst du? Meister kann ich ja immer noch werden.
AI_Output(self,other,"DIA_Joru_Greet_07_04"); //Pořád to ale odkládám. Žádný spěch - rozumíš? Můžu se stát mistrem kdykoliv.
// AI_Output(self,other,"DIA_Joru_Greet_07_05"); //At the moment I'm quite happy about my current task.
// AI_Output(self,other,"DIA_Joru_Greet_07_05"); //Im Moment bin ich ganz zufrieden mit meiner jetzigen Aufgabe.
AI_Output(self,other,"DIA_Joru_Greet_07_05"); //V tuhle chvíli jsem docela spokojený se svým současným posláním.
};
// **************************************************
// Tester
// **************************************************
instance DIA_Joru_Tester(C_INFO)
{
npc = Nov_1305_Joru;
nr = 1;
condition = DIA_Joru_Tester_Condition;
information = DIA_Joru_Tester_Info;
permanent = 0;
// description = "What's your task here?";
// description = "Was ist deine Aufgabe hier?";
description = "Jaké je teď tvoje poslání?";
};
func int DIA_Joru_Tester_Condition()
{
if (Npc_KnowsInfo(hero,DIA_Joru_Greet))
{
return 1;
};
};
func void DIA_Joru_Tester_Info()
{
// AI_Output(other,self,"DIA_Joru_Tester_15_00"); //What's your task here?
// AI_Output(other,self,"DIA_Joru_Tester_15_00"); //Was ist deine Aufgabe hier?
AI_Output(other,self,"DIA_Joru_Tester_15_00"); //Jaké je teď tvoje poslání?
// AI_Output(self,other,"DIA_Joru_Tester_07_01"); //I test the new substances developed by Cor Kalom in his alchemy lab with my pals here.
// AI_Output(self,other,"DIA_Joru_Tester_07_01"); //Ich teste mit den Jungs hier die neuen Substanzen, die Cor Kalom in seinem Alchimielabor entwickelt.
AI_Output(self,other,"DIA_Joru_Tester_07_01"); //Zkouším tu se svými kamarády nové substance, které ve své dílně vyrobil Cor Kalom.
// AI_Output(self,other,"DIA_Joru_Tester_07_02"); //His aide gives us something new every couple of days. And we test it.
// AI_Output(self,other,"DIA_Joru_Tester_07_02"); //Sein Gehilfe bringt alle paar Tage was Neues raus. Und wir testen es dann.
AI_Output(self,other,"DIA_Joru_Tester_07_02"); //Jeho úsilí nám každých pár dní přináší něco nového. A my to testujeme.
// AI_Output(self,other,"DIA_Joru_Tester_07_03"); //This weed opens your spirit. If you take the right amount, you can get in touch with the Sleeper.
// AI_Output(self,other,"DIA_Joru_Tester_07_03"); //Dieses Kraut öffnet deinen Geist. Wenn du die richtige Menge einnimmst, kannst du in Kontakt mit dem Schläfer treten.
AI_Output(self,other,"DIA_Joru_Tester_07_03"); //Tahle droga otevírá duši. Když vezmeš správné množství, můžeš vejít do spojení se Spáčem.
};
// **************************************************
// Schonmal Kontakt?
// **************************************************
instance DIA_Joru_SleeperContact(C_INFO)
{
npc = Nov_1305_Joru;
nr = 1;
condition = DIA_Joru_SleeperContact_Condition;
information = DIA_Joru_SleeperContact_Info;
permanent = 0;
// description = "Have you ever been in contact with the Sleeper?";
// description = "Hattest du schon Kontakt zum Schläfer?";
description = "Už jsi byl někdy ve spojení se Spáčem?";
};
func int DIA_Joru_SleeperContact_Condition()
{
if (Npc_KnowsInfo(hero,DIA_Joru_Tester))
{
return 1;
};
};
func void DIA_Joru_SleeperContact_Info()
{
// AI_Output(other,self,"DIA_Joru_SleeperContact_15_00"); //Have you ever been in contact with the Sleeper?
// AI_Output(other,self,"DIA_Joru_SleeperContact_15_00"); //Hattest du schon Kontakt zum Schläfer?
AI_Output(other,self,"DIA_Joru_SleeperContact_15_00"); //Už jsi byl někdy ve spojení se Spáčem?
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_01"); //No. Not yet. But that's because we never get enough of the stuff.
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_01"); //Nein. Bis jetzt noch nicht. Wir kriegen auch nie genug von dem Zeug.
AI_Output(self,other,"DIA_Joru_SleeperContact_07_01"); //Ne. Ještě ne. Ale jen protože jsem nikdy neměl dost té látky.
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_02"); //Kalom always wants to hear about the effect of it, but I get the impression he's not really interested in my opinion at all.
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_02"); //Kalom will zwar immer von mir wissen, wie die Wirkung war, aber ich habe den Eindruck, meine Meinung interessiert ihn gar nicht so sehr.
AI_Output(self,other,"DIA_Joru_SleeperContact_07_02"); //Kalom chce vždycky vědět o vyvolaných účincích, ale mám dojem, že ho můj názor vlastně doopravdy nezajímá.
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_03"); //If I find the stuff stimulating, he passes it straight on to the Gurus...
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_03"); //Wenn ich die Wirkung anregend fand, gibt er das Zeug direkt weiter an die Gurus ...
AI_Output(self,other,"DIA_Joru_SleeperContact_07_03"); //Jestliže zjistím, že ta látka stimuluje, předá ji přímo Guru...
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_04"); //But soon I'll be a Guru myself,then I can go right to my limits and listen to the voice of the Sleeper myself.
// AI_Output(self,other,"DIA_Joru_SleeperContact_07_04"); //Aber bald bin ich ja selber ein Guru, dann kann ich bis an meine Grenzen gehen und auch die Stimme des Schläfers vernehmen.
AI_Output(self,other,"DIA_Joru_SleeperContact_07_04"); //Brzy ale budu sám Guru, a pak budu moci zajít až na hranici svých možností a naslouchat Spáčovu hlasu sám.
};
// **************************************************
// JOIN PSI
// **************************************************
var int Joru_BringJoints;
// **************************************************
instance DIA_Joru_JoinPsi(C_INFO)
{
npc = Nov_1305_Joru;
nr = 5;
condition = DIA_Joru_JoinPsi_Condition;
information = DIA_Joru_JoinPsi_Info;
permanent = 0;
// description = "I'd like to join your camp - can you help me?";
// description = "Ich will mich eurem Lager anschließen - kannst du mir dabei helfen?";
description = "Rád bych se přidal k vašemu táboru - pomůžeš mi?";
};
func int DIA_Joru_JoinPsi_Condition()
{
if (Npc_KnowsInfo(hero,DIA_Joru_Greet))
&& (Npc_GetTrueGuild(hero) == GIL_NONE)
{
return 1;
};
};
func void DIA_Joru_JoinPsi_Info()
{
// AI_Output(other,self,"DIA_Joru_JoinPsi_15_00"); //I'd like to join your camp - can you help me?
// AI_Output(other,self,"DIA_Joru_JoinPsi_15_00"); //Ich will mich eurem Lager anschließen - kannst du mir dabei helfen?
AI_Output(other,self,"DIA_Joru_JoinPsi_15_00"); //Rád bych se přidal k vašemu táboru - pomůžeš mi?
// AI_Output(self,other,"DIA_Joru_JoinPsi_07_01"); //You want to join us? That's good! Just wait... yes, I think I can help you.
// AI_Output(self,other,"DIA_Joru_JoinPsi_07_01"); //Du willst bei uns mitmachen? Das ist gut! Warte mal ... Ja, ich glaube, ich kann dir helfen.
AI_Output(self,other,"DIA_Joru_JoinPsi_07_01"); //Chceš se k nám přidat? To je dobře! Počkej chvíli... ano, myslím, že ti můžu pomoci.
// AI_Output(self,other,"DIA_Joru_JoinPsi_07_02"); //I'm not a Guru yet, but I have some influence in the Brotherhood.
// AI_Output(self,other,"DIA_Joru_JoinPsi_07_02"); //Ich bin zwar noch kein Guru, aber ich habe einigen Einfluss in der Bruderschaft.
AI_Output(self,other,"DIA_Joru_JoinPsi_07_02"); //Nejsem ještě Guru, mám ale určitý vliv na Bratrstvo.
// AI_Output(self,other,"DIA_Joru_JoinPsi_07_03"); //You'd have to do me a favor. Have you seen Fortuno yet?
// AI_Output(self,other,"DIA_Joru_JoinPsi_07_03"); //Du müsstest mir einen kleinen Gefallen tun. Bist du schon bei Fortuno gewesen?
AI_Output(self,other,"DIA_Joru_JoinPsi_07_03"); //Musíš mi prokázat malou laskavost. Už jsi viděl Fortuna?
Info_ClearChoices(DIA_Joru_JoinPsi);
// Info_AddChoice(DIA_Joru_JoinPsi,"No.",DIA_Joru_JoinPsi_Nein);
// Info_AddChoice(DIA_Joru_JoinPsi,"Nein.",DIA_Joru_JoinPsi_Nein);
Info_AddChoice(DIA_Joru_JoinPsi,"Ne.",DIA_Joru_JoinPsi_Nein);
// Info_AddChoice(DIA_Joru_JoinPsi,"Yes.",DIA_Joru_JoinPsi_Ja);
// Info_AddChoice(DIA_Joru_JoinPsi,"Ja.",DIA_Joru_JoinPsi_Ja);
Info_AddChoice(DIA_Joru_JoinPsi,"Ano.",DIA_Joru_JoinPsi_Ja);
};
func void DIA_Joru_JoinPsi_Ja()
{
// AI_Output(self,other,"DIA_Joru_JoinPsi_Ja_07_00"); //Then you have your daily ration? If you give it to me then we're in business.
// AI_Output(self,other,"DIA_Joru_JoinPsi_Ja_07_00"); //Dann hast du bestimmt schon deine tägliche Ration bekommen? Wenn du sie mir überlässt, sind wir im Geschäft.
AI_Output(self,other,"DIA_Joru_JoinPsi_Ja_07_00"); //Pak už máš svůj denní příděl? Když mi ho dáš, jsme domluveni.
// AI_Output(other,self,"DIA_Joru_JoinPsi_Ja_15_01"); //I'll think about it.
// AI_Output(other,self,"DIA_Joru_JoinPsi_Ja_15_01"); //Ich denke drüber nach.
AI_Output(other,self,"DIA_Joru_JoinPsi_Ja_15_01"); //Rozmyslím si to.
Joru_BringJoints = LOG_RUNNING;
Info_ClearChoices(DIA_Joru_JoinPsi);
};
func void DIA_Joru_JoinPsi_Nein()
{
// AI_Output(self,other,"DIA_Joru_JoinPsi_Nein_07_00"); //Then go, see him and collect your daily ration. If you leave me all the swampweed he gives you, we're in business.
// AI_Output(self,other,"DIA_Joru_JoinPsi_Nein_07_00"); //Dann geh zu ihm und hol dir deine tägliche Ration ab. Wenn du mir alles Sumpfkraut überlässt, das er dir gibt, sind wir im Geschäft.
AI_Output(self,other,"DIA_Joru_JoinPsi_Nein_07_00"); //Pak jdi za ním a vyzvedni si svůj denní příděl. Když mi přenecháš všechnu drogu z bažin, kterou ti dá, budeme domluveni.
// AI_Output(other,self,"DIA_Joru_JoinPsi_Nein_15_01"); //I'll think about it.
// AI_Output(other,self,"DIA_Joru_JoinPsi_Nein_15_01"); //Ich denk drüber nach.
AI_Output(other,self,"DIA_Joru_JoinPsi_Nein_15_01"); //Rozmyslím si to.
Joru_BringJoints = LOG_RUNNING;
Log_CreateTopic(CH1_JoinPsi,LOG_MISSION);
Log_SetTopicStatus(CH1_JoinPsi,LOG_RUNNING);
// B_LogEntry(CH1_JoinPsi,"Joru would like to have my daily ration of swampweed I get from Fortuno.");
// B_LogEntry(CH1_JoinPsi,"Joru möchte meine tägliche Ration Sumpfkraut haben, die ich von Fortuno bekomme");
B_LogEntry(CH1_JoinPsi,"Joru by chtěl můj denní příděl drogy z bažin, kterou jsem dostal od Fortuna.");
Info_ClearChoices(DIA_Joru_JoinPsi);
};
// **************************************************
// SUCCESS
// **************************************************
instance DIA_Joru_JointsRunning(C_INFO)
{
npc = Nov_1305_Joru;
nr = 5;
condition = DIA_Joru_JointsRunning_Condition;
information = DIA_Joru_JointsRunning_Info;
permanent = 1;
// description = "I have swampweed on me. You can have it.";
// description = "Ich habe Sumpfkraut bei mir. Du kannst es haben.";
description = "Mám svoji drogu z bažin. Můžeš ji mít.";
};
func int DIA_Joru_JointsRunning_Condition()
{
if (Joru_BringJoints == LOG_RUNNING)
{
return 1;
};
};
func void DIA_Joru_JointsRunning_Info()
{
// AI_Output(other,self,"DIA_Joru_JointsRunning_15_00"); //I have swampweed on me. You can have it.
// AI_Output(other,self,"DIA_Joru_JointsRunning_15_00"); //Ich habe Sumpfkraut bei mir. Du kannst es haben.
AI_Output(other,self,"DIA_Joru_JointsRunning_15_00"); //Mám svoji drogu z bažin. Můžeš ji mít.
if (Npc_HasItems(other,itmijoint_2)>=3)
{
// AI_Output(self,other,"DIA_Joru_JointsRunning_07_01"); //Good! You must have noticed that none of the Gurus wants to talk to you.
// AI_Output(self,other,"DIA_Joru_JointsRunning_07_01"); //Gut! Du hast sicher schon bemerkt, dass so gut wie keiner der Gurus mit dir reden will.
AI_Output(self,other,"DIA_Joru_JointsRunning_07_01"); //Dobře! Jistě sis všimnul, že s tebou nikdo z Guru nechce mluvit.
// AI_Output(self,other,"DIA_Joru_JointsRunning_07_02"); //You can change that by impressing them. I can tell you how to do that.
// AI_Output(self,other,"DIA_Joru_JointsRunning_07_02"); //Du kannst das ändern, indem du sie beeindruckst. Ich kann dir verraten, wie du das anstellst.
AI_Output(self,other,"DIA_Joru_JointsRunning_07_02"); //Můžeš to změnit tím, že na ně uděláš dojem. Můžu ti říci, jak to udělat.
B_GiveInvItems(other,self,itmijoint_2, 3);
Joru_BringJoints = LOG_SUCCESS;
B_GiveXP(XP_WeedForJoru);
}
else
{
// AI_Output(self,other,"DIA_Joru_JointsRunning_NO_JOINTS_07_00"); //We agreed on three Northern Dark and nothing else! Get me the weeds, THEN we can do business!
// AI_Output(self,other,"DIA_Joru_JointsRunning_NO_JOINTS_07_00"); //Drei Schwarzer Weiser waren ausgemacht, und nichts anderes! Besorg mir erst das Kraut, DANN sind wir im Geschäft!
AI_Output(self,other,"DIA_Joru_JointsRunning_NO_JOINTS_07_00"); //Domluvili jsme si tři Severní soumraky a nic jiného! Dej mi je a POTOM se můžeme bavit!
};
};
// **************************************************
// Wie kann ich Gurus beeindrucken?
// **************************************************
var int Joru_Tips;
// **************************************************
instance DIA_Joru_ImpressGurus(C_INFO)
{
npc = Nov_1305_Joru;
nr = 5;
condition = DIA_Joru_ImpressGurus_Condition;
information = DIA_Joru_ImpressGurus_Info;
permanent = 1;
// description = "How can I impress the Gurus?";
// description = "Wie kann ich die Gurus beeindrucken?";
description = "Jak můžu udělat dojem na Guru?";
};
func int DIA_Joru_ImpressGurus_Condition()
{
if (Joru_BringJoints == LOG_SUCCESS)
{
return 1;
};
};
func void DIA_Joru_ImpressGurus_Info()
{
// AI_Output(other,self,"DIA_Joru_ImpressGurus_15_00"); //How can I impress the Gurus?
// AI_Output(other,self,"DIA_Joru_ImpressGurus_15_00"); //Wie kann ich die Gurus beeindrucken?
AI_Output(other,self,"DIA_Joru_ImpressGurus_15_00"); //Jak můžu udělat dojem na Guru?
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_01"); //Baal Cadar instructs the novices in the magic of the Sleeper.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_01"); //Baal Cadar unterrichtet die Novizen in der Magie des Schläfers.
AI_Output(self,other,"DIA_Joru_ImpressGurus_07_01"); //Baal Cadar cvičí novice ve Spáčově magii.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_02"); //If you want his attention, use magic.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_02"); //Wenn du seine Aufmerksamkeit willst, wende Magie an.
AI_Output(self,other,"DIA_Joru_ImpressGurus_07_02"); //Jestliže chceš upoutat jeho pozornost, použij kouzlo.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_03"); //But don't give him the Fist of Wind! Send one of his audience to sleep or something like that.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_03"); //Aber blas ihm keine Windfaust um die Ohren! Versetze einen seiner Zuhörer in Schlaf oder so was.
AI_Output(self,other,"DIA_Joru_ImpressGurus_07_03"); //Nepoužívej však na něj Větrnou pěst! Uspi jeho posluchače nebo něco takového.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_04"); //Baal Namib is over there at the main gate. He's one of the toughest guys. I think Lester might be able to help you with him. Speak to him as soon as his master is away.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_04"); //Baal Namib vorne am Haupttor ist einer der harten Brocken. Ich denke, bei ihm kann dir Lester helfen. Sprich ihn drauf an, wenn sein Meister gerade nicht dabei ist.
AI_Output(self,other,"DIA_Joru_ImpressGurus_07_04"); //Baal Namib, za hlavní branou, je jeden z nejtvrdších. Myslím, že by ti s ním mohl pomoci Lester. Promluv s ním, jakmile bude jeho pán pryč.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_05"); //The other Gurus are basically quite okay - just try to make yourself useful.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_05"); //Die anderen Gurus sind eigentlich ganz in Ordnung - versuch dich einfach nützlich zu machen.
AI_Output(self,other,"DIA_Joru_ImpressGurus_07_05"); //Ostatní Guru jsou vcelku v pohodě - snaž se být užitečný.
// AI_Output(other,self,"DIA_Joru_ImpressGurus_15_06"); //Thanks for the advice.
// AI_Output(other,self,"DIA_Joru_ImpressGurus_15_06"); //Danke für die Tipps.
AI_Output(other,self,"DIA_Joru_ImpressGurus_15_06"); //Díky za radu.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_07"); //Hey - a deal's a deal.
// AI_Output(self,other,"DIA_Joru_ImpressGurus_07_07"); //Hey - eine Hand wäscht die andere.
AI_Output(self,other,"DIA_Joru_ImpressGurus_07_07"); //Hej - dohoda je dohoda.
if ( Joru_JoinPsi == FALSE)
{
// B_LogEntry(CH1_JoinPsi,"In order to impress Baal Cadar I have to cast a sleeping spell on one of his listeners.");
// B_LogEntry(CH1_JoinPsi,"Um Baal Cadar zu beeindrucken muss ich auf einen seiner Zuhörer einen Schlafzauber legen.");
B_LogEntry(CH1_JoinPsi,"Abych udělal dojem na Baala Cadara, musel jsem seslat na jednoho z jeho posluchačů spací kouzlo.");
// B_LogEntry(CH1_JoinPsi,"I shall ask the novice Lester how to impress Baal Namib at the main gate. I should make sure no Guru is nearby, though!");
// B_LogEntry(CH1_JoinPsi,"Wie man Baal Namib am Haupttor beeindrucken kann, soll ich den Novizen Lester fragen. Allerdings nicht in der Nähe des Gurus!");
B_LogEntry(CH1_JoinPsi,"Zeptám se novice Lestera, jak udělat dojem na Baala Namiba přebývajícího u hlavní brány. Měl bych se ujistit, že není v blízkosti žádný guru!");
Joru_JoinPsi = TRUE;
};
Joru_Tips = TRUE;
};
// **************************************************
// Woher Magie?
// **************************************************
instance DIA_Joru_GetMagic(C_INFO)
{
npc = Nov_1305_Joru;
nr = 5;
condition = DIA_Joru_GetMagic_Condition;
information = DIA_Joru_GetMagic_Info;
permanent = 1;
// description = "How do I get at the magic of the Sleeper?";
// description = "Wie komme ich an die Magie des Schläfers?";
description = "Jak se dostanu ke Spáčově magii?";
};
func int DIA_Joru_GetMagic_Condition()
{
if (Joru_Tips == TRUE)
{
return 1;
};
};
func void DIA_Joru_GetMagic_Info()
{
if (Joru_Tips_Mage == FALSE)
{
Log_CreateTopic(GE_TraderPSI,LOG_NOTE);
// B_LogEntry(GE_TraderPSI,"Baal Cadar sells RUNES and SCROLLS.");
// B_LogEntry(GE_TraderPSI,"Baal Cadar verkauft RUNEN und SPRUCHROLLEN");
B_LogEntry(GE_TraderPSI,"Baal Cadar prodává RUNY a SVITKY.");
Joru_Tips_Mage =TRUE;
};
// AI_Output(other,self,"DIA_Joru_GetMagic_15_00"); //How do I get at the magic of the Sleeper?
// AI_Output(other,self,"DIA_Joru_GetMagic_15_00"); //Wie komme ich an die Magie des Schläfers?
AI_Output(other,self,"DIA_Joru_GetMagic_15_00"); //Jak se dostanu ke Spáčově magii?
// AI_Output(self,other,"DIA_Joru_GetMagic_07_01"); //Baal Cadar sells runes and spell scrolls. That's no use to you if he doesn't talk to you, right?
// AI_Output(self,other,"DIA_Joru_GetMagic_07_01"); //Baal Cadar verkauft Runen und Spruchrollen. Aber das nützt dir ja nicht viel, wenn er nicht mit dir redet, richtig?
AI_Output(self,other,"DIA_Joru_GetMagic_07_01"); //Baal Cadar prodává runy a zaříkávací svitky. Ale to je ti vlastně k ničemu, dokud si s ním nepromluvíš, že?
// AI_Output(self,other,"DIA_Joru_GetMagic_07_02"); //Maybe another Guru can help you.
// AI_Output(self,other,"DIA_Joru_GetMagic_07_02"); //Vielleicht kann einer der anderen Gurus dir helfen.
AI_Output(self,other,"DIA_Joru_GetMagic_07_02"); //Možná ti pomůže jiný Guru.
};
/*
Sit_1_PSI_Joru_SmokingTeacher
Joru: Du bist neu hier. Hast Du schon unser Kraut genossen?
Das solltest du unbedingt tun. Weißt du, es ist ziemlich gut. Es öffnet deinen Geist für die Worte des Schläfers.
Komm, komm zu uns und lasse deinen Geist frei. Mach dich bereit für eine Reise.
Eine spirituelle Reise. Lerne die Macht des Geistes zu nutzen. Lerne sie zu kontrollieren.
Komm zu uns in die Gemeinschaft der Erwachten und gleichzeitig Erwecker. Teile mit uns deine Kraft, wie wir unsere Kraft mit dir teilen.
Mach dich frei von Suche und beginne zu finden. Entdecke die Wahrheit. Das alles kannst du erreichen, wenn du zu uns kommst.
*/
| D |
// Copyright Ferdinand Majerech 2011.
// Distributed under the Boost Software License, Version 1.0.
// (See accompanying file LICENSE_1_0.txt or copy at
// http://www.boost.org/LICENSE_1_0.txt)
/**
* Implements a class that processes YAML mappings, sequences and scalars into
* nodes. This can be used to implement custom data types. A tutorial can be
* found $(LINK2 ../tutorials/custom_types.html, here).
*/
module dyaml.constructor;
import std.array;
import std.algorithm;
import std.base64;
import std.container;
import std.conv;
import std.datetime;
import std.exception;
import std.stdio;
import std.regex;
import std.string;
import std.utf;
import dyaml.node;
import dyaml.exception;
import dyaml.tag;
import dyaml.style;
/**
* Exception thrown at constructor errors.
*
* Can be thrown by custom constructor functions.
*/
package class ConstructorException : YAMLException
{
/**
* Construct a ConstructorException.
*
* Params: msg = Error message.
* start = Start position of the error context.
* end = End position of the error context.
*/
this(string msg, Mark start, Mark end, string file = __FILE__, int line = __LINE__)
{
super(msg ~ "\nstart: " ~ start.toString() ~ "\nend: " ~ end.toString(),
file, line);
}
}
private alias ConstructorException Error;
/**
* Constructs YAML values.
*
* Each YAML scalar, sequence or mapping has a tag specifying its data type.
* Constructor uses user-specifyable functions to create a node of desired
* data type from a scalar, sequence or mapping.
*
*
* Each of these functions is associated with a tag, and can process either
* a scalar, a sequence, or a mapping. The constructor passes each value to
* the function with corresponding tag, which then returns the resulting value
* that can be stored in a node.
*
* If a tag is detected with no known constructor function, it is considered an error.
*/
final class Constructor
{
private:
///Constructor functions from scalars.
Node.Value delegate(ref Node)[Tag] fromScalar_;
///Constructor functions from sequences.
Node.Value delegate(ref Node)[Tag] fromSequence_;
///Constructor functions from mappings.
Node.Value delegate(ref Node)[Tag] fromMapping_;
public:
/**
* Construct a Constructor.
*
* If you don't want to support default YAML tags/data types, you can use
* defaultConstructors to disable constructor functions for these.
*
* Params: defaultConstructors = Use constructors for default YAML tags?
*/
this(in bool defaultConstructors = true)
{
if(!defaultConstructors){return;}
addConstructorScalar("tag:yaml.org,2002:null", &constructNull);
addConstructorScalar("tag:yaml.org,2002:bool", &constructBool);
addConstructorScalar("tag:yaml.org,2002:int", &constructLong);
addConstructorScalar("tag:yaml.org,2002:float", &constructReal);
addConstructorScalar("tag:yaml.org,2002:binary", &constructBinary);
addConstructorScalar("tag:yaml.org,2002:timestamp", &constructTimestamp);
addConstructorScalar("tag:yaml.org,2002:str", &constructString);
///In a mapping, the default value is kept as an entry with the '=' key.
addConstructorScalar("tag:yaml.org,2002:value", &constructString);
addConstructorSequence("tag:yaml.org,2002:omap", &constructOrderedMap);
addConstructorSequence("tag:yaml.org,2002:pairs", &constructPairs);
addConstructorMapping("tag:yaml.org,2002:set", &constructSet);
addConstructorSequence("tag:yaml.org,2002:seq", &constructSequence);
addConstructorMapping("tag:yaml.org,2002:map", &constructMap);
addConstructorScalar("tag:yaml.org,2002:merge", &constructMerge);
}
///Destroy the constructor.
~this()
{
clear(fromScalar_);
fromScalar_ = null;
clear(fromSequence_);
fromSequence_ = null;
clear(fromMapping_);
fromMapping_ = null;
}
/**
* Add a constructor function from scalar.
*
* The function must take a reference to $(D Node) to construct from.
* The node contains a string for scalars, $(Node[]) for sequences and
* $(Node.Pair[]) for mappings.
*
* Any exception thrown by this function will be caught by D:YAML and
* its message will be added to a $(YAMLException) that will also tell
* the user which type failed to construct, and position in the file.
*
*
* The value returned by this function will be stored in the resulting node.
*
* Only one constructor function can be set for one tag.
*
*
* Structs and classes must implement the $(D opCmp()) operator for D:YAML
* support. The signature of the operator that must be implemented
* is $(D const int opCmp(ref const MyStruct s)) for structs where
* $(I MyStruct) is the struct type, and $(D int opCmp(Object o)) for
* classes. Note that the class $(D opCmp()) should not alter the compared
* values - it is not const for compatibility reasons.
*
* Params: tag = Tag for the function to handle.
* ctor = Constructor function.
*
* Example:
*
* --------------------
* import std.string;
*
* import yaml;
*
* struct MyStruct
* {
* int x, y, z;
*
* //Any D:YAML type must have a custom opCmp operator.
* //This is used for ordering in mappings.
* const int opCmp(ref const MyStruct s)
* {
* if(x != s.x){return x - s.x;}
* if(y != s.y){return y - s.y;}
* if(z != s.z){return z - s.z;}
* return 0;
* }
* }
*
* MyStruct constructMyStructScalar(ref Node node)
* {
* //Guaranteed to be string as we construct from scalar.
* //!mystruct x:y:z
* auto parts = node.as!string().split(":");
* //If this throws, the D:YAML will handle it and throw a YAMLException.
* return MyStruct(to!int(parts[0]), to!int(parts[1]), to!int(parts[2]));
* }
*
* void main()
* {
* auto loader = Loader("file.yaml");
* auto constructor = new Constructor;
* constructor.addConstructorScalar("!mystruct", &constructMyStructScalar);
* loader.constructor = constructor;
* Node node = loader.load();
* }
* --------------------
*/
void addConstructorScalar(T)(in string tag, T function(ref Node) ctor)
{
const t = Tag(tag);
auto deleg = addConstructor!T(t, ctor);
(*delegates!string)[t] = deleg;
}
/**
* Add a constructor function from sequence.
*
* See_Also: addConstructorScalar
*
* Example:
*
* --------------------
* import std.string;
*
* import yaml;
*
* struct MyStruct
* {
* int x, y, z;
*
* //Any D:YAML type must have a custom opCmp operator.
* //This is used for ordering in mappings.
* const int opCmp(ref const MyStruct s)
* {
* if(x != s.x){return x - s.x;}
* if(y != s.y){return y - s.y;}
* if(z != s.z){return z - s.z;}
* return 0;
* }
* }
*
* MyStruct constructMyStructSequence(ref Node node)
* {
* //node is guaranteed to be sequence.
* //!mystruct [x, y, z]
* return MyStruct(node[0].as!int, node[1].as!int, node[2].as!int);
* }
*
* void main()
* {
* auto loader = Loader("file.yaml");
* auto constructor = new Constructor;
* constructor.addConstructorSequence("!mystruct", &constructMyStructSequence);
* loader.constructor = constructor;
* Node node = loader.load();
* }
* --------------------
*/
void addConstructorSequence(T)(in string tag, T function(ref Node) ctor)
{
const t = Tag(tag);
auto deleg = addConstructor!T(t, ctor);
(*delegates!(Node[]))[t] = deleg;
}
/**
* Add a constructor function from a mapping.
*
* See_Also: addConstructorScalar
*
* Example:
*
* --------------------
* import std.string;
*
* import yaml;
*
* struct MyStruct
* {
* int x, y, z;
*
* //Any D:YAML type must have a custom opCmp operator.
* //This is used for ordering in mappings.
* const int opCmp(ref const MyStruct s)
* {
* if(x != s.x){return x - s.x;}
* if(y != s.y){return y - s.y;}
* if(z != s.z){return z - s.z;}
* return 0;
* }
* }
*
* MyStruct constructMyStructMapping(ref Node node)
* {
* //node is guaranteed to be mapping.
* //!mystruct {"x": x, "y": y, "z": z}
* return MyStruct(node["x"].as!int, node["y"].as!int, node["z"].as!int);
* }
*
* void main()
* {
* auto loader = Loader("file.yaml");
* auto constructor = new Constructor;
* constructor.addConstructorMapping("!mystruct", &constructMyStructMapping);
* loader.constructor = constructor;
* Node node = loader.load();
* }
* --------------------
*/
void addConstructorMapping(T)(in string tag, T function(ref Node) ctor)
{
const t = Tag(tag);
auto deleg = addConstructor!T(t, ctor);
(*delegates!(Node.Pair[]))[t] = deleg;
}
package:
/*
* Construct a node.
*
* Params: start = Start position of the node.
* end = End position of the node.
* tag = Tag (data type) of the node.
* value = Value to construct node from (string, nodes or pairs).
* style = Style of the node (scalar or collection style).
*
* Returns: Constructed node.
*/
Node node(T, U)(in Mark start, in Mark end, in Tag tag, T value, U style)
if((is(T : string) || is(T == Node[]) || is(T == Node.Pair[])) &&
(is(U : CollectionStyle) || is(U : ScalarStyle)))
{
static type = is(T : string) ? "scalar" :
is(T == Node[]) ? "sequence" :
is(T == Node.Pair[]) ? "mapping" :
"ERROR";
enforce((tag in *delegates!T) !is null,
new Error("No constructor function from " ~ type ~
" for tag " ~ tag.get(), start, end));
Node node = Node(value);
try
{
static if(is(U : ScalarStyle))
{
return Node.rawNode((*delegates!T)[tag](node), start, tag,
style, CollectionStyle.Invalid);
}
else static if(is(U : CollectionStyle))
{
return Node.rawNode((*delegates!T)[tag](node), start, tag,
ScalarStyle.Invalid, style);
}
else static assert(false);
}
catch(Exception e)
{
throw new Error("Error constructing " ~ typeid(T).toString()
~ ":\n" ~ e.msg, start, end);
}
}
private:
/*
* Add a constructor function.
*
* Params: tag = Tag for the function to handle.
* ctor = Constructor function.
*/
auto addConstructor(T)(in Tag tag, T function(ref Node) ctor)
{
assert((tag in fromScalar_) is null &&
(tag in fromSequence_) is null &&
(tag in fromMapping_) is null,
"Constructor function for tag " ~ tag.get ~ " is already "
"specified. Can't specify another one.");
return (ref Node n)
{
static if(Node.Value.allowed!T){return Node.Value(ctor(n));}
else {return Node.userValue(ctor(n));}
};
}
//Get the array of constructor functions for scalar, sequence or mapping.
auto delegates(T)()
{
static if(is(T : string)) {return &fromScalar_;}
else static if(is(T : Node[])) {return &fromSequence_;}
else static if(is(T : Node.Pair[])){return &fromMapping_;}
else static assert(false);
}
}
///Construct a _null _node.
YAMLNull constructNull(ref Node node)
{
return YAMLNull();
}
///Construct a merge _node - a _node that merges another _node into a mapping.
YAMLMerge constructMerge(ref Node node)
{
return YAMLMerge();
}
///Construct a boolean _node.
bool constructBool(ref Node node)
{
static yes = ["yes", "true", "on"];
static no = ["no", "false", "off"];
string value = node.as!string().toLower();
if(yes.canFind(value)){return true;}
if(no.canFind(value)) {return false;}
throw new Exception("Unable to parse boolean value: " ~ value);
}
///Construct an integer (long) _node.
long constructLong(ref Node node)
{
string value = node.as!string().replace("_", "");
const char c = value[0];
const long sign = c != '-' ? 1 : -1;
if(c == '-' || c == '+')
{
value = value[1 .. $];
}
enforce(value != "", new Exception("Unable to parse float value: " ~ value));
long result;
try
{
//Zero.
if(value == "0") {result = cast(long)0;}
//Binary.
else if(value.startsWith("0b")){result = sign * parse!int(value[2 .. $], 2);}
//Hexadecimal.
else if(value.startsWith("0x")){result = sign * parse!int(value[2 .. $], 16);}
//Octal.
else if(value[0] == '0') {result = sign * parse!int(value, 8);}
//Sexagesimal.
else if(value.canFind(":"))
{
long val = 0;
long base = 1;
foreach_reverse(digit; value.split(":"))
{
val += to!long(digit) * base;
base *= 60;
}
result = sign * val;
}
//Decimal.
else{result = sign * to!long(value);}
}
catch(ConvException e)
{
throw new Exception("Unable to parse integer value: " ~ value);
}
return result;
}
unittest
{
long getLong(string str)
{
return constructLong(Node(str));
}
string canonical = "685230";
string decimal = "+685_230";
string octal = "02472256";
string hexadecimal = "0x_0A_74_AE";
string binary = "0b1010_0111_0100_1010_1110";
string sexagesimal = "190:20:30";
assert(685230 == getLong(canonical));
assert(685230 == getLong(decimal));
assert(685230 == getLong(octal));
assert(685230 == getLong(hexadecimal));
assert(685230 == getLong(binary));
assert(685230 == getLong(sexagesimal));
}
///Construct a floating point (real) _node.
real constructReal(ref Node node)
{
string value = node.as!string().replace("_", "").toLower();
const char c = value[0];
const real sign = c != '-' ? 1.0 : -1.0;
if(c == '-' || c == '+')
{
value = value[1 .. $];
}
enforce(value != "" && value != "nan" && value != "inf" && value != "-inf",
new Exception("Unable to parse float value: " ~ value));
real result;
try
{
//Infinity.
if (value == ".inf"){result = sign * real.infinity;}
//Not a Number.
else if(value == ".nan"){result = real.nan;}
//Sexagesimal.
else if(value.canFind(":"))
{
real val = 0.0;
real base = 1.0;
foreach_reverse(digit; value.split(":"))
{
val += to!real(digit) * base;
base *= 60.0;
}
result = sign * val;
}
//Plain floating point.
else{result = sign * to!real(value);}
}
catch(ConvException e)
{
throw new Exception("Unable to parse float value: " ~ value);
}
return result;
}
unittest
{
bool eq(real a, real b, real epsilon = 0.2)
{
return a >= (b - epsilon) && a <= (b + epsilon);
}
real getReal(string str)
{
return constructReal(Node(str));
}
string canonical = "6.8523015e+5";
string exponential = "685.230_15e+03";
string fixed = "685_230.15";
string sexagesimal = "190:20:30.15";
string negativeInf = "-.inf";
string NaN = ".NaN";
assert(eq(685230.15, getReal(canonical)));
assert(eq(685230.15, getReal(exponential)));
assert(eq(685230.15, getReal(fixed)));
assert(eq(685230.15, getReal(sexagesimal)));
assert(eq(-real.infinity, getReal(negativeInf)));
assert(to!string(getReal(NaN)) == "nan");
}
///Construct a binary (base64) _node.
ubyte[] constructBinary(ref Node node)
{
string value = node.as!string;
//For an unknown reason, this must be nested to work (compiler bug?).
try
{
try{return Base64.decode(value.removechars("\n"));}
catch(Exception e)
{
throw new Exception("Unable to decode base64 value: " ~ e.msg);
}
}
catch(UtfException e)
{
throw new Exception("Unable to decode base64 value: " ~ e.msg);
}
}
unittest
{
ubyte[] test = cast(ubyte[])"The Answer: 42";
char[] buffer;
buffer.length = 256;
string input = cast(string)Base64.encode(test, buffer);
auto value = constructBinary(Node(input));
assert(value == test);
}
///Construct a timestamp (SysTime) _node.
SysTime constructTimestamp(ref Node node)
{
string value = node.as!string;
auto YMDRegexp = regex("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)");
auto HMSRegexp = regex("^[Tt \t]+([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(\\.[0-9]*)?");
auto TZRegexp = regex("^[ \t]*Z|([-+][0-9][0-9]?)(:[0-9][0-9])?");
try
{
//First, get year, month and day.
auto matches = match(value, YMDRegexp);
enforce(!matches.empty,
new Exception("Unable to parse timestamp value: " ~ value));
auto captures = matches.front.captures;
const year = to!int(captures[1]);
const month = to!int(captures[2]);
const day = to!int(captures[3]);
//If available, get hour, minute, second and fraction, if present.
value = matches.front.post;
matches = match(value, HMSRegexp);
if(matches.empty)
{
return SysTime(DateTime(year, month, day), UTC());
}
captures = matches.front.captures;
const hour = to!int(captures[1]);
const minute = to!int(captures[2]);
const second = to!int(captures[3]);
const hectonanosecond = cast(int)(to!real("0" ~ captures[4]) * 10000000);
//If available, get timezone.
value = matches.front.post;
matches = match(value, TZRegexp);
if(matches.empty || matches.front.captures[0] == "Z")
{
return SysTime(DateTime(year, month, day, hour, minute, second),
FracSec.from!"hnsecs"(hectonanosecond), UTC());
}
captures = matches.front.captures;
int sign = 1;
int tzHours = 0;
if(!captures[1].empty)
{
if(captures[1][0] == '-'){sign = -1;}
tzHours = to!int(captures[1][1 .. $]);
}
const tzMinutes = (!captures[2].empty) ? to!int(captures[2][1 .. $]) : 0;
const tzOffset = sign * (60 * tzHours + tzMinutes);
return SysTime(DateTime(year, month, day, hour, minute, second),
FracSec.from!"hnsecs"(hectonanosecond),
new SimpleTimeZone(tzOffset));
}
catch(ConvException e)
{
throw new Exception("Unable to parse timestamp value " ~ value ~ " : " ~ e.msg);
}
catch(DateTimeException e)
{
throw new Exception("Invalid timestamp value " ~ value ~ " : " ~ e.msg);
}
assert(false, "This code should never be reached");
}
unittest
{
writeln("D:YAML construction timestamp unittest");
string timestamp(string value)
{
return constructTimestamp(Node(value)).toISOString();
}
string canonical = "2001-12-15T02:59:43.1Z";
string iso8601 = "2001-12-14t21:59:43.10-05:00";
string spaceSeparated = "2001-12-14 21:59:43.10 -5";
string noTZ = "2001-12-15 2:59:43.10";
string noFraction = "2001-12-15 2:59:43";
string ymd = "2002-12-14";
assert(timestamp(canonical) == "20011215T025943.1Z");
//avoiding float conversion errors
assert(timestamp(iso8601) == "20011214T215943.0999999-05:00" ||
timestamp(iso8601) == "20011214T215943.1-05:00");
assert(timestamp(spaceSeparated) == "20011214T215943.0999999-05:00" ||
timestamp(spaceSeparated) == "20011214T215943.1-05:00");
assert(timestamp(noTZ) == "20011215T025943.0999999Z" ||
timestamp(noTZ) == "20011215T025943.1Z");
assert(timestamp(noFraction) == "20011215T025943Z");
assert(timestamp(ymd) == "20021214T000000Z");
}
///Construct a string _node.
string constructString(ref Node node)
{
return node.as!string;
}
///Convert a sequence of single-element mappings into a sequence of pairs.
Node.Pair[] getPairs(string type, Node[] nodes)
{
Node.Pair[] pairs;
foreach(ref node; nodes)
{
enforce(node.isMapping && node.length == 1,
new Exception("While constructing " ~ type ~
", expected a mapping with single element"));
pairs ~= node.as!(Node.Pair[]);
}
return pairs;
}
///Construct an ordered map (ordered sequence of key:value pairs without duplicates) _node.
Node.Pair[] constructOrderedMap(ref Node node)
{
auto pairs = getPairs("ordered map", node.as!(Node[]));
//Detect duplicates.
//TODO this should be replaced by something with deterministic memory allocation.
auto keys = redBlackTree!Node();
scope(exit){clear(keys);}
foreach(ref pair; pairs)
{
enforce(!(pair.key in keys),
new Exception("Duplicate entry in an ordered map: "
~ pair.key.debugString()));
keys.insert(pair.key);
}
return pairs;
}
unittest
{
writeln("D:YAML construction ordered map unittest");
alias Node.Pair Pair;
Node[] alternateTypes(uint length)
{
Node[] pairs;
foreach(long i; 0 .. length)
{
auto pair = (i % 2) ? Pair(to!string(i), i)
: Pair(i, to!string(i));
pairs ~= Node([pair]);
}
return pairs;
}
Node[] sameType(uint length)
{
Node[] pairs;
foreach(long i; 0 .. length)
{
auto pair = Pair(to!string(i), i);
pairs ~= Node([pair]);
}
return pairs;
}
bool hasDuplicates(Node[] nodes)
{
return null !is collectException(constructOrderedMap(Node(nodes)));
}
assert(hasDuplicates(alternateTypes(8) ~ alternateTypes(2)));
assert(!hasDuplicates(alternateTypes(8)));
assert(hasDuplicates(sameType(64) ~ sameType(16)));
assert(hasDuplicates(alternateTypes(64) ~ alternateTypes(16)));
assert(!hasDuplicates(sameType(64)));
assert(!hasDuplicates(alternateTypes(64)));
}
///Construct a pairs (ordered sequence of key: value pairs allowing duplicates) _node.
Node.Pair[] constructPairs(ref Node node)
{
return getPairs("pairs", node.as!(Node[]));
}
///Construct a set _node.
Node[] constructSet(ref Node node)
{
auto pairs = node.as!(Node.Pair[]);
//In future, the map here should be replaced with something with deterministic
//memory allocation if possible.
//Detect duplicates.
ubyte[Node] map;
scope(exit){clear(map);}
Node[] nodes;
foreach(ref pair; pairs)
{
enforce((pair.key in map) is null,
new Exception("Duplicate entry in a set"));
map[pair.key] = 0;
nodes ~= pair.key;
}
return nodes;
}
unittest
{
writeln("D:YAML construction set unittest");
Node.Pair[] set(uint length)
{
Node.Pair[] pairs;
foreach(long i; 0 .. length)
{
pairs ~= Node.Pair(to!string(i), YAMLNull());
}
return pairs;
}
auto DuplicatesShort = set(8) ~ set(2);
auto noDuplicatesShort = set(8);
auto DuplicatesLong = set(64) ~ set(4);
auto noDuplicatesLong = set(64);
bool eq(Node.Pair[] a, Node[] b)
{
if(a.length != b.length){return false;}
foreach(i; 0 .. a.length)
{
if(a[i].key != b[i])
{
return false;
}
}
return true;
}
assert(null !is collectException
(constructSet(Node(DuplicatesShort.dup))));
assert(null is collectException
(constructSet(Node(noDuplicatesShort.dup))));
assert(null !is collectException
(constructSet(Node(DuplicatesLong.dup))));
assert(null is collectException
(constructSet(Node(noDuplicatesLong.dup))));
}
///Construct a sequence (array) _node.
Node[] constructSequence(ref Node node)
{
return node.as!(Node[]);
}
///Construct an unordered map (unordered set of key:value _pairs without duplicates) _node.
Node.Pair[] constructMap(ref Node node)
{
auto pairs = node.as!(Node.Pair[]);
//Detect duplicates.
//TODO this should be replaced by something with deterministic memory allocation.
auto keys = redBlackTree!Node();
scope(exit){clear(keys);}
foreach(ref pair; pairs)
{
enforce(!(pair.key in keys),
new Exception("Duplicate entry in a map: "
~ pair.key.debugString()));
keys.insert(pair.key);
}
return pairs;
}
//Unittests
private:
import std.stream;
import dyaml.loader;
struct MyStruct
{
int x, y, z;
const int opCmp(ref const MyStruct s)
{
if(x != s.x){return x - s.x;}
if(y != s.y){return y - s.y;}
if(z != s.z){return z - s.z;}
return 0;
}
}
MyStruct constructMyStructScalar(ref Node node)
{
//Guaranteed to be string as we construct from scalar.
auto parts = node.as!string().split(":");
return MyStruct(to!int(parts[0]), to!int(parts[1]), to!int(parts[2]));
}
MyStruct constructMyStructSequence(ref Node node)
{
//node is guaranteed to be sequence.
return MyStruct(node[0].as!int, node[1].as!int, node[2].as!int);
}
MyStruct constructMyStructMapping(ref Node node)
{
//node is guaranteed to be mapping.
return MyStruct(node["x"].as!int, node["y"].as!int, node["z"].as!int);
}
unittest
{
char[] data = cast(char[])"!mystruct 1:2:3";
auto loadStream = new MemoryStream(data);
auto loader = Loader(loadStream);
auto constructor = new Constructor;
constructor.addConstructorScalar("!mystruct", &constructMyStructScalar);
loader.constructor = constructor;
Node node = loader.load();
assert(node.as!MyStruct == MyStruct(1, 2, 3));
}
unittest
{
char[] data = cast(char[])"!mystruct [1, 2, 3]";
auto loadStream = new MemoryStream(data);
auto loader = Loader(loadStream);
auto constructor = new Constructor;
constructor.addConstructorSequence("!mystruct", &constructMyStructSequence);
loader.constructor = constructor;
Node node = loader.load();
assert(node.as!MyStruct == MyStruct(1, 2, 3));
}
unittest
{
char[] data = cast(char[])"!mystruct {x: 1, y: 2, z: 3}";
auto loadStream = new MemoryStream(data);
auto loader = Loader(loadStream);
auto constructor = new Constructor;
constructor.addConstructorMapping("!mystruct", &constructMyStructMapping);
loader.constructor = constructor;
Node node = loader.load();
assert(node.as!MyStruct == MyStruct(1, 2, 3));
}
| D |
instance Info_Org_13_EXIT(C_Info)
{
nr = 999;
condition = Info_Org_13_EXIT_Condition;
information = Info_Org_13_EXIT_Info;
permanent = 1;
description = DIALOG_ENDE;
};
func int Info_Org_13_EXIT_Condition()
{
return 1;
};
func void Info_Org_13_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance Info_Org_13_EinerVonEuchWerden(C_Info)
{
nr = 4;
condition = Info_Org_13_EinerVonEuchWerden_Condition;
information = Info_Org_13_EinerVonEuchWerden_Info;
permanent = 1;
description = "Co muszę zrobić, żeby dołączyć do waszego Obozu?";
};
func int Info_Org_13_EinerVonEuchWerden_Condition()
{
if(Npc_GetTrueGuild(other) == GIL_None)
{
return TRUE;
};
};
func void Info_Org_13_EinerVonEuchWerden_Info()
{
AI_Output(other,self,"Info_Org_13_EinerVonEuchWerden_15_00"); //Co muszę zrobić, żeby dołączyć do waszego Obozu?
AI_Output(self,other,"Info_Org_13_EinerVonEuchWerden_13_01"); //Wyjdź na pole i pomóż przy zbieraniu ryżu.
};
instance Info_Org_13_WichtigePersonen(C_Info)
{
nr = 3;
condition = Info_Org_13_WichtigePersonen_Condition;
information = Info_Org_13_WichtigePersonen_Info;
permanent = 1;
description = "Kto tu dowodzi?";
};
func int Info_Org_13_WichtigePersonen_Condition()
{
return 1;
};
func void Info_Org_13_WichtigePersonen_Info()
{
var C_Npc Lee;
AI_Output(other,self,"Info_Org_13_WichtigePersonen_15_00"); //Kto tu dowodzi?
AI_Output(self,other,"Info_Org_13_WichtigePersonen_13_01"); //Lee jest szefem Najemników, jeśli o to ci chodzi. Ale JA nie jestem Najemnikiem, więc niech mnie szlag, jeśli pozwolę mu sobą pomiatać!
Lee = Hlp_GetNpc(Sld_700_Lee);
Lee.aivar[AIV_FINDABLE] = TRUE;
};
instance Info_Org_13_DasLager(C_Info)
{
nr = 2;
condition = Info_Org_13_DasLager_Condition;
information = Info_Org_13_DasLager_Info;
permanent = 1;
description = "Chciałbym się dowiedzieć więcej o waszym Obozie.";
};
func int Info_Org_13_DasLager_Condition()
{
return 1;
};
func void Info_Org_13_DasLager_Info()
{
AI_Output(other,self,"Info_Org_13_DasLager_15_00"); //Chciałbym się dowiedzieć czegoś więcej o waszym Obozie.
AI_Output(self,other,"Info_Org_13_DasLager_13_01"); //Najlepiej wejdź do środka i po prostu rozejrzyj się! Tak długo jak nie jesteś jednym z ludzi Gomeza, nikt cię nie będzie zaczepiał.
};
instance Info_Org_13_DieLage(C_Info)
{
nr = 1;
condition = Info_Org_13_DieLage_Condition;
information = Info_Org_13_DieLage_Info;
permanent = 1;
description = "Co słychać?";
};
func int Info_Org_13_DieLage_Condition()
{
return 1;
};
func void Info_Org_13_DieLage_Info()
{
AI_Output(other,self,"Info_Org_13_DieLage_15_00"); //Co słychać?
AI_Output(self,other,"Info_Org_13_DieLage_13_01"); //A czego chcesz?
};
instance Info_Org_13_Krautprobe(C_Info)
{
nr = 5;
condition = Info_Org_13_Krautprobe_Condition;
information = Info_Org_13_Krautprobe_Info;
permanent = 1;
description = "Wyglądasz mi na kogoś, komu przydałoby się trochę ziela.";
};
func int Info_Org_13_Krautprobe_Condition()
{
if(((BaalKagan_VerteilKraut == LOG_RUNNING) || (BaalKagan_VerteilKraut == LOG_SUCCESS)) && (self.aivar[AIV_DEALDAY] <= Wld_GetDay()))
{
return TRUE;
};
};
func void Info_Org_13_Krautprobe_Info()
{
AI_Output(other,self,"Info_Org_13_Krautprobe_15_00"); //Wyglądasz mi na kogoś, komu przydałoby się trochę bagiennego ziela.
if((Npc_HasItems(other,ItMiJoint_1) > 0) || (Npc_HasItems(other,ItMiJoint_2) > 0) || (Npc_HasItems(other,ItMiJoint_3) > 0))
{
if(Npc_HasItems(other,ItMiJoint_1))
{
B_GiveInvItems(other,self,ItMiJoint_1,1);
}
else if(Npc_HasItems(other,ItMiJoint_2))
{
B_GiveInvItems(other,self,ItMiJoint_2,1);
}
else if(Npc_HasItems(other,ItMiJoint_3))
{
B_GiveInvItems(other,self,ItMiJoint_3,1);
};
AI_Output(self,other,"Info_Org_13_Krautprobe_13_01"); //A masz je przy sobie? Dam ci 10 bryłek rudy!
AI_Output(self,other,"Info_Org_13_Krautprobe_13_02"); //Wracaj, kiedy tylko zechcesz, Bracie!
CreateInvItems(self,ItMiNugget,10);
B_GiveInvItems(self,other,ItMiNugget,10);
NC_Joints_verteilt = NC_Joints_verteilt + 1;
self.aivar[AIV_DEALDAY] = Wld_GetDay() + 1;
}
else
{
AI_Output(self,other,"Info_Org_13_Krautprobe_No_Joint_13_00"); //Ale ty wcale nie masz ziela! Przestań mnie wkurzać!
};
};
func void B_AssignAmbientInfos_Org_13(var C_Npc slf)
{
B_AssignFindNpc_NC(slf);
Info_Org_13_EXIT.npc = Hlp_GetInstanceID(slf);
Info_Org_13_EinerVonEuchWerden.npc = Hlp_GetInstanceID(slf);
Info_Org_13_WichtigePersonen.npc = Hlp_GetInstanceID(slf);
Info_Org_13_DasLager.npc = Hlp_GetInstanceID(slf);
Info_Org_13_DieLage.npc = Hlp_GetInstanceID(slf);
Info_Org_13_Krautprobe.npc = Hlp_GetInstanceID(slf);
};
| D |
/Users/Rens/Development/RecoveryJournal/Build/Intermediates/RecoveryJournal.build/Debug/Async.build/Objects-normal/x86_64/Socket.o : /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/EventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Dispatch/DispatchEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Epoll/EpollEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/FileCache.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/File.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/FutureType.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Promise.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/DirectoryConfig.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+DoCatch.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSink.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Global.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Signal.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Stream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/Stream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/DeltaStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/BasicStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/QueueStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/TranscribingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/TranslatingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ConnectingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/PushStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/DrainStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/MapStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ByteParserStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/EmitterStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ByteSerializerStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/InputStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/OutputStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Transform.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Flatten.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Map.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Unwrap.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/EventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Kqueue/KqueueEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Dispatch/DispatchEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Epoll/EpollEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/FileReader.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Worker.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/PromiseError.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/Socket.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+BlockingAwait.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/FutureResult.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ConnectionContext.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Rens/Development/RecoveryJournal/Build/Intermediates/RecoveryJournal.build/Debug/Async.build/Objects-normal/x86_64/Socket~partial.swiftmodule : /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/EventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Dispatch/DispatchEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Epoll/EpollEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/FileCache.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/File.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/FutureType.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Promise.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/DirectoryConfig.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+DoCatch.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSink.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Global.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Signal.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Stream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/Stream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/DeltaStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/BasicStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/QueueStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/TranscribingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/TranslatingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ConnectingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/PushStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/DrainStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/MapStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ByteParserStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/EmitterStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ByteSerializerStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/InputStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/OutputStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Transform.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Flatten.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Map.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Unwrap.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/EventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Kqueue/KqueueEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Dispatch/DispatchEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Epoll/EpollEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/FileReader.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Worker.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/PromiseError.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/Socket.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+BlockingAwait.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/FutureResult.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ConnectionContext.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
/Users/Rens/Development/RecoveryJournal/Build/Intermediates/RecoveryJournal.build/Debug/Async.build/Objects-normal/x86_64/Socket~partial.swiftdoc : /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/EventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Kqueue/KqueueEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Dispatch/DispatchEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Epoll/EpollEventSource.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/FileCache.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/File.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/FutureType.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Promise.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/DirectoryConfig.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+DoCatch.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketSink.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Global.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Signal.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Stream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/Stream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/DeltaStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/BasicStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/QueueStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/TranscribingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/TranslatingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ConnectingStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/PushStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/DrainStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/MapStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ByteParserStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/EmitterStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ByteSerializerStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/SocketStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/InputStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/OutputStream.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Transform.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Flatten.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Map.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+Unwrap.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/EventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Kqueue/KqueueEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Dispatch/DispatchEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Epoll/EpollEventLoop.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/File/FileReader.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/EventLoop/Worker.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/PromiseError.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Socket/Socket.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/Future+BlockingAwait.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Futures/FutureResult.swift /Users/Rens/Development/RecoveryJournal/.build/checkouts/async.git-2335297525913451934/Sources/Async/Streams/ConnectionContext.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.apinotesc /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreFoundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/IOKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/macosx/x86_64/SwiftOnoneSupport.swiftmodule /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/objc/ObjectiveC.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/include/Darwin.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreGraphics.framework/Headers/CoreGraphics.apinotes /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/System/Library/Frameworks/CoreText.framework/Headers/CoreText.apinotes
| D |
/Users/aaronb/Development/Air-End/DerivedData/Air-End/Build/Intermediates/Mango.build/Debug-iphonesimulator/Mango.build/Objects-normal/x86_64/TaskMapViewDelegate.o : /Users/aaronb/Development/Air-End/Air-End/MapVC-AddressTableViewDelegate-Extension.swift /Users/aaronb/Development/Air-End/Air-End/UIColor+Extension.swift /Users/aaronb/Development/Air-End/Air-End/TextToEnum-\ Extentsion.swift /Users/aaronb/Development/Air-End/Air-End/ListVC.swift /Users/aaronb/Development/Air-End/Air-End/Guidance.swift /Users/aaronb/Development/Air-End/Air-End/MapVC.swift /Users/aaronb/Development/Air-End/Air-End/CorrectAddressTableView.swift /Users/aaronb/Development/Air-End/Air-End/ViewController-Conversions-Extension.swift /Users/aaronb/Development/Air-End/Air-End/ViewController-Extension.swift /Users/aaronb/Development/Air-End/Air-End/MapVC-Guidance-ExtensionViewController.swift /Users/aaronb/Development/Air-End/Air-End/launchScreenViewController.swift /Users/aaronb/Development/Air-End/Air-End/NewTaskVC.swift /Users/aaronb/Development/Air-End/Air-End/Theme.swift /Users/aaronb/Development/Air-End/Air-End/MapVC-SegmentedControl-Extension.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapView.swift /Users/aaronb/Development/Air-End/Air-End/Noun.swift /Users/aaronb/Development/Air-End/Air-End/Task.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapVC.swift /Users/aaronb/Development/Air-End/Air-End/ListVC-LocationExtension.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapViewDelegate.swift /Users/aaronb/Development/Air-End/Air-End/AppDelegate.swift /Users/aaronb/Development/Air-End/Air-End/ColoredDatePicker.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Users/aaronb/Development/Air-End/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule ./Realm.framework/Headers/RLMObjectBase_Dynamic.h ./Realm.framework/Headers/RLMRealm_Dynamic.h ./Realm.framework/PrivateHeaders/RLMSchema_Private.h ./Realm.framework/PrivateHeaders/RLMResults_Private.h ./Realm.framework/PrivateHeaders/RLMRealm_Private.h ./Realm.framework/PrivateHeaders/RLMRealmConfiguration_Private.h ./Realm.framework/PrivateHeaders/RLMProperty_Private.h ./Realm.framework/PrivateHeaders/RLMOptionalBase.h ./Realm.framework/PrivateHeaders/RLMObject_Private.h ./Realm.framework/PrivateHeaders/RLMObjectStore.h ./Realm.framework/PrivateHeaders/RLMObjectSchema_Private.h ./Realm.framework/PrivateHeaders/RLMMigration_Private.h ./Realm.framework/PrivateHeaders/RLMListBase.h ./Realm.framework/PrivateHeaders/RLMArray_Private.h ./Realm.framework/PrivateHeaders/RLMAccessor.h ./Realm.framework/Headers/RLMSchema.h ./Realm.framework/Headers/RLMResults.h ./Realm.framework/Headers/RLMRealmConfiguration.h ./Realm.framework/Headers/RLMRealm.h ./Realm.framework/Headers/RLMConstants.h ./Realm.framework/Headers/RLMProperty.h ./Realm.framework/Headers/RLMPlatform.h ./Realm.framework/Headers/RLMObjectSchema.h ./Realm.framework/Headers/RLMObjectBase.h ./Realm.framework/Headers/RLMObject.h ./Realm.framework/Headers/RLMMigration.h ./Realm.framework/Headers/RLMDefines.h ./Realm.framework/Headers/RLMCollection.h ./Realm.framework/Headers/RLMArray.h ./Realm.framework/Headers/Realm.h ./Realm.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule
/Users/aaronb/Development/Air-End/DerivedData/Air-End/Build/Intermediates/Mango.build/Debug-iphonesimulator/Mango.build/Objects-normal/x86_64/TaskMapViewDelegate~partial.swiftmodule : /Users/aaronb/Development/Air-End/Air-End/MapVC-AddressTableViewDelegate-Extension.swift /Users/aaronb/Development/Air-End/Air-End/UIColor+Extension.swift /Users/aaronb/Development/Air-End/Air-End/TextToEnum-\ Extentsion.swift /Users/aaronb/Development/Air-End/Air-End/ListVC.swift /Users/aaronb/Development/Air-End/Air-End/Guidance.swift /Users/aaronb/Development/Air-End/Air-End/MapVC.swift /Users/aaronb/Development/Air-End/Air-End/CorrectAddressTableView.swift /Users/aaronb/Development/Air-End/Air-End/ViewController-Conversions-Extension.swift /Users/aaronb/Development/Air-End/Air-End/ViewController-Extension.swift /Users/aaronb/Development/Air-End/Air-End/MapVC-Guidance-ExtensionViewController.swift /Users/aaronb/Development/Air-End/Air-End/launchScreenViewController.swift /Users/aaronb/Development/Air-End/Air-End/NewTaskVC.swift /Users/aaronb/Development/Air-End/Air-End/Theme.swift /Users/aaronb/Development/Air-End/Air-End/MapVC-SegmentedControl-Extension.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapView.swift /Users/aaronb/Development/Air-End/Air-End/Noun.swift /Users/aaronb/Development/Air-End/Air-End/Task.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapVC.swift /Users/aaronb/Development/Air-End/Air-End/ListVC-LocationExtension.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapViewDelegate.swift /Users/aaronb/Development/Air-End/Air-End/AppDelegate.swift /Users/aaronb/Development/Air-End/Air-End/ColoredDatePicker.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Users/aaronb/Development/Air-End/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule ./Realm.framework/Headers/RLMObjectBase_Dynamic.h ./Realm.framework/Headers/RLMRealm_Dynamic.h ./Realm.framework/PrivateHeaders/RLMSchema_Private.h ./Realm.framework/PrivateHeaders/RLMResults_Private.h ./Realm.framework/PrivateHeaders/RLMRealm_Private.h ./Realm.framework/PrivateHeaders/RLMRealmConfiguration_Private.h ./Realm.framework/PrivateHeaders/RLMProperty_Private.h ./Realm.framework/PrivateHeaders/RLMOptionalBase.h ./Realm.framework/PrivateHeaders/RLMObject_Private.h ./Realm.framework/PrivateHeaders/RLMObjectStore.h ./Realm.framework/PrivateHeaders/RLMObjectSchema_Private.h ./Realm.framework/PrivateHeaders/RLMMigration_Private.h ./Realm.framework/PrivateHeaders/RLMListBase.h ./Realm.framework/PrivateHeaders/RLMArray_Private.h ./Realm.framework/PrivateHeaders/RLMAccessor.h ./Realm.framework/Headers/RLMSchema.h ./Realm.framework/Headers/RLMResults.h ./Realm.framework/Headers/RLMRealmConfiguration.h ./Realm.framework/Headers/RLMRealm.h ./Realm.framework/Headers/RLMConstants.h ./Realm.framework/Headers/RLMProperty.h ./Realm.framework/Headers/RLMPlatform.h ./Realm.framework/Headers/RLMObjectSchema.h ./Realm.framework/Headers/RLMObjectBase.h ./Realm.framework/Headers/RLMObject.h ./Realm.framework/Headers/RLMMigration.h ./Realm.framework/Headers/RLMDefines.h ./Realm.framework/Headers/RLMCollection.h ./Realm.framework/Headers/RLMArray.h ./Realm.framework/Headers/Realm.h ./Realm.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule
/Users/aaronb/Development/Air-End/DerivedData/Air-End/Build/Intermediates/Mango.build/Debug-iphonesimulator/Mango.build/Objects-normal/x86_64/TaskMapViewDelegate~partial.swiftdoc : /Users/aaronb/Development/Air-End/Air-End/MapVC-AddressTableViewDelegate-Extension.swift /Users/aaronb/Development/Air-End/Air-End/UIColor+Extension.swift /Users/aaronb/Development/Air-End/Air-End/TextToEnum-\ Extentsion.swift /Users/aaronb/Development/Air-End/Air-End/ListVC.swift /Users/aaronb/Development/Air-End/Air-End/Guidance.swift /Users/aaronb/Development/Air-End/Air-End/MapVC.swift /Users/aaronb/Development/Air-End/Air-End/CorrectAddressTableView.swift /Users/aaronb/Development/Air-End/Air-End/ViewController-Conversions-Extension.swift /Users/aaronb/Development/Air-End/Air-End/ViewController-Extension.swift /Users/aaronb/Development/Air-End/Air-End/MapVC-Guidance-ExtensionViewController.swift /Users/aaronb/Development/Air-End/Air-End/launchScreenViewController.swift /Users/aaronb/Development/Air-End/Air-End/NewTaskVC.swift /Users/aaronb/Development/Air-End/Air-End/Theme.swift /Users/aaronb/Development/Air-End/Air-End/MapVC-SegmentedControl-Extension.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapView.swift /Users/aaronb/Development/Air-End/Air-End/Noun.swift /Users/aaronb/Development/Air-End/Air-End/Task.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapVC.swift /Users/aaronb/Development/Air-End/Air-End/ListVC-LocationExtension.swift /Users/aaronb/Development/Air-End/Air-End/TaskMapViewDelegate.swift /Users/aaronb/Development/Air-End/Air-End/AppDelegate.swift /Users/aaronb/Development/Air-End/Air-End/ColoredDatePicker.swift /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Swift.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/UIKit.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Foundation.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Darwin.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/Dispatch.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/ObjectiveC.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreGraphics.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreImage.swiftmodule /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreLocation.swiftmodule /Users/aaronb/Development/Air-End/RealmSwift.framework/Modules/RealmSwift.swiftmodule/x86_64.swiftmodule ./Realm.framework/Headers/RLMObjectBase_Dynamic.h ./Realm.framework/Headers/RLMRealm_Dynamic.h ./Realm.framework/PrivateHeaders/RLMSchema_Private.h ./Realm.framework/PrivateHeaders/RLMResults_Private.h ./Realm.framework/PrivateHeaders/RLMRealm_Private.h ./Realm.framework/PrivateHeaders/RLMRealmConfiguration_Private.h ./Realm.framework/PrivateHeaders/RLMProperty_Private.h ./Realm.framework/PrivateHeaders/RLMOptionalBase.h ./Realm.framework/PrivateHeaders/RLMObject_Private.h ./Realm.framework/PrivateHeaders/RLMObjectStore.h ./Realm.framework/PrivateHeaders/RLMObjectSchema_Private.h ./Realm.framework/PrivateHeaders/RLMMigration_Private.h ./Realm.framework/PrivateHeaders/RLMListBase.h ./Realm.framework/PrivateHeaders/RLMArray_Private.h ./Realm.framework/PrivateHeaders/RLMAccessor.h ./Realm.framework/Headers/RLMSchema.h ./Realm.framework/Headers/RLMResults.h ./Realm.framework/Headers/RLMRealmConfiguration.h ./Realm.framework/Headers/RLMRealm.h ./Realm.framework/Headers/RLMConstants.h ./Realm.framework/Headers/RLMProperty.h ./Realm.framework/Headers/RLMPlatform.h ./Realm.framework/Headers/RLMObjectSchema.h ./Realm.framework/Headers/RLMObjectBase.h ./Realm.framework/Headers/RLMObject.h ./Realm.framework/Headers/RLMMigration.h ./Realm.framework/Headers/RLMDefines.h ./Realm.framework/Headers/RLMCollection.h ./Realm.framework/Headers/RLMArray.h ./Realm.framework/Headers/Realm.h ./Realm.framework/Modules/module.modulemap /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/iphonesimulator/x86_64/CoreData.swiftmodule
| D |
/home/dur4n/developer/blockchain/solana/SecretNumber/solanaProgram/target/debug/deps/rand_chacha-84f310872b096b0f.rmeta: /home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs
/home/dur4n/developer/blockchain/solana/SecretNumber/solanaProgram/target/debug/deps/librand_chacha-84f310872b096b0f.rlib: /home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs
/home/dur4n/developer/blockchain/solana/SecretNumber/solanaProgram/target/debug/deps/rand_chacha-84f310872b096b0f.d: /home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs /home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs
/home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/lib.rs:
/home/dur4n/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_chacha-0.1.1/src/chacha.rs:
| D |
/Users/christopherdugan/rust_projects/pong/target/debug/deps/librand_core-01c47185a8b81eae.rlib: /Users/christopherdugan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs
/Users/christopherdugan/rust_projects/pong/target/debug/deps/rand_core-01c47185a8b81eae.d: /Users/christopherdugan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs
/Users/christopherdugan/.cargo/registry/src/github.com-1ecc6299db9ec823/rand_core-0.3.1/src/lib.rs:
| D |
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb775498%28v=vs.85%29.aspx
// for responsive design, a collapsible widget that if it doesn't have enough room, it just automatically becomes a "more" button or whatever.
// responsive minigui, menu search, and file open with a preview hook on the side.
// FIXME: add menu checkbox and menu icon eventually
/*
im tempted to add some css kind of thing to minigui. i've not done in the past cuz i have a lot of virtual functins i use but i think i have an evil plan
the virtual functions remain as the default calculated values. then the reads go through some proxy object that can override it...
*/
// FIXME: text label must be copyable to the clipboard, at least as a full chunk.
// FIXME: opt-in file picker widget with image support
// FIXME: number widget
// https://www.codeguru.com/cpp/controls/buttonctrl/advancedbuttons/article.php/c5161/Native-Win32-ThemeAware-OwnerDraw-Controls-No-MFC.htm
// https://docs.microsoft.com/en-us/windows/win32/controls/using-visual-styles
// osx style menu search.
// would be cool for a scroll bar to have marking capabilities
// kinda like vim's marks just on clicks etc and visual representation
// generically. may be cool to add an up arrow to the bottom too
//
// leave a shadow of where you last were for going back easily
// So a window needs to have a selection, and that can be represented by a type. This is manipulated by various
// functions like cut, copy, paste. Widgets can have a selection and that would assert teh selection ownership for
// the window.
// so what about context menus?
// https://docs.microsoft.com/en-us/windows/desktop/Controls/about-custom-draw
// FIXME: make the scroll thing go to bottom when the content changes.
// add a knob slider view... you click and go up and down so basically same as a vertical slider, just presented as a round image
// FIXME: the scroll area MUST be fixed to use the proper apis under the hood.
// FIXME: add a command search thingy built in and implement tip.
// FIXME: omg omg what if menu functions have arguments and it can pop up a gui or command line script them?!
// On Windows:
// FIXME: various labels look broken in high contrast mode
// FIXME: changing themes while the program is upen doesn't trigger a redraw
// add note about manifest to documentation. also icons.
// a pager control is just a horizontal scroll area just with arrows on the sides instead of a scroll bar
// FIXME: clear the corner of scrollbars if they pop up
// minigui needs to have a stdout redirection for gui mode on windows writeln
// I kinda wanna do state reacting. sort of. idk tho
// need a viewer widget that works like a web page - arrows scroll down consistently
// I want a nanovega widget, and a svg widget with some kind of event handlers attached to the inside.
// FIXME: the menus should be a bit more discoverable, at least a single click to open the others instead of two.
// and help info about menu items.
// and search in menus?
// FIXME: a scroll area event signaling when a thing comes into view might be good
// FIXME: arrow key navigation and accelerators in dialog boxes will be a must
// FIXME: unify Windows style line endings
/*
TODO:
pie menu
class Form with submit behavior -- see AutomaticDialog
disabled widgets and menu items
event cleanup
tooltips.
api improvements
margins are kinda broken, they don't collapse like they should. at least.
a table form btw would be a horizontal layout of vertical layouts holding each column
that would give the same width things
*/
/*
1(15:19:48) NotSpooky: Menus, text entry, label, notebook, box, frame, file dialogs and layout (this one is very useful because I can draw lines between its child widgets
*/
/++
minigui is a smallish GUI widget library, aiming to be on par with at least
HTML4 forms and a few other expected gui components. It uses native controls
on Windows and does its own thing on Linux (Mac is not currently supported but
may be later, and should use native controls) to keep size down. The Linux
appearance is similar to Windows 95 and avoids using images to maintain network
efficiency on remote X connections, though you can customize that.
minigui's only required dependencies are [arsd.simpledisplay] and [arsd.color],
on which it is built. simpledisplay provides the low-level interfaces and minigui
builds the concept of widgets inside the windows on top of it.
Its #1 goal is to be useful without being large and complicated like GTK and Qt.
It isn't hugely concerned with appearance - on Windows, it just uses the native
controls and native theme, and on Linux, it keeps it simple and I may change that
at any time, though after May 2021, you can customize some things with css-inspired
[Widget.Style] classes. (On Windows, if you compile with `-version=custom_widgets`,
you can use the custom implementation there too, but... you shouldn't.)
The event model is similar to what you use in the browser with Javascript and the
layout engine tries to automatically fit things in, similar to a css flexbox.
FOR BEST RESULTS: be sure to link with the appropriate subsystem command
`-L/SUBSYSTEM:WINDOWS:5.0`, for example, because otherwise you'll get a
console and other visual bugs.
HTML_To_Classes:
$(SMALL_TABLE
HTML Code | Minigui Class
`<input type="text">` | [LineEdit]
`<textarea>` | [TextEdit]
`<select>` | [DropDownSelection]
`<input type="checkbox">` | [Checkbox]
`<input type="radio">` | [Radiobox]
`<button>` | [Button]
)
Stretchiness:
The default is 4. You can use larger numbers for things that should
consume a lot of space, and lower numbers for ones that are better at
smaller sizes.
Overlapped_input:
COMING EVENTUALLY:
minigui will include a little bit of I/O functionality that just works
with the event loop. If you want to get fancy, I suggest spinning up
another thread and posting events back and forth.
$(H2 Add ons)
See the `minigui_addons` directory in the arsd repo for some add on widgets
you can import separately too.
$(H3 XML definitions)
If you use [arsd.minigui_xml], you can create widget trees from XML at runtime.
$(H3 Scriptability)
minigui is compatible with [arsd.script]. If you see `@scriptable` on a method
in this documentation, it means you can call it from the script language.
Tip: to allow easy creation of widget trees from script, import [arsd.minigui_xml]
and make [arsd.minigui_xml.makeWidgetFromString] available to your script:
---
import arsd.minigui_xml;
import arsd.script;
var globals = var.emptyObject;
globals.makeWidgetFromString = &makeWidgetFromString;
// this now works
interpret(`var window = makeWidgetFromString("<MainWindow />");`, globals);
---
More to come.
History:
Minigui had mostly additive changes or bug fixes since its inception until May 2021.
In May 2021 (dub v10.0), minigui got an overhaul. If it was versioned independently, I'd
tag this as version 2.0.
Among the changes:
$(LIST
* The event model changed to prefer strongly-typed events, though the Javascript string style ones still work, using properties off them is deprecated. It will still compile and function, but you should change the handler to use the classes in its argument list. I adapted my code to use the new model in just a few minutes, so it shouldn't too hard.
See [Event] for details.
* A [DoubleClickEvent] was added. Previously, you'd get two rapidly repeated click events. Now, you get one click event followed by a double click event. If you must recreate the old way exactly, you can listen for a DoubleClickEvent, set a flag upon receiving one, then send yourself a synthetic ClickEvent on the next MouseUpEvent, but your program might be better served just working with [MouseDownEvent]s instead.
See [DoubleClickEvent] for details.
* Styling hints were added, and the few that existed before have been moved to a new helper class. Deprecated forwarders exist for the (few) old properties to help you transition. Note that most of these only affect a `custom_events` build, which is the default on Linux, but opt in only on Windows.
See [Widget.Style] for details.
// * A widget must now opt in to receiving keyboard focus, rather than opting out.
* Widgets now draw their keyboard focus by default instead of opt in. You may wish to set `tabStop = false;` if it wasn't supposed to receive it.
* Most Widget constructors no longer have a default `parent` argument. You must pass the parent to almost all widgets, or in rare cases, an explict `null`, but more often than not, you need the parent so the default argument was not very useful at best and misleading to a crash at worst.
* [LabeledLineEdit] changed its default layout to vertical instead of horizontal. You can restore the old behavior by passing a `TextAlignment` argument to the constructor.
* Several conversions of public fields to properties, deprecated, or made private. It is unlikely this will affect you, but the compiler will tell you if it does.
* Various non-breaking additions.
)
+/
module arsd.minigui;
/++
This hello world sample will have an oversized button, but that's ok, you see your first window!
+/
version(Demo)
unittest {
import arsd.minigui;
void main() {
auto window = new MainWindow();
auto hello = new TextLabel("Hello, world!", TextAlignment.Center, window);
auto button = new Button("Close", window);
button.addEventListener((scope ClickEvent ev) {
window.close();
});
window.loop();
}
main(); // exclude from docs
}
/++
This example shows one way you can partition your window into a header
and sidebar. Here, the header and sidebar have a fixed width, while the
rest of the content sizes with the window.
It might be a new way of thinking about window layout to do things this
way - perhaps [GridLayout] more matches your style of thought - but the
concept here is to partition the window into sub-boxes with a particular
size, then partition those boxes into further boxes.
$(IMG //arsdnet.net/minigui-screenshots/windows/layout.png, The example window has a header across the top, then below it a sidebar to the left and a content area to the right.)
So to make the header, start with a child layout that has a max height.
It will use that space from the top, then the remaining children will
split the remaining area, meaning you can think of is as just being another
box you can split again. Keep splitting until you have the look you desire.
+/
// https://github.com/adamdruppe/arsd/issues/310
version(minigui_screenshots)
@Screenshot("layout")
unittest {
import arsd.minigui;
// This helper class is just to help make the layout boxes visible.
// think of it like a <div style="background-color: whatever;"></div> in HTML.
class ColorWidget : Widget {
this(Color color, Widget parent) {
this.color = color;
super(parent);
}
Color color;
class Style : Widget.Style {
override WidgetBackground background() { return WidgetBackground(color); }
}
mixin OverrideStyle!Style;
}
void main() {
auto window = new Window;
// the key is to give it a max height. This is one way to do it:
auto header = new class HorizontalLayout {
this() { super(window); }
override int maxHeight() { return 50; }
};
// this next line is a shortcut way of doing it too, but it only works
// for HorizontalLayout and VerticalLayout, and is less explicit, so it
// is good to know how to make a new class like above anyway.
// auto header = new HorizontalLayout(50, window);
auto bar = new HorizontalLayout(window);
// or since this is so common, VerticalLayout and HorizontalLayout both
// can just take an argument in their constructor for max width/height respectively
// (could have tone this above too, but I wanted to demo both techniques)
auto left = new VerticalLayout(100, bar);
// and this is the main section's container. A plain Widget instance is good enough here.
auto container = new Widget(bar);
// and these just add color to the containers we made above for the screenshot.
// in a real application, you can just add your actual controls instead of these.
auto headerColorBox = new ColorWidget(Color.teal, header);
auto leftColorBox = new ColorWidget(Color.green, left);
auto rightColorBox = new ColorWidget(Color.purple, container);
window.loop();
}
main(); // exclude from docs
}
public import arsd.simpledisplay;
/++
Convenience import to override the Windows GDI Rectangle function (you can still use it through fully-qualified imports)
History:
Was private until May 15, 2021.
+/
public alias Rectangle = arsd.color.Rectangle; // I specifically want this in here, not the win32 GDI Rectangle()
version(Windows) {
import core.sys.windows.winnls;
import core.sys.windows.windef;
import core.sys.windows.basetyps;
import core.sys.windows.winbase;
import core.sys.windows.winuser;
import core.sys.windows.wingdi;
static import gdi = core.sys.windows.wingdi;
}
version(Windows) {
version(minigui_manifest) {} else version=minigui_no_manifest;
version(minigui_no_manifest) {} else
static if(__VERSION__ >= 2_083)
version(CRuntime_Microsoft) { // FIXME: mingw?
// assume we want commctrl6 whenever possible since there's really no reason not to
// and this avoids some of the manifest hassle
pragma(linkerDirective, "\"/manifestdependency:type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*'\"");
}
}
// this is a hack to call the original window procedure on native win32 widgets if our event listener thing prevents default.
private bool lastDefaultPrevented;
/// Methods marked with this are available from scripts if added to the [arsd.script] engine.
alias scriptable = arsd_jsvar_compatible;
version(Windows) {
// use native widgets when available unless specifically asked otherwise
version(custom_widgets) {
enum bool UsingCustomWidgets = true;
enum bool UsingWin32Widgets = false;
} else {
version = win32_widgets;
enum bool UsingCustomWidgets = false;
enum bool UsingWin32Widgets = true;
}
// and native theming when needed
//version = win32_theming;
} else {
enum bool UsingCustomWidgets = true;
enum bool UsingWin32Widgets = false;
version=custom_widgets;
}
/*
The main goals of minigui.d are to:
1) Provide basic widgets that just work in a lightweight lib.
I basically want things comparable to a plain HTML form,
plus the easy and obvious things you expect from Windows
apps like a menu.
2) Use native things when possible for best functionality with
least library weight.
3) Give building blocks to provide easy extension for your
custom widgets, or hooking into additional native widgets
I didn't wrap.
4) Provide interfaces for easy interaction between third
party minigui extensions. (event model, perhaps
signals/slots, drop-in ease of use bits.)
5) Zero non-system dependencies, including Phobos as much as
I reasonably can. It must only import arsd.color and
my simpledisplay.d. If you need more, it will have to be
an extension module.
6) An easy layout system that generally works.
A stretch goal is to make it easy to make gui forms with code,
some kind of resource file (xml?) and even a wysiwyg designer.
Another stretch goal is to make it easy to hook data into the gui,
including from reflection. So like auto-generate a form from a
function signature or struct definition, or show a list from an
array that automatically updates as the array is changed. Then,
your program focuses on the data more than the gui interaction.
STILL NEEDED:
* combo box. (this is diff than select because you can free-form edit too. more like a lineedit with autoselect)
* slider
* listbox
* spinner
* label?
* rich text
*/
/+
enum LayoutMethods {
verticalFlex,
horizontalFlex,
inlineBlock, // left to right, no stretch, goes to next line as needed
static, // just set to x, y
verticalNoStretch, // browser style default
inlineBlockFlex, // goes left to right, flexing, but when it runs out of space, it spills into next line
grid, // magic
}
+/
/++
The `Widget` is the base class for minigui's functionality, ranging from UI components like checkboxes or text displays to abstract groupings of other widgets like a layout container or a html `<div>`. You will likely want to use pre-made widgets as well as creating your own.
To create your own widget, you must inherit from it and create a constructor that passes a parent to `super`. Everything else after that is optional.
---
class MinimalWidget : Widget {
this(Widget parent) {
super(parent);
}
}
---
$(SIDEBAR
I'm not entirely happy with leaf, container, and windows all coming from the same base Widget class, but I so far haven't thought of a better solution that's good enough to justify the breakage of a transition. It hasn't been a major problem in practice anyway.
)
Broadly, there's two kinds of widgets: leaf widgets, which are intended to be the direct user-interactive components, and container widgets, which organize, lay out, and aggregate other widgets in the object tree. A special case of a container widget is [Window], which represents a separate top-level window on the screen. Both leaf and container widgets inherit from `Widget`, so this distinction is more conventional than formal.
Among the things you'll most likely want to change in your custom widget:
$(LIST
* In your constructor, set `tabStop = false;` if the widget is not supposed to receive keyboard focus. (Please note its childen still can, so `tabStop = false;` is appropriate on most container widgets.)
You may explicitly set `tabStop = true;` to ensure you get it, even against future changes to the library, though that's the default right now.
Do this $(I after) calling the `super` constructor.
* Override [paint] if you want full control of the widget's drawing area (except the area obscured by children!), or [paintContent] if you want to participate in the styling engine's system. You'll also possibly want to make a subclass of [Style] and use [OverrideStyle] to change the default hints given to the styling engine for widget.
Generally, painting is a job for leaf widgets, since child widgets would obscure your drawing area anyway. However, it is your decision.
* Override default event handlers with your behavior. For example [defaultEventHandler_click] may be overridden to make clicks do something. Again, this is generally a job for leaf widgets rather than containers; most events are dispatched to the lowest leaf on the widget tree, but they also pass through all their parents. See [Event] for more details about the event model.
* You may also want to override the various layout hints like [minWidth], [maxHeight], etc. In particular [Padding] and [Margin] are often relevant for both container and leaf widgets and the default values of 0 are often not what you want.
)
On Microsoft Windows, many widgets are also based on native controls. You can also do this if `static if(UsingWin32Widgets)` passes. You should use the helper function [createWin32Window] to create the window and let minigui do what it needs to do to create its bridge structures. This will populate [Widget.hwnd] which you can access later for communcating with the native window. You may also consider overriding [Widget.handleWmCommand] and [Widget.handleWmNotify] for the widget to translate those messages into appropriate minigui [Event]s.
It is also possible to embed a [SimpleWindow]-based native window inside a widget. See [OpenGlWidget]'s source code as an example.
Your own custom-drawn and native system controls can exist side-by-side.
Later I'll add more complete examples, but for now [TextLabel] and [LabeledPasswordEdit] are both simple widgets you can view implementation to get some ideas.
+/
class Widget : ReflectableProperties {
private bool willDraw() {
return true;
}
/+
/++
Calling this directly after constructor can give you a reflectable object as-needed so you don't pay for what you don't need.
History:
Added September 15, 2021
implemented.... ???
+/
void prepareReflection(this This)() {
}
+/
private bool _enabled = true;
/++
Determines whether the control is marked enabled. Disabled controls are generally displayed as greyed out and clicking on them does nothing. It is also possible for a control to be disabled because its parent is disabled, in which case this will still return `true`, but setting `enabled = true` may have no effect. Check [disabledBy] to see which parent caused it to be disabled.
I also recommend you set a [disabledReason] if you chose to set `enabled = false` to tell the user why the control does not work and what they can do to enable it.
History:
Added November 23, 2021 (dub v10.4)
Warning: the specific behavior of disabling with parents may change in the future.
Bugs:
Currently only implemented for widgets backed by native Windows controls.
See_Also: [disabledReason], [disabledBy]
+/
@property bool enabled() {
return disabledBy() is null;
}
/// ditto
@property void enabled(bool yes) {
_enabled = yes;
version(win32_widgets) {
if(hwnd)
EnableWindow(hwnd, yes);
}
setDynamicState(DynamicState.disabled, yes);
}
private string disabledReason_;
/++
If the widget is not [enabled] this string may be presented to the user when they try to use it. The exact manner and time it gets displayed is up to the implementation of the control.
Setting this does NOT disable the widget. You need to call `enabled = false;` separately. It does set the data though.
History:
Added November 23, 2021 (dub v10.4)
See_Also: [enabled], [disabledBy]
+/
@property string disabledReason() {
auto w = disabledBy();
return (w is null) ? null : w.disabledReason_;
}
/// ditto
@property void disabledReason(string reason) {
disabledReason_ = reason;
}
/++
Returns the widget that disabled this. It might be this or one of its parents all the way up the chain, or `null` if the widget is not disabled by anything. You can check [disabledReason] on the return value (after the null check!) to get a hint to display to the user.
History:
Added November 25, 2021 (dub v10.4)
See_Also: [enabled], [disabledReason]
+/
Widget disabledBy() {
Widget p = this;
while(p) {
if(!p._enabled)
return p;
p = p.parent;
}
return null;
}
/// Implementations of [ReflectableProperties] interface. See the interface for details.
SetPropertyResult setPropertyFromString(string name, scope const(char)[] value, bool valueIsJson) {
if(valueIsJson)
return SetPropertyResult.wrongFormat;
switch(name) {
case "name":
this.name = value.idup;
return SetPropertyResult.success;
case "statusTip":
this.statusTip = value.idup;
return SetPropertyResult.success;
default:
return SetPropertyResult.noSuchProperty;
}
}
/// ditto
void getPropertiesList(scope void delegate(string name) sink) const {
sink("name");
sink("statusTip");
}
/// ditto
void getPropertyAsString(string name, scope void delegate(string name, scope const(char)[] value, bool valueIsJson) sink) {
switch(name) {
case "name":
sink(name, this.name, false);
return;
case "statusTip":
sink(name, this.statusTip, false);
return;
default:
sink(name, null, true);
}
}
/++
Scales the given value to the system-reported DPI for the monitor on which the widget resides.
History:
Added November 25, 2021 (dub v10.5)
`Point` overload added January 12, 2022 (dub v10.6)
+/
int scaleWithDpi(int value, int assumedDpi = 96) {
// avoid potential overflow with common special values
if(value == int.max)
return int.max;
if(value == int.min)
return int.min;
if(value == 0)
return 0;
auto divide = (parentWindow && parentWindow.win) ? parentWindow.win.actualDpi : assumedDpi;
//divide = 138;
// for lower values it is something i don't really want changed anyway since it is an old monitor and you don't want to scale down.
// this also covers the case when actualDpi returns 0.
if(divide < 96)
divide = 96;
return value * divide / assumedDpi;
}
/// ditto
Point scaleWithDpi(Point value, int assumedDpi = 96) {
return Point(scaleWithDpi(value.x, assumedDpi), scaleWithDpi(value.y, assumedDpi));
}
// avoid this it just forwards to a soon-to-be-deprecated function and is not remotely stable
// I'll think up something better eventually
protected final int defaultLineHeight() {
auto cs = getComputedStyle();
if(cs.font && !cs.font.isNull)
return cs.font.height() * 5 / 4;
else
return scaleWithDpi(Window.lineHeight);
}
protected final int defaultTextWidth(const(char)[] text) {
auto cs = getComputedStyle();
if(cs.font && !cs.font.isNull)
return cs.font.stringWidth(text);
else
return scaleWithDpi(Window.lineHeight * cast(int) text.length / 2);
}
/++
If `encapsulatedChildren` returns true, it changes the event handling mechanism to act as if events from the child widgets are actually targeted on this widget.
The idea is then you can use child widgets as part of your implementation, but not expose those details through the event system; if someone checks the mouse coordinates and target of the event once it bubbles past you, it will show as it it came from you.
History:
Added May 22, 2021
+/
protected bool encapsulatedChildren() {
return false;
}
private void privateDpiChanged() {
dpiChanged();
foreach(child; children)
child.privateDpiChanged();
}
/++
Virtual hook to update any caches or fonts you need on the event of a dpi scaling change.
History:
Added January 12, 2022 (dub v10.6)
+/
protected void dpiChanged() {
}
// Default layout properties {
int minWidth() { return 0; }
int minHeight() {
// default widgets have a vertical layout, therefore the minimum height is the sum of the contents
int sum = 0;
foreach(child; children) {
sum += child.minHeight();
sum += child.marginTop();
sum += child.marginBottom();
}
return sum;
}
int maxWidth() { return int.max; }
int maxHeight() { return int.max; }
int widthStretchiness() { return 4; }
int heightStretchiness() { return 4; }
/++
Where stretchiness will grow from the flex basis, this shrinkiness will let it get smaller if needed to make room for other items.
History:
Added June 15, 2021 (dub v10.1)
+/
int widthShrinkiness() { return 0; }
/// ditto
int heightShrinkiness() { return 0; }
/++
The initial size of the widget for layout calculations. Default is 0.
See_Also: [https://developer.mozilla.org/en-US/docs/Web/CSS/flex-basis|CSS flex-basis]
History:
Added June 15, 2021 (dub v10.1)
+/
int flexBasisWidth() { return 0; }
/// ditto
int flexBasisHeight() { return 0; }
int marginLeft() { return 0; }
int marginRight() { return 0; }
int marginTop() { return 0; }
int marginBottom() { return 0; }
int paddingLeft() { return 0; }
int paddingRight() { return 0; }
int paddingTop() { return 0; }
int paddingBottom() { return 0; }
//LinePreference linePreference() { return LinePreference.PreferOwnLine; }
private bool recomputeChildLayoutRequired = true;
private static class RecomputeEvent {}
private __gshared rce = new RecomputeEvent();
protected final void queueRecomputeChildLayout() {
recomputeChildLayoutRequired = true;
if(this.parentWindow) {
auto sw = this.parentWindow.win;
assert(sw !is null);
if(!sw.eventQueued!RecomputeEvent) {
sw.postEvent(rce);
// import std.stdio; writeln("redraw requested from ", file,":",line," ", this.parentWindow.win.impl.window);
}
}
}
protected final void recomputeChildLayoutEntry() {
if(recomputeChildLayoutRequired) {
recomputeChildLayout();
recomputeChildLayoutRequired = false;
redraw();
} else {
// I still need to check the tree just in case one of them was queued up
// and the event came up here instead of there.
foreach(child; children)
child.recomputeChildLayoutEntry();
}
}
// this function should (almost) never be called directly anymore... call recomputeChildLayoutEntry when executing it and queueRecomputeChildLayout if you just want it done soon
void recomputeChildLayout() {
.recomputeChildLayout!"height"(this);
}
// }
/++
Returns the style's tag name string this object uses.
The default is to use the typeid() name trimmed down to whatever is after the last dot which is typically the identifier of the class.
This tag may never be used, it is just available for the [VisualTheme.getPropertyString] if it chooses to do something like CSS.
History:
Added May 10, 2021
+/
string styleTagName() const {
string n = typeid(this).name;
foreach_reverse(idx, ch; n)
if(ch == '.') {
n = n[idx + 1 .. $];
break;
}
return n;
}
/// API for the [styleClassList]
static struct ClassList {
private Widget widget;
///
void add(string s) {
widget.styleClassList_ ~= s;
}
///
void remove(string s) {
foreach(idx, s1; widget.styleClassList_)
if(s1 == s) {
widget.styleClassList_[idx] = widget.styleClassList_[$-1];
widget.styleClassList_ = widget.styleClassList_[0 .. $-1];
widget.styleClassList_.assumeSafeAppend();
return;
}
}
/// Returns true if it was added, false if it was removed.
bool toggle(string s) {
if(contains(s)) {
remove(s);
return false;
} else {
add(s);
return true;
}
}
///
bool contains(string s) const {
foreach(s1; widget.styleClassList_)
if(s1 == s)
return true;
return false;
}
}
private string[] styleClassList_;
/++
Returns a "class list" that can be used by the visual theme's style engine via [VisualTheme.getPropertyString] if it chooses to do something like CSS.
It has no inherent meaning, it is really just a place to put some metadata tags on individual objects.
History:
Added May 10, 2021
+/
inout(ClassList) styleClassList() inout {
return cast(inout(ClassList)) ClassList(cast() this);
}
/++
List of dynamic states made available to the style engine, for cases like CSS pseudo-classes and also used by default paint methods. It is stored in a 64 bit variable attached to the widget that you can update. The style cache is aware of the fact that these can frequently change.
The lower 32 bits are defined here or reserved for future use by the library. You should keep these updated if you reasonably can on custom widgets if they apply to you, but don't use them for a purpose they aren't defined for.
The upper 32 bits are available for your own extensions.
History:
Added May 10, 2021
+/
enum DynamicState : ulong {
focus = (1 << 0), /// the widget currently has the keyboard focus
hover = (1 << 1), /// the mouse is currently hovering over the widget (may not always be updated)
valid = (1 << 2), /// the widget's content has been validated and it passed (do not set if not validation has been performed!)
invalid = (1 << 3), /// the widget's content has been validated and it failed (do not set if not validation has been performed!)
checked = (1 << 4), /// the widget is toggleable and currently toggled on
selected = (1 << 5), /// the widget represents one option of many and is currently selected, but is not necessarily focused nor checked.
disabled = (1 << 6), /// the widget is currently unable to perform its designated task
indeterminate = (1 << 7), /// the widget has tri-state and is between checked and not checked
depressed = (1 << 8), /// the widget is being actively pressed or clicked (compare to css `:active`). Can be combined with hover to visually indicate if a mouse up would result in a click event.
USER_BEGIN = (1UL << 32),
}
// I want to add the primary and cancel styles to buttons at least at some point somehow.
/// ditto
@property ulong dynamicState() { return dynamicState_; }
/// ditto
@property ulong dynamicState(ulong newValue) {
if(dynamicState != newValue) {
auto old = dynamicState_;
dynamicState_ = newValue;
useStyleProperties((scope Widget.Style s) {
if(s.variesWithState(old ^ newValue))
redraw();
});
}
return dynamicState_;
}
/// ditto
void setDynamicState(ulong flags, bool state) {
auto ds = dynamicState_;
if(state)
ds |= flags;
else
ds &= ~flags;
dynamicState = ds;
}
private ulong dynamicState_;
deprecated("Use dynamic styles instead now") {
Color backgroundColor() { return backgroundColor_; }
void backgroundColor(Color c){ this.backgroundColor_ = c; }
MouseCursor cursor() { return GenericCursor.Default; }
} private Color backgroundColor_ = Color.transparent;
/++
Style properties are defined as an accessory class so they can be referenced and overridden independently.
It is here so there can be a specificity switch.
See [OverrideStyle] for a helper function to use your own.
History:
Added May 11, 2021
+/
static class Style/* : StyleProperties*/ {
public Widget widget; // public because the mixin template needs access to it
/++
You must override this to trigger automatic redraws if you ever uses the `dynamicState` flag in your style.
History:
Added May 11, 2021, but changed on July 2, 2021 to return false by default. You MUST override this if you want declarative hover effects etc to take effect.
+/
bool variesWithState(ulong dynamicStateFlags) {
version(win32_widgets) {
if(widget.hwnd)
return false;
}
return widget.tabStop && ((dynamicStateFlags & DynamicState.focus) ? true : false);
}
///
Color foregroundColor() {
return WidgetPainter.visualTheme.foregroundColor;
}
///
WidgetBackground background() {
// the default is a "transparent" background, which means
// it goes as far up as it can to get the color
if (widget.backgroundColor_ != Color.transparent)
return WidgetBackground(widget.backgroundColor_);
if (widget.parent)
return widget.parent.getComputedStyle.background;
return WidgetBackground(widget.backgroundColor_);
}
private static OperatingSystemFont fontCached_;
private OperatingSystemFont fontCached() {
if(fontCached_ is null)
fontCached_ = font();
return fontCached_;
}
/++
Returns the default font to be used with this widget. The return value will be cached by the library, so you can not expect live updates.
+/
OperatingSystemFont font() {
return null;
}
/++
Returns the cursor that should be used over this widget. You may change this and updates will be reflected next time the mouse enters the widget.
You can return a member of [GenericCursor] or your own [MouseCursor] instance.
History:
Was previously a method directly on [Widget], moved to [Widget.Style] on May 12, 2021
+/
MouseCursor cursor() {
return GenericCursor.Default;
}
FrameStyle borderStyle() {
return FrameStyle.none;
}
/++
+/
Color borderColor() {
return Color.transparent;
}
FrameStyle outlineStyle() {
if(widget.dynamicState & DynamicState.focus)
return FrameStyle.dotted;
else
return FrameStyle.none;
}
Color outlineColor() {
return foregroundColor;
}
}
/++
This mixin overrides the [useStyleProperties] method to direct it toward your own style class.
The basic usage is simple:
---
static class Style : YourParentClass.Style { /* YourParentClass is frequently Widget, of course, but not always */
// override style hints as-needed here
}
OverrideStyle!Style; // add the method
---
$(TIP
While the class is not forced to be `static`, for best results, it should be. A non-static class
can not be inherited by other objects whereas the static one can. A property on the base class,
called [Widget.Style.widget|widget], is available for you to access its properties.
)
This exists just because [useStyleProperties] has a somewhat convoluted signature and its overrides must
repeat them. Moreover, its implementation uses a stack class to optimize GC pressure from small fetches
and that's a little tedious to repeat in your child classes too when you only care about changing the type.
It also has a further facility to pick a wholly differnet class based on the [DynamicState] of the Widget.
You may also just override `variesWithState` when you use this flag.
---
mixin OverrideStyle!(
DynamicState.focus, YourFocusedStyle,
DynamicState.hover, YourHoverStyle,
YourDefaultStyle
)
---
It checks if `dynamicState` matches the state and if so, returns the object given.
If there is no state mask given, the next one matches everything. The first match given is used.
However, since in most cases you'll want check state inside your individual methods, you probably won't
find much use for this whole-class swap out.
History:
Added May 16, 2021
+/
static protected mixin template OverrideStyle(S...) {
static import amg = arsd.minigui;
override void useStyleProperties(scope void delegate(scope amg.Widget.Style props) dg) {
ulong mask = 0;
foreach(idx, thing; S) {
static if(is(typeof(thing) : ulong)) {
mask = thing;
} else {
if(!(idx & 1) || (this.dynamicState & mask) == mask) {
//static assert(!__traits(isNested, thing), thing.stringof ~ " is a nested class. For best results, mark it `static`. You can still access the widget through a `widget` variable inside the Style class.");
scope amg.Widget.Style s = new thing();
s.widget = this;
dg(s);
return;
}
}
}
}
}
/++
You can override this by hand, or use the [OverrideStyle] helper which is a bit less verbose.
+/
void useStyleProperties(scope void delegate(scope Style props) dg) {
scope Style s = new Style();
s.widget = this;
dg(s);
}
protected void sendResizeEvent() {
this.emit!ResizeEvent();
}
Menu contextMenu(int x, int y) { return null; }
final bool showContextMenu(int x, int y, int screenX = -2, int screenY = -2) {
if(parentWindow is null || parentWindow.win is null) return false;
auto menu = this.contextMenu(x, y);
if(menu is null)
return false;
version(win32_widgets) {
// FIXME: if it is -1, -1, do it at the current selection location instead
// tho the corner of the window, whcih it does now, isn't the literal worst.
if(screenX < 0 && screenY < 0) {
auto p = this.globalCoordinates();
if(screenX == -2)
p.x += x;
if(screenY == -2)
p.y += y;
screenX = p.x;
screenY = p.y;
}
if(!TrackPopupMenuEx(menu.handle, 0, screenX, screenY, parentWindow.win.impl.hwnd, null))
throw new Exception("TrackContextMenuEx");
} else version(custom_widgets) {
menu.popup(this, x, y);
}
return true;
}
/++
Removes this widget from its parent.
History:
`removeWidget` was made `final` on May 11, 2021.
+/
@scriptable
final void removeWidget() {
auto p = this.parent;
if(p) {
int item;
for(item = 0; item < p._children.length; item++)
if(p._children[item] is this)
break;
auto idx = item;
for(; item < p._children.length - 1; item++)
p._children[item] = p._children[item + 1];
p._children = p._children[0 .. $-1];
this.parent.widgetRemoved(idx, this);
//this.parent = null;
}
version(win32_widgets) {
removeAllChildren();
if(hwnd) {
DestroyWindow(hwnd);
hwnd = null;
}
}
}
/++
Notifies the subclass that a widget was removed. If you keep auxillary data about your children, you can override this to help keep that data in sync.
History:
Added September 19, 2021
+/
protected void widgetRemoved(size_t oldIndex, Widget oldReference) { }
/++
Removes all child widgets from `this`. You should not use the removed widgets again.
Note that on Windows, it also destroys the native handles for the removed children recursively.
History:
Added July 1, 2021 (dub v10.2)
+/
void removeAllChildren() {
version(win32_widgets)
foreach(child; _children) {
child.removeAllChildren();
if(child.hwnd) {
DestroyWindow(child.hwnd);
child.hwnd = null;
}
}
auto orig = this._children;
this._children = null;
foreach(idx, w; orig)
this.widgetRemoved(idx, w);
}
/++
Calls [getByName] with the generic type of Widget. Meant for script interop where instantiating a template is impossible.
+/
@scriptable
Widget getChildByName(string name) {
return getByName(name);
}
/++
Finds the nearest descendant with the requested type and [name]. May return `this`.
+/
final WidgetClass getByName(WidgetClass = Widget)(string name) {
if(this.name == name)
if(auto c = cast(WidgetClass) this)
return c;
foreach(child; children) {
auto w = child.getByName(name);
if(auto c = cast(WidgetClass) w)
return c;
}
return null;
}
/++
The name is a string tag that is used to reference the widget from scripts, gui loaders, declarative ui templates, etc. Similar to a HTML id attribute.
Names should be unique in a window.
See_Also: [getByName], [getChildByName]
+/
@scriptable string name;
private EventHandler[][string] bubblingEventHandlers;
private EventHandler[][string] capturingEventHandlers;
/++
Default event handlers. These are called on the appropriate
event unless [Event.preventDefault] is called on the event at
some point through the bubbling process.
If you are implementing your own widget and want to add custom
events, you should follow the same pattern here: create a virtual
function named `defaultEventHandler_eventname` with the implementation,
then, override [setupDefaultEventHandlers] and add a wrapped caller to
`defaultEventHandlers["eventname"]`. It should be wrapped like so:
`defaultEventHandlers["eventname"] = (Widget t, Event event) { t.defaultEventHandler_name(event); };`.
This ensures virtual dispatch based on the correct subclass.
Also, don't forget to call `super.setupDefaultEventHandlers();` too in your
overridden version.
You only need to do that on parent classes adding NEW event types. If you
just want to change the default behavior of an existing event type in a subclass,
you override the function (and optionally call `super.method_name`) like normal.
+/
protected EventHandler[string] defaultEventHandlers;
/// ditto
void setupDefaultEventHandlers() {
defaultEventHandlers["click"] = (Widget t, Event event) { t.defaultEventHandler_click(cast(ClickEvent) event); };
defaultEventHandlers["dblclick"] = (Widget t, Event event) { t.defaultEventHandler_dblclick(cast(DoubleClickEvent) event); };
defaultEventHandlers["keydown"] = (Widget t, Event event) { t.defaultEventHandler_keydown(cast(KeyDownEvent) event); };
defaultEventHandlers["keyup"] = (Widget t, Event event) { t.defaultEventHandler_keyup(cast(KeyUpEvent) event); };
defaultEventHandlers["mouseover"] = (Widget t, Event event) { t.defaultEventHandler_mouseover(cast(MouseOverEvent) event); };
defaultEventHandlers["mouseout"] = (Widget t, Event event) { t.defaultEventHandler_mouseout(cast(MouseOutEvent) event); };
defaultEventHandlers["mousedown"] = (Widget t, Event event) { t.defaultEventHandler_mousedown(cast(MouseDownEvent) event); };
defaultEventHandlers["mouseup"] = (Widget t, Event event) { t.defaultEventHandler_mouseup(cast(MouseUpEvent) event); };
defaultEventHandlers["mouseenter"] = (Widget t, Event event) { t.defaultEventHandler_mouseenter(cast(MouseEnterEvent) event); };
defaultEventHandlers["mouseleave"] = (Widget t, Event event) { t.defaultEventHandler_mouseleave(cast(MouseLeaveEvent) event); };
defaultEventHandlers["mousemove"] = (Widget t, Event event) { t.defaultEventHandler_mousemove(cast(MouseMoveEvent) event); };
defaultEventHandlers["char"] = (Widget t, Event event) { t.defaultEventHandler_char(cast(CharEvent) event); };
defaultEventHandlers["triggered"] = (Widget t, Event event) { t.defaultEventHandler_triggered(event); };
defaultEventHandlers["change"] = (Widget t, Event event) { t.defaultEventHandler_change(event); };
defaultEventHandlers["focus"] = (Widget t, Event event) { t.defaultEventHandler_focus(event); };
defaultEventHandlers["blur"] = (Widget t, Event event) { t.defaultEventHandler_blur(event); };
defaultEventHandlers["focusin"] = (Widget t, Event event) { t.defaultEventHandler_focusin(event); };
defaultEventHandlers["focusout"] = (Widget t, Event event) { t.defaultEventHandler_focusout(event); };
}
/// ditto
void defaultEventHandler_click(ClickEvent event) {}
/// ditto
void defaultEventHandler_dblclick(DoubleClickEvent event) {}
/// ditto
void defaultEventHandler_keydown(KeyDownEvent event) {}
/// ditto
void defaultEventHandler_keyup(KeyUpEvent event) {}
/// ditto
void defaultEventHandler_mousedown(MouseDownEvent event) {
if(event.button == MouseButton.left) {
if(this.tabStop)
this.focus();
}
}
/// ditto
void defaultEventHandler_mouseover(MouseOverEvent event) {}
/// ditto
void defaultEventHandler_mouseout(MouseOutEvent event) {}
/// ditto
void defaultEventHandler_mouseup(MouseUpEvent event) {}
/// ditto
void defaultEventHandler_mousemove(MouseMoveEvent event) {}
/// ditto
void defaultEventHandler_mouseenter(MouseEnterEvent event) {}
/// ditto
void defaultEventHandler_mouseleave(MouseLeaveEvent event) {}
/// ditto
void defaultEventHandler_char(CharEvent event) {}
/// ditto
void defaultEventHandler_triggered(Event event) {}
/// ditto
void defaultEventHandler_change(Event event) {}
/// ditto
void defaultEventHandler_focus(Event event) {}
/// ditto
void defaultEventHandler_blur(Event event) {}
/// ditto
void defaultEventHandler_focusin(Event event) {}
/// ditto
void defaultEventHandler_focusout(Event event) {}
/++
[Event]s use a Javascript-esque model. See more details on the [Event] page.
[addEventListener] returns an opaque handle that you can later pass to [removeEventListener].
addDirectEventListener just inserts a check `if(e.target !is this) return;` meaning it opts out
of participating in handler delegation.
$(TIP
Use `scope` on your handlers when you can. While it currently does nothing, this will future-proof your code against future optimizations I want to do. Instead of copying whole event objects out if you do need to store them, just copy the properties you need.
)
+/
EventListener addDirectEventListener(string event, void delegate() handler, bool useCapture = false) {
return addEventListener(event, (Widget, scope Event e) {
if(e.srcElement is this)
handler();
}, useCapture);
}
/// ditto
EventListener addDirectEventListener(string event, void delegate(Event) handler, bool useCapture = false) {
return addEventListener(event, (Widget, Event e) {
if(e.srcElement is this)
handler(e);
}, useCapture);
}
/// ditto
@scriptable
EventListener addEventListener(string event, void delegate() handler, bool useCapture = false) {
return addEventListener(event, (Widget, scope Event) { handler(); }, useCapture);
}
/// ditto
EventListener addEventListener(Handler)(Handler handler, bool useCapture = false) {
static if(is(Handler Fn == delegate)) {
static if(is(Fn Params == __parameters)) {
return addEventListener(EventString!(Params[0]), (Widget, Event e) {
auto ty = cast(Params[0]) e;
if(ty !is null)
handler(ty);
}, useCapture);
} else static assert(0);
} else static assert(0, "Your handler wasn't usable because it wasn't passed a delegate. Use the delegate keyword at the call site.");
}
/// ditto
EventListener addEventListener(string event, void delegate(Event) handler, bool useCapture = false) {
return addEventListener(event, (Widget, Event e) { handler(e); }, useCapture);
}
/// ditto
EventListener addEventListener(string event, EventHandler handler, bool useCapture = false) {
if(event.length > 2 && event[0..2] == "on")
event = event[2 .. $];
if(useCapture)
capturingEventHandlers[event] ~= handler;
else
bubblingEventHandlers[event] ~= handler;
return EventListener(this, event, handler, useCapture);
}
/// ditto
void removeEventListener(string event, EventHandler handler, bool useCapture = false) {
if(event.length > 2 && event[0..2] == "on")
event = event[2 .. $];
if(useCapture) {
if(event in capturingEventHandlers)
foreach(ref evt; capturingEventHandlers[event])
if(evt is handler) evt = null;
} else {
if(event in bubblingEventHandlers)
foreach(ref evt; bubblingEventHandlers[event])
if(evt is handler) evt = null;
}
}
/// ditto
void removeEventListener(EventListener listener) {
removeEventListener(listener.event, listener.handler, listener.useCapture);
}
static if(UsingSimpledisplayX11) {
void discardXConnectionState() {
foreach(child; children)
child.discardXConnectionState();
}
void recreateXConnectionState() {
foreach(child; children)
child.recreateXConnectionState();
redraw();
}
}
/++
Returns the coordinates of this widget on the screen, relative to the upper left corner of the whole screen.
History:
`globalCoordinates` was made `final` on May 11, 2021.
+/
Point globalCoordinates() {
int x = this.x;
int y = this.y;
auto p = this.parent;
while(p) {
x += p.x;
y += p.y;
p = p.parent;
}
static if(UsingSimpledisplayX11) {
auto dpy = XDisplayConnection.get;
arsd.simpledisplay.Window dummyw;
XTranslateCoordinates(dpy, this.parentWindow.win.impl.window, RootWindow(dpy, DefaultScreen(dpy)), x, y, &x, &y, &dummyw);
} else {
POINT pt;
pt.x = x;
pt.y = y;
MapWindowPoints(this.parentWindow.win.impl.hwnd, null, &pt, 1);
x = pt.x;
y = pt.y;
}
return Point(x, y);
}
version(win32_widgets)
int handleWmDrawItem(DRAWITEMSTRUCT* dis) { return 0; }
version(win32_widgets)
/// Called when a WM_COMMAND is sent to the associated hwnd.
void handleWmCommand(ushort cmd, ushort id) {}
version(win32_widgets)
/++
Called when a WM_NOTIFY is sent to the associated hwnd.
History:
+/
int handleWmNotify(NMHDR* hdr, int code, out int mustReturn) { return 0; }
version(win32_widgets)
deprecated("This overload is problematic since it is liable to discard return values. Add the `out int mustReturn` to your override as the last parameter and set it to 1 when you must forward the return value to Windows. Otherwise, you can just add the parameter then ignore it and use the default value of 0 to maintain the status quo.") int handleWmNotify(NMHDR* hdr, int code) { int ignored; return handleWmNotify(hdr, code, ignored); }
/++
This tip is displayed in the status bar (if there is one in the containing window) when the mouse moves over this widget.
Updates to this variable will only be made visible on the next mouse enter event.
+/
@scriptable string statusTip;
// string toolTip;
// string helpText;
/++
If true, this widget can be focused via keyboard control with the tab key.
If false, it is assumed the widget itself does will never receive the keyboard focus (though its childen are free to).
+/
bool tabStop = true;
/++
The tab key cycles through widgets by the order of a.tabOrder < b.tabOrder. If they are equal, it does them in child order (which is typically the order they were added to the widget.)
+/
int tabOrder;
version(win32_widgets) {
static Widget[HWND] nativeMapping;
/// The native handle, if there is one.
HWND hwnd;
WNDPROC originalWindowProcedure;
SimpleWindow simpleWindowWrappingHwnd;
// please note it IGNORES your return value and does NOT forward it to Windows!
int hookedWndProc(UINT iMessage, WPARAM wParam, LPARAM lParam) {
return 0;
}
}
private bool implicitlyCreated;
/// Child's position relative to the parent's origin. only the layout manager should be modifying this and even reading it is of limited utility. It may be made `private` at some point in the future without advance notice. Do NOT depend on it being available unless you are writing a layout manager.
int x;
/// ditto
int y;
private int _width;
private int _height;
private Widget[] _children;
private Widget _parent;
private Window _parentWindow;
/++
Returns the window to which this widget is attached.
History:
Prior to May 11, 2021, the `Window parentWindow` variable was directly available. Now, only this property getter is available and the actual store is private.
+/
final @property inout(Window) parentWindow() inout @nogc nothrow pure { return _parentWindow; }
private @property void parentWindow(Window parent) {
_parentWindow = parent;
foreach(child; children)
child.parentWindow = parent; // please note that this is recursive
}
/++
Returns the list of the widget's children.
History:
Prior to May 11, 2021, the `Widget[] children` was directly available. Now, only this property getter is available and the actual store is private.
Children should be added by the constructor most the time, but if that's impossible, use [addChild] and [removeWidget] to manage the list.
+/
final @property inout(Widget)[] children() inout @nogc nothrow pure { return _children; }
/++
Returns the widget's parent.
History:
Prior to May 11, 2021, the `Widget parent` variable was directly available. Now, only this property getter is permitted.
The parent should only be managed by the [addChild] and [removeWidget] method.
+/
final @property inout(Widget) parent() inout nothrow @nogc pure @safe return { return _parent; }
/// The widget's current size.
final @scriptable public @property int width() const nothrow @nogc pure @safe { return _width; }
/// ditto
final @scriptable public @property int height() const nothrow @nogc pure @safe { return _height; }
/// Only the layout manager should be calling these.
final protected @property int width(int a) @safe { return _width = a; }
/// ditto
final protected @property int height(int a) @safe { return _height = a; }
/++
This function is called by the layout engine after it has updated the position (in variables `x` and `y`) and the size (in properties `width` and `height`) to give you a chance to update the actual position of the native child window (if there is one) or whatever.
It is also responsible for calling [sendResizeEvent] to notify other listeners that the widget has changed size.
+/
protected void registerMovement() {
version(win32_widgets) {
if(hwnd) {
auto pos = getChildPositionRelativeToParentHwnd(this);
MoveWindow(hwnd, pos[0], pos[1], width, height, false); // setting this to false can sometimes speed things up but only if it is actually drawn later and that's kinda iffy to do right here so being slower but safer rn
}
}
sendResizeEvent();
}
/// Creates the widget and adds it to the parent.
this(Widget parent) {
if(parent !is null)
parent.addChild(this);
setupDefaultEventHandlers();
}
/// Returns true if this is the current focused widget inside the parent window. Please note it may return `true` when the window itself is unfocused. In that case, it indicates this widget will receive focuse again when the window does.
@scriptable
bool isFocused() {
return parentWindow && parentWindow.focusedWidget is this;
}
private bool showing_ = true;
///
bool showing() { return showing_; }
///
bool hidden() { return !showing_; }
/++
Shows or hides the window. Meant to be assigned as a property. If `recalculate` is true (the default), it recalculates the layout of the parent widget to use the space this widget being hidden frees up or make space for this widget to appear again.
+/
void showing(bool s, bool recalculate = true) {
auto so = showing_;
showing_ = s;
if(s != so) {
version(win32_widgets)
if(hwnd)
ShowWindow(hwnd, s ? SW_SHOW : SW_HIDE);
if(parent && recalculate) {
parent.queueRecomputeChildLayout();
parent.redraw();
}
foreach(child; children)
child.showing(s, false);
}
queueRecomputeChildLayout();
redraw();
}
/// Convenience method for `showing = true`
@scriptable
void show() {
showing = true;
}
/// Convenience method for `showing = false`
@scriptable
void hide() {
showing = false;
}
///
@scriptable
void focus() {
assert(parentWindow !is null);
if(isFocused())
return;
if(parentWindow.focusedWidget) {
// FIXME: more details here? like from and to
auto from = parentWindow.focusedWidget;
parentWindow.focusedWidget.setDynamicState(DynamicState.focus, false);
parentWindow.focusedWidget = null;
from.emit!BlurEvent();
this.emit!FocusOutEvent();
}
version(win32_widgets) {
if(this.hwnd !is null)
SetFocus(this.hwnd);
}
//else static if(UsingSimpledisplayX11)
//this.parentWindow.win.focus();
parentWindow.focusedWidget = this;
parentWindow.focusedWidget.setDynamicState(DynamicState.focus, true);
this.emit!FocusEvent();
this.emit!FocusInEvent();
}
/+
/++
Unfocuses the widget. This may reset
+/
@scriptable
void blur() {
}
+/
/++
This is called when the widget is added to a window. It gives you a chance to set up event hooks.
Update on May 11, 2021: I'm considering removing this method. You can usually achieve these things through looser-coupled methods.
+/
void attachedToWindow(Window w) {}
/++
Callback when the widget is added to another widget.
Update on May 11, 2021: I'm considering removing this method since I've never actually found it useful.
+/
void addedTo(Widget w) {}
/++
Adds a child to the given position. This is `protected` because you generally shouldn't be calling this directly. Instead, construct widgets with the parent directly.
This is available primarily to be overridden. For example, [MainWindow] overrides it to redirect its children into a central widget.
+/
protected void addChild(Widget w, int position = int.max) {
assert(w._parent !is this, "Child cannot be added twice to the same parent");
assert(w !is this, "Child cannot be its own parent!");
w._parent = this;
if(position == int.max || position == children.length) {
_children ~= w;
} else {
assert(position < _children.length);
_children.length = _children.length + 1;
for(int i = cast(int) _children.length - 1; i > position; i--)
_children[i] = _children[i - 1];
_children[position] = w;
}
this.parentWindow = this._parentWindow;
w.addedTo(this);
if(this.hidden)
w.showing = false;
if(parentWindow !is null) {
w.attachedToWindow(parentWindow);
parentWindow.queueRecomputeChildLayout();
parentWindow.redraw();
}
}
/++
Finds the child at the top of the z-order at the given coordinates (relative to the `this` widget's origin), or null if none are found.
+/
Widget getChildAtPosition(int x, int y) {
// it goes backward so the last one to show gets picked first
// might use z-index later
foreach_reverse(child; children) {
if(child.hidden)
continue;
if(child.x <= x && child.y <= y
&& ((x - child.x) < child.width)
&& ((y - child.y) < child.height))
{
return child;
}
}
return null;
}
/++
If the widget is a scrollable container, this should add the current scroll position to the given coordinates so the mouse events can be dispatched correctly.
History:
Added July 2, 2021 (v10.2)
+/
protected void addScrollPosition(ref int x, ref int y) {};
/++
Responsible for actually painting the widget to the screen. The clip rectangle and coordinate translation in the [WidgetPainter] are pre-configured so you can draw independently.
This function paints the entire widget, including styled borders, backgrounds, etc. You are also responsible for displaying any important active state to the user, including if you hold the active keyboard focus. If you only want to be responsible for the content while letting the style engine draw the rest, override [paintContent] instead.
[paint] is not called for system widgets as the OS library draws them instead.
The default implementation forwards to [WidgetPainter.drawThemed], passing [paintContent] as the delegate. If you override this, you might use those same functions or you can do your own thing.
You should also look at [WidgetPainter.visualTheme] to be theme aware.
History:
Prior to May 15, 2021, the default implementation was empty. Now, it is `painter.drawThemed(&paintContent);`. You may wish to override [paintContent] instead of [paint] to take advantage of the new styling engine.
+/
void paint(WidgetPainter painter) {
version(win32_widgets)
if(hwnd) {
return;
}
painter.drawThemed(&paintContent); // note this refers to the following overload
}
/++
Responsible for drawing the content as the theme engine is responsible for other elements.
$(WARNING If you override [paint], this method may never be used as it is only called from inside the default implementation of `paint`.)
Params:
painter = your painter (forwarded from [paint]) for drawing on the widget. The clip rectangle and coordinate translation are prepared for you ahead of time so you can use widget coordinates. It also has the theme foreground preloaded into the painter outline color, the theme font preloaded as the painter's active font, and the theme background preloaded as the painter's fill color.
bounds = the bounds, inside the widget, where your content should be drawn. This is the rectangle inside the border and padding (if any). The stuff outside is not clipped - it is still part of your widget - but you should respect these bounds for visual consistency and respecting the theme's area.
If you do want to clip it, you can of course call `auto oldClip = painter.setClipRectangle(bounds); scope(exit) painter.setClipRectangle(oldClip);` to modify it and return to the previous setting when you return.
Returns:
The rectangle representing your actual content. Typically, this is simply `return bounds;`. The theme engine uses this return value to determine where the outline and overlay should be.
History:
Added May 15, 2021
+/
Rectangle paintContent(WidgetPainter painter, const Rectangle bounds) {
return bounds;
}
deprecated("Change ScreenPainter to WidgetPainter")
final void paint(ScreenPainter) { assert(0, "Change ScreenPainter to WidgetPainter and recompile your code"); }
/// I don't actually like the name of this
/// this draws a background on it
void erase(WidgetPainter painter) {
version(win32_widgets)
if(hwnd) return; // Windows will do it. I think.
auto c = getComputedStyle().background.color;
painter.fillColor = c;
painter.outlineColor = c;
version(win32_widgets) {
HANDLE b, p;
if(c.a == 0 && parent is parentWindow) {
// I don't remember why I had this really...
b = SelectObject(painter.impl.hdc, GetSysColorBrush(COLOR_3DFACE));
p = SelectObject(painter.impl.hdc, GetStockObject(NULL_PEN));
}
}
painter.drawRectangle(Point(0, 0), width, height);
version(win32_widgets) {
if(c.a == 0 && parent is parentWindow) {
SelectObject(painter.impl.hdc, p);
SelectObject(painter.impl.hdc, b);
}
}
}
///
WidgetPainter draw() {
int x = this.x, y = this.y;
auto parent = this.parent;
while(parent) {
x += parent.x;
y += parent.y;
parent = parent.parent;
}
auto painter = parentWindow.win.draw(true);
painter.originX = x;
painter.originY = y;
painter.setClipRectangle(Point(0, 0), width, height);
return WidgetPainter(painter, this);
}
/// This can be overridden by scroll things. It is responsible for actually calling [paint]. Do not override unless you've studied minigui.d's source code. There are no stability guarantees if you do override this; it can (and likely will) break without notice.
protected void privatePaint(WidgetPainter painter, int lox, int loy, Rectangle containment, bool force, bool invalidate) {
if(hidden)
return;
int paintX = x;
int paintY = y;
if(this.useNativeDrawing()) {
paintX = 0;
paintY = 0;
lox = 0;
loy = 0;
containment = Rectangle(0, 0, int.max, int.max);
}
painter.originX = lox + paintX;
painter.originY = loy + paintY;
bool actuallyPainted = false;
const clip = containment.intersectionOf(Rectangle(Point(lox + paintX, loy + paintY), Size(width, height)));
if(clip == Rectangle.init) {
//import std.stdio; writeln(this, " clipped out");
return;
}
bool invalidateChildren = invalidate;
if(redrawRequested || force) {
painter.setClipRectangle(clip.upperLeft - Point(painter.originX, painter.originY), clip.width, clip.height);
painter.drawingUpon = this;
erase(painter);
if(painter.visualTheme)
painter.visualTheme.doPaint(this, painter);
else
paint(painter);
if(invalidate) {
// sdpyPrintDebugString("invalidate " ~ typeid(this).name);
auto region = Rectangle(Point(clip.upperLeft.x - painter.originX, clip.upperRight.y - painter.originY), Size(clip.width, clip.height));
painter.invalidateRect(region);
// children are contained inside this, so no need to do extra work
invalidateChildren = false;
}
redrawRequested = false;
actuallyPainted = true;
}
foreach(child; children) {
version(win32_widgets)
if(child.useNativeDrawing()) continue;
child.privatePaint(painter, painter.originX, painter.originY, clip, actuallyPainted, invalidateChildren);
}
version(win32_widgets)
foreach(child; children) {
if(child.useNativeDrawing) {
painter = WidgetPainter(child.simpleWindowWrappingHwnd.draw(true), child);
child.privatePaint(painter, painter.originX, painter.originY, clip, actuallyPainted, true); // have to reset the invalidate flag since these are not necessarily affected the same way, being native children with a clip
}
}
}
protected bool useNativeDrawing() nothrow {
version(win32_widgets)
return hwnd !is null;
else
return false;
}
private static class RedrawEvent {}
private __gshared re = new RedrawEvent();
private bool redrawRequested;
///
final void redraw(string file = __FILE__, size_t line = __LINE__) {
redrawRequested = true;
if(this.parentWindow) {
auto sw = this.parentWindow.win;
assert(sw !is null);
if(!sw.eventQueued!RedrawEvent) {
sw.postEvent(re);
// import std.stdio; writeln("redraw requested from ", file,":",line," ", this.parentWindow.win.impl.window);
}
}
}
private SimpleWindow drawableWindow;
/++
Allows a class to easily dispatch its own statically-declared event (see [Emits]). The main benefit of using this over constructing an event yourself is simply that you ensure you haven't sent something you haven't documented you can send.
Returns:
`true` if you should do your default behavior.
History:
Added May 5, 2021
Bugs:
It does not do the static checks on gdc right now.
+/
final protected bool emit(EventType, this This, Args...)(Args args) {
version(GNU) {} else
static assert(classStaticallyEmits!(This, EventType), "The " ~ This.stringof ~ " class is not declared to emit " ~ EventType.stringof);
auto e = new EventType(this, args);
e.dispatch();
return !e.defaultPrevented;
}
/// ditto
final protected bool emit(string eventString, this This)() {
auto e = new Event(eventString, this);
e.dispatch();
return !e.defaultPrevented;
}
/++
Does the same as [addEventListener]'s delegate overload, but adds an additional check to ensure the event you are subscribing to is actually emitted by the static type you are using. Since it works on static types, if you have a generic [Widget], this can only subscribe to events declared as [Emits] inside [Widget] itself, not any child classes nor any child elements. If this is too restrictive, simply use [addEventListener] instead.
History:
Added May 5, 2021
+/
final public EventListener subscribe(EventType, this This)(void delegate(EventType) handler) {
static assert(classStaticallyEmits!(This, EventType), "The " ~ This.stringof ~ " class is not declared to emit " ~ EventType.stringof);
return addEventListener(handler);
}
/++
Gets the computed style properties from the visual theme.
You should use this in your paint and layout functions instead of the direct properties on the widget if you want to be style aware. (But when setting defaults in your classes, overriding is the right thing to do. Override to set defaults, but then read out of [getComputedStyle].)
History:
Added May 8, 2021
+/
final StyleInformation getComputedStyle() {
return StyleInformation(this);
}
// FIXME: I kinda want to hide events from implementation widgets
// so it just catches them all and stops propagation...
// i guess i can do it with a event listener on star.
mixin Emits!KeyDownEvent; ///
mixin Emits!KeyUpEvent; ///
mixin Emits!CharEvent; ///
mixin Emits!MouseDownEvent; ///
mixin Emits!MouseUpEvent; ///
mixin Emits!ClickEvent; ///
mixin Emits!DoubleClickEvent; ///
mixin Emits!MouseMoveEvent; ///
mixin Emits!MouseOverEvent; ///
mixin Emits!MouseOutEvent; ///
mixin Emits!MouseEnterEvent; ///
mixin Emits!MouseLeaveEvent; ///
mixin Emits!ResizeEvent; ///
mixin Emits!BlurEvent; ///
mixin Emits!FocusEvent; ///
mixin Emits!FocusInEvent; ///
mixin Emits!FocusOutEvent; ///
}
/+
/++
Interface to indicate that the widget has a simple value property.
History:
Added August 26, 2021
+/
interface HasValue!T {
/// Getter
@property T value();
/// Setter
@property void value(T);
}
/++
Interface to indicate that the widget has a range of possible values for its simple value property.
This would be present on something like a slider or possibly a number picker.
History:
Added September 11, 2021
+/
interface HasRangeOfValues!T : HasValue!T {
/// The minimum and maximum values in the range, inclusive.
@property T minValue();
@property void minValue(T); /// ditto
@property T maxValue(); /// ditto
@property void maxValue(T); /// ditto
/// The smallest step the user interface allows. User may still type in values without this limitation.
@property void step(T);
@property T step(); /// ditto
}
/++
Interface to indicate that the widget has a list of possible values the user can choose from.
This would be present on something like a drop-down selector.
The value is NOT necessarily one of the items on the list. Consider the case of a free-entry
combobox.
History:
Added September 11, 2021
+/
interface HasListOfValues!T : HasValue!T {
@property T[] values;
@property void values(T[]);
@property int selectedIndex(); // note it may return -1!
@property void selectedIndex(int);
}
+/
/++
History:
Added September 2021 (dub v10.4)
+/
class GridLayout : Layout {
// FIXME: grid padding around edges and also cell spacing between units. even though you could do that by just specifying some gutter yourself in the layout.
/++
If a widget is too small to fill a grid cell, the graviy tells where it "sticks" to.
+/
enum Gravity {
Center = 0,
NorthWest = North | West,
North = 0b10_00,
NorthEast = North | East,
West = 0b00_10,
East = 0b00_01,
SouthWest = South | West,
South = 0b01_00,
SouthEast = South | East,
}
/++
The width and height are in some proportional units and can often just be 12.
+/
this(int width, int height, Widget parent) {
this.gridWidth = width;
this.gridHeight = height;
super(parent);
}
/++
Sets the position of the given child.
The units of these arguments are in the proportional grid units you set in the constructor.
+/
Widget setChildPosition(return Widget child, int x, int y, int width, int height, Gravity gravity = Gravity.Center) {
// ensure it is in bounds
// then ensure no overlaps
ChildPosition p = ChildPosition(child, x, y, width, height, gravity);
foreach(ref position; positions) {
if(position.widget is child) {
position = p;
goto set;
}
}
positions ~= p;
set:
// FIXME: should this batch?
queueRecomputeChildLayout();
return child;
}
override void addChild(Widget w, int position = int.max) {
super.addChild(w, position);
//positions ~= ChildPosition(w);
if(position != int.max) {
// FIXME: align it so they actually match.
}
}
override void widgetRemoved(size_t idx, Widget w) {
// FIXME: keep the positions array aligned
// positions[idx].widget = null;
}
override void recomputeChildLayout() {
registerMovement();
int onGrid = cast(int) positions.length;
c: foreach(child; children) {
// just snap it to the grid
if(onGrid)
foreach(position; positions)
if(position.widget is child) {
child.x = this.width * position.x / this.gridWidth;
child.y = this.height * position.y / this.gridHeight;
child.width = this.width * position.width / this.gridWidth;
child.height = this.height * position.height / this.gridHeight;
auto diff = child.width - child.maxWidth();
// FIXME: gravity?
if(diff > 0) {
child.width = child.width - diff;
if(position.gravity & Gravity.West) {
// nothing needed, already aligned
} else if(position.gravity & Gravity.East) {
child.x += diff;
} else {
child.x += diff / 2;
}
}
diff = child.height - child.maxHeight();
// FIXME: gravity?
if(diff > 0) {
child.height = child.height - diff;
if(position.gravity & Gravity.North) {
// nothing needed, already aligned
} else if(position.gravity & Gravity.South) {
child.y += diff;
} else {
child.y += diff / 2;
}
}
child.recomputeChildLayout();
onGrid--;
continue c;
}
// the position isn't given on the grid array, we'll just fill in from where the explicit ones left off.
}
}
private struct ChildPosition {
Widget widget;
int x;
int y;
int width;
int height;
Gravity gravity;
}
private ChildPosition[] positions;
int gridWidth = 12;
int gridHeight = 12;
}
///
abstract class ComboboxBase : Widget {
// if the user can enter arbitrary data, we want to use 2 == CBS_DROPDOWN
// or to always show the list, we want CBS_SIMPLE == 1
version(win32_widgets)
this(uint style, Widget parent) {
super(parent);
createWin32Window(this, "ComboBox"w, null, style);
}
else version(custom_widgets)
this(Widget parent) {
super(parent);
addEventListener((KeyDownEvent event) {
if(event.key == Key.Up) {
if(selection_ > -1) { // -1 means select blank
selection_--;
fireChangeEvent();
}
event.preventDefault();
}
if(event.key == Key.Down) {
if(selection_ + 1 < options.length) {
selection_++;
fireChangeEvent();
}
event.preventDefault();
}
});
}
else static assert(false);
/++
Returns the current list of options in the selection.
History:
Property accessor added March 1, 2022 (dub v10.7). Prior to that, it was private.
+/
final @property string[] options() const {
return cast(string[]) options_;
}
private string[] options_;
private int selection_ = -1;
/++
Adds an option to the end of options array.
+/
void addOption(string s) {
options_ ~= s;
version(win32_widgets)
SendMessageW(hwnd, 323 /*CB_ADDSTRING*/, 0, cast(LPARAM) toWstringzInternal(s));
}
/++
Gets the current selection as an index into the [options] array. Returns -1 if nothing is selected.
+/
int getSelection() {
return selection_;
}
/++
Returns the current selection as a string.
History:
Added November 17, 2021
+/
string getSelectionString() {
return selection_ == -1 ? null : options[selection_];
}
/++
Sets the current selection to an index in the options array, or to the given option if present.
Please note that the string version may do a linear lookup.
Returns:
the index you passed in
History:
The `string` based overload was added on March 1, 2022 (dub v10.7).
The return value was `void` prior to March 1, 2022.
+/
int setSelection(int idx) {
selection_ = idx;
version(win32_widgets)
SendMessageW(hwnd, 334 /*CB_SETCURSEL*/, idx, 0);
auto t = new SelectionChangedEvent(this, selection_, selection_ == -1 ? null : options[selection_]);
t.dispatch();
return idx;
}
/// ditto
int setSelection(string s) {
if(s !is null)
foreach(idx, item; options)
if(item == s) {
return setSelection(cast(int) idx);
}
return setSelection(-1);
}
/++
This event is fired when the selection changes. Note it inherits
from ChangeEvent!string, meaning you can use that as well, and it also
fills in [Event.intValue].
+/
static class SelectionChangedEvent : ChangeEvent!string {
this(Widget target, int iv, string sv) {
super(target, &stringValue);
this.iv = iv;
this.sv = sv;
}
immutable int iv;
immutable string sv;
override @property string stringValue() { return sv; }
override @property int intValue() { return iv; }
}
version(win32_widgets)
override void handleWmCommand(ushort cmd, ushort id) {
if(cmd == CBN_SELCHANGE) {
selection_ = cast(int) SendMessageW(hwnd, 327 /* CB_GETCURSEL */, 0, 0);
fireChangeEvent();
}
}
private void fireChangeEvent() {
if(selection_ >= options.length)
selection_ = -1;
auto t = new SelectionChangedEvent(this, selection_, selection_ == -1 ? null : options[selection_]);
t.dispatch();
}
version(win32_widgets) {
override int minHeight() { return defaultLineHeight + 6; }
override int maxHeight() { return defaultLineHeight + 6; }
} else {
override int minHeight() { return defaultLineHeight + 4; }
override int maxHeight() { return defaultLineHeight + 4; }
}
version(custom_widgets) {
// FIXME: this should scroll if there's too many elements to reasonably fit on screen
SimpleWindow dropDown;
void popup() {
auto w = width;
// FIXME: suggestedDropdownHeight see below
auto h = cast(int) this.options.length * defaultLineHeight + 8;
auto coord = this.globalCoordinates();
auto dropDown = new SimpleWindow(
w, h,
null, OpenGlOptions.no, Resizability.fixedSize, WindowTypes.dropdownMenu, WindowFlags.dontAutoShow, parentWindow ? parentWindow.win : null);
dropDown.move(coord.x, coord.y + this.height);
{
auto cs = getComputedStyle();
auto painter = dropDown.draw();
draw3dFrame(0, 0, w, h, painter, FrameStyle.risen, getComputedStyle().background.color);
auto p = Point(4, 4);
painter.outlineColor = cs.foregroundColor;
foreach(option; options) {
painter.drawText(p, option);
p.y += defaultLineHeight;
}
}
dropDown.setEventHandlers(
(MouseEvent event) {
if(event.type == MouseEventType.buttonReleased) {
dropDown.close();
auto element = (event.y - 4) / defaultLineHeight;
if(element >= 0 && element <= options.length) {
selection_ = element;
fireChangeEvent();
}
}
}
);
dropDown.visibilityChanged = (bool visible) {
if(visible) {
this.redraw();
dropDown.grabInput();
} else {
dropDown.releaseInputGrab();
}
};
dropDown.show();
}
}
}
/++
A drop-down list where the user must select one of the
given options. Like `<select>` in HTML.
+/
class DropDownSelection : ComboboxBase {
this(Widget parent) {
version(win32_widgets)
super(3 /* CBS_DROPDOWNLIST */ | WS_VSCROLL, parent);
else version(custom_widgets) {
super(parent);
addEventListener("focus", () { this.redraw; });
addEventListener("blur", () { this.redraw; });
addEventListener(EventType.change, () { this.redraw; });
addEventListener("mousedown", () { this.focus(); this.popup(); });
addEventListener((KeyDownEvent event) {
if(event.key == Key.Space)
popup();
});
} else static assert(false);
}
mixin Padding!q{2};
static class Style : Widget.Style {
override FrameStyle borderStyle() { return FrameStyle.risen; }
}
mixin OverrideStyle!Style;
version(custom_widgets)
override Rectangle paintContent(WidgetPainter painter, const Rectangle bounds) {
auto cs = getComputedStyle();
painter.drawText(bounds.upperLeft, selection_ == -1 ? "" : options[selection_]);
painter.outlineColor = cs.foregroundColor;
painter.fillColor = cs.foregroundColor;
Point[4] triangle;
enum padding = 6;
enum paddingV = 7;
enum triangleWidth = 10;
triangle[0] = Point(width - padding - triangleWidth, paddingV);
triangle[1] = Point(width - padding - triangleWidth / 2, height - paddingV);
triangle[2] = Point(width - padding - 0, paddingV);
triangle[3] = triangle[0];
painter.drawPolygon(triangle[]);
return bounds;
}
version(win32_widgets)
override void registerMovement() {
version(win32_widgets) {
if(hwnd) {
auto pos = getChildPositionRelativeToParentHwnd(this);
// the height given to this from Windows' perspective is supposed
// to include the drop down's height. so I add to it to give some
// room for that.
// FIXME: maybe make the subclass provide a suggestedDropdownHeight thing
MoveWindow(hwnd, pos[0], pos[1], width, height + 200, true);
}
}
sendResizeEvent();
}
}
/++
A text box with a drop down arrow listing selections.
The user can choose from the list, or type their own.
+/
class FreeEntrySelection : ComboboxBase {
this(Widget parent) {
version(win32_widgets)
super(2 /* CBS_DROPDOWN */, parent);
else version(custom_widgets) {
super(parent);
auto hl = new HorizontalLayout(this);
lineEdit = new LineEdit(hl);
tabStop = false;
lineEdit.addEventListener("focus", &lineEdit.selectAll);
auto btn = new class ArrowButton {
this() {
super(ArrowDirection.down, hl);
}
override int maxHeight() {
return int.max;
}
};
//btn.addDirectEventListener("focus", &lineEdit.focus);
btn.addEventListener("triggered", &this.popup);
addEventListener(EventType.change, (Event event) {
lineEdit.content = event.stringValue;
lineEdit.focus();
redraw();
});
}
else static assert(false);
}
version(custom_widgets) {
LineEdit lineEdit;
}
}
/++
A combination of free entry with a list below it.
+/
class ComboBox : ComboboxBase {
this(Widget parent) {
version(win32_widgets)
super(1 /* CBS_SIMPLE */ | CBS_NOINTEGRALHEIGHT, parent);
else version(custom_widgets) {
super(parent);
lineEdit = new LineEdit(this);
listWidget = new ListWidget(this);
listWidget.multiSelect = false;
listWidget.addEventListener(EventType.change, delegate(Widget, Event) {
string c = null;
foreach(option; listWidget.options)
if(option.selected) {
c = option.label;
break;
}
lineEdit.content = c;
});
listWidget.tabStop = false;
this.tabStop = false;
listWidget.addEventListener("focus", &lineEdit.focus);
this.addEventListener("focus", &lineEdit.focus);
addDirectEventListener(EventType.change, {
listWidget.setSelection(selection_);
if(selection_ != -1)
lineEdit.content = options[selection_];
lineEdit.focus();
redraw();
});
lineEdit.addEventListener("focus", &lineEdit.selectAll);
listWidget.addDirectEventListener(EventType.change, {
int set = -1;
foreach(idx, opt; listWidget.options)
if(opt.selected) {
set = cast(int) idx;
break;
}
if(set != selection_)
this.setSelection(set);
});
} else static assert(false);
}
override int minHeight() { return defaultLineHeight * 3; }
override int maxHeight() { return cast(int) options.length * defaultLineHeight + defaultLineHeight; }
override int heightStretchiness() { return 5; }
version(custom_widgets) {
LineEdit lineEdit;
ListWidget listWidget;
override void addOption(string s) {
listWidget.options ~= ListWidget.Option(s);
ComboboxBase.addOption(s);
}
}
}
/+
class Spinner : Widget {
version(win32_widgets)
this(Widget parent) {
super(parent);
parentWindow = parent.parentWindow;
auto hlayout = new HorizontalLayout(this);
lineEdit = new LineEdit(hlayout);
upDownControl = new UpDownControl(hlayout);
}
LineEdit lineEdit;
UpDownControl upDownControl;
}
class UpDownControl : Widget {
version(win32_widgets)
this(Widget parent) {
super(parent);
parentWindow = parent.parentWindow;
createWin32Window(this, "msctls_updown32"w, null, 4/*UDS_ALIGNRIGHT*/| 2 /* UDS_SETBUDDYINT */ | 16 /* UDS_AUTOBUDDY */ | 32 /* UDS_ARROWKEYS */);
}
override int minHeight() { return defaultLineHeight; }
override int maxHeight() { return defaultLineHeight * 3/2; }
override int minWidth() { return defaultLineHeight * 3/2; }
override int maxWidth() { return defaultLineHeight * 3/2; }
}
+/
/+
class DataView : Widget {
// this is the omnibus data viewer
// the internal data layout is something like:
// string[string][] but also each node can have parents
}
+/
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb775491(v=vs.85).aspx#PROGRESS_CLASS
// http://svn.dsource.org/projects/bindings/trunk/win32/commctrl.d
// FIXME: menus should prolly capture the mouse. ugh i kno.
/*
TextEdit needs:
* caret manipulation
* selection control
* convenience functions for appendText, insertText, insertTextAtCaret, etc.
For example:
connect(paste, &textEdit.insertTextAtCaret);
would be nice.
I kinda want an omnibus dataview that combines list, tree,
and table - it can be switched dynamically between them.
Flattening policy: only show top level, show recursive, show grouped
List styles: plain list (e.g. <ul>), tiles (some details next to it), icons (like Windows explorer)
Single select, multi select, organization, drag+drop
*/
//static if(UsingSimpledisplayX11)
version(win32_widgets) {}
else version(custom_widgets) {
enum scrollClickRepeatInterval = 50;
deprecated("Get these properties off `Widget.getComputedStyle` instead. The defaults are now set in the `WidgetPainter.visualTheme`.") {
enum windowBackgroundColor = Color(212, 212, 212); // used to be 192
enum activeTabColor = lightAccentColor;
enum hoveringColor = Color(228, 228, 228);
enum buttonColor = windowBackgroundColor;
enum depressedButtonColor = darkAccentColor;
enum activeListXorColor = Color(255, 255, 127);
enum progressBarColor = Color(0, 0, 128);
enum activeMenuItemColor = Color(0, 0, 128);
}}
else static assert(false);
deprecated("Get these properties off the `visualTheme` instead.") {
// these are used by horizontal rule so not just custom_widgets. for now at least.
enum darkAccentColor = Color(172, 172, 172);
enum lightAccentColor = Color(223, 223, 223); // used to be 223
}
private const(wchar)* toWstringzInternal(in char[] s) {
wchar[] str;
str.reserve(s.length + 1);
foreach(dchar ch; s)
str ~= ch;
str ~= '\0';
return str.ptr;
}
static if(SimpledisplayTimerAvailable)
void setClickRepeat(Widget w, int interval, int delay = 250) {
Timer timer;
int delayRemaining = delay / interval;
if(delayRemaining <= 1)
delayRemaining = 2;
immutable originalDelayRemaining = delayRemaining;
w.addDirectEventListener("mousedown", (Event ev) {
if(ev.srcElement !is w)
return;
if(timer !is null) {
timer.destroy();
timer = null;
}
delayRemaining = originalDelayRemaining;
timer = new Timer(interval, () {
if(delayRemaining > 0)
delayRemaining--;
else {
auto ev = new ClickEvent(w);
ev.sendDirectly();
}
});
});
w.addDirectEventListener("mouseup", (Event ev) {
if(ev.srcElement !is w)
return;
if(timer !is null) {
timer.destroy();
timer = null;
}
});
w.addDirectEventListener("mouseleave", (Event ev) {
if(ev.srcElement !is w)
return;
if(timer !is null) {
timer.destroy();
timer = null;
}
});
}
else
void setClickRepeat(Widget w, int interval, int delay = 250) {}
enum FrameStyle {
none, ///
risen, /// a 3d pop-out effect (think Windows 95 button)
sunk, /// a 3d sunken effect (think Windows 95 button as you click on it)
solid, ///
dotted, ///
fantasy, /// a style based on a popular fantasy video game
}
version(custom_widgets)
deprecated
void draw3dFrame(Widget widget, ScreenPainter painter, FrameStyle style) {
draw3dFrame(0, 0, widget.width, widget.height, painter, style, WidgetPainter.visualTheme.windowBackgroundColor);
}
version(custom_widgets)
void draw3dFrame(Widget widget, ScreenPainter painter, FrameStyle style, Color background) {
draw3dFrame(0, 0, widget.width, widget.height, painter, style, background);
}
version(custom_widgets)
deprecated
void draw3dFrame(int x, int y, int width, int height, ScreenPainter painter, FrameStyle style) {
draw3dFrame(x, y, width, height, painter, style, WidgetPainter.visualTheme.windowBackgroundColor);
}
int draw3dFrame(int x, int y, int width, int height, ScreenPainter painter, FrameStyle style, Color background, Color border = Color.transparent) {
int borderWidth;
final switch(style) {
case FrameStyle.sunk, FrameStyle.risen:
// outer layer
painter.outlineColor = style == FrameStyle.sunk ? Color.white : Color.black;
borderWidth = 2;
break;
case FrameStyle.none:
painter.outlineColor = background;
borderWidth = 0;
break;
case FrameStyle.solid:
painter.pen = Pen(border, 1);
borderWidth = 1;
break;
case FrameStyle.dotted:
painter.pen = Pen(border, 1, Pen.Style.Dotted);
borderWidth = 1;
break;
case FrameStyle.fantasy:
painter.pen = Pen(border, 3);
borderWidth = 3;
break;
}
painter.fillColor = background;
painter.drawRectangle(Point(x + 0, y + 0), width, height);
if(style == FrameStyle.sunk || style == FrameStyle.risen) {
// 3d effect
auto vt = WidgetPainter.visualTheme;
painter.outlineColor = (style == FrameStyle.sunk) ? vt.darkAccentColor : vt.lightAccentColor;
painter.drawLine(Point(x + 0, y + 0), Point(x + width, y + 0));
painter.drawLine(Point(x + 0, y + 0), Point(x + 0, y + height - 1));
// inner layer
//right, bottom
painter.outlineColor = (style == FrameStyle.sunk) ? vt.lightAccentColor : vt.darkAccentColor;
painter.drawLine(Point(x + width - 2, y + 2), Point(x + width - 2, y + height - 2));
painter.drawLine(Point(x + 2, y + height - 2), Point(x + width - 2, y + height - 2));
// left, top
painter.outlineColor = (style == FrameStyle.sunk) ? Color.black : Color.white;
painter.drawLine(Point(x + 1, y + 1), Point(x + width, y + 1));
painter.drawLine(Point(x + 1, y + 1), Point(x + 1, y + height - 2));
} else if(style == FrameStyle.fantasy) {
painter.pen = Pen(Color.white, 1, Pen.Style.Solid);
painter.fillColor = Color.transparent;
painter.drawRectangle(Point(x + 1, y + 1), Point(x + width - 1, y + height - 1));
}
return borderWidth;
}
/++
An `Action` represents some kind of user action they can trigger through menu options, toolbars, hotkeys, and similar mechanisms. The text label, icon, and handlers are centrally held here instead of repeated in each UI element.
See_Also:
[MenuItem]
[ToolButton]
[Menu.addItem]
+/
class Action {
version(win32_widgets) {
private int id;
private static int lastId = 9000;
private static Action[int] mapping;
}
KeyEvent accelerator;
// FIXME: disable message
// and toggle thing?
// ??? and trigger arguments too ???
/++
Params:
label = the textual label
icon = icon ID. See [GenericIcons]. There is currently no way to do custom icons.
triggered = initial handler, more can be added via the [triggered] member.
+/
this(string label, ushort icon = 0, void delegate() triggered = null) {
this.label = label;
this.iconId = icon;
if(triggered !is null)
this.triggered ~= triggered;
version(win32_widgets) {
id = ++lastId;
mapping[id] = this;
}
}
private string label;
private ushort iconId;
// icon
// when it is triggered, the triggered event is fired on the window
/// The list of handlers when it is triggered.
void delegate()[] triggered;
}
/*
plan:
keyboard accelerators
* menus (and popups and tooltips)
* status bar
* toolbars and buttons
sortable table view
maybe notification area icons
basic clipboard
* radio box
splitter
toggle buttons (optionally mutually exclusive, like in Paint)
label, rich text display, multi line plain text (selectable)
* fieldset
* nestable grid layout
single line text input
* multi line text input
slider
spinner
list box
drop down
combo box
auto complete box
* progress bar
terminal window/widget (on unix it might even be a pty but really idk)
ok button
cancel button
keyboard hotkeys
scroll widget
event redirections and network transparency
script integration
*/
/*
MENUS
auto bar = new MenuBar(window);
window.menuBar = bar;
auto fileMenu = bar.addItem(new Menu("&File"));
fileMenu.addItem(new MenuItem("&Exit"));
EVENTS
For controls, you should usually use "triggered" rather than "click", etc., because
triggered handles both keyboard (focus and press as well as hotkeys) and mouse activation.
This is the case on menus and pushbuttons.
"click", on the other hand, currently only fires when it is literally clicked by the mouse.
*/
/*
enum LinePreference {
AlwaysOnOwnLine, // always on its own line
PreferOwnLine, // it will always start a new line, and if max width <= line width, it will expand all the way
PreferToShareLine, // does not force new line, and if the next child likes to share too, they will div it up evenly. otherwise, it will expand as much as it can
}
*/
/++
Convenience mixin for overriding all four sides of margin or padding in a [Widget] with the same code. It mixes in the given string as the return value of the four overridden methods.
---
class MyWidget : Widget {
this(Widget parent) { super(parent); }
// set paddingLeft, paddingRight, paddingTop, and paddingBottom all to `return 4;` in one go:
mixin Padding!q{4};
// set marginLeft, marginRight, marginTop, and marginBottom all to `return 8;` in one go:
mixin Margin!q{8};
// but if I specify one outside, it overrides the override, so now marginLeft is 2,
// while Top/Bottom/Right remain 8 from the mixin above.
override int marginLeft() { return 2; }
}
---
The minigui layout model is based on the web's CSS box model. The layout engine* arranges widgets based on their margin for separation and assigns them a size based on thier preferences (e.g. [Widget.minHeight]) and the available space. Widgets are assigned a size by the layout engine. Inside this size, they have a border (see [Widget.Style.borderWidth]), then padding space, and then their content. Their content box may also have an outline drawn on top of it (see [Widget.Style.outlineStyle]).
Padding is the area inside a widget where its background is drawn, but the content avoids.
Margin is the area between widgets. The algorithm is the spacing between any two widgets is the max of their adjacent margins (not the sum!).
* Some widgets do not participate in placement, e.g. [StaticPosition], and some layout systems do their own separate thing too; ultimately, these properties are just hints to the layout function and you can always implement your own to do whatever you want. But this statement is still mostly true.
+/
mixin template Padding(string code) {
override int paddingLeft() { return mixin(code);}
override int paddingRight() { return mixin(code);}
override int paddingTop() { return mixin(code);}
override int paddingBottom() { return mixin(code);}
}
/// ditto
mixin template Margin(string code) {
override int marginLeft() { return mixin(code);}
override int marginRight() { return mixin(code);}
override int marginTop() { return mixin(code);}
override int marginBottom() { return mixin(code);}
}
private
void recomputeChildLayout(string relevantMeasure)(Widget parent) {
enum calcingV = relevantMeasure == "height";
parent.registerMovement();
if(parent.children.length == 0)
return;
auto parentStyle = parent.getComputedStyle();
enum firstThingy = relevantMeasure == "height" ? "Top" : "Left";
enum secondThingy = relevantMeasure == "height" ? "Bottom" : "Right";
enum otherFirstThingy = relevantMeasure == "height" ? "Left" : "Top";
enum otherSecondThingy = relevantMeasure == "height" ? "Right" : "Bottom";
// my own width and height should already be set by the caller of this function...
int spaceRemaining = mixin("parent." ~ relevantMeasure) -
mixin("parentStyle.padding"~firstThingy~"()") -
mixin("parentStyle.padding"~secondThingy~"()");
int stretchinessSum;
int stretchyChildSum;
int lastMargin = 0;
int shrinkinessSum;
int shrinkyChildSum;
// set initial size
foreach(child; parent.children) {
auto childStyle = child.getComputedStyle();
if(cast(StaticPosition) child)
continue;
if(child.hidden)
continue;
const iw = child.flexBasisWidth();
const ih = child.flexBasisHeight();
static if(calcingV) {
child.width = parent.width -
mixin("childStyle.margin"~otherFirstThingy~"()") -
mixin("childStyle.margin"~otherSecondThingy~"()") -
mixin("parentStyle.padding"~otherFirstThingy~"()") -
mixin("parentStyle.padding"~otherSecondThingy~"()");
if(child.width < 0)
child.width = 0;
if(child.width > childStyle.maxWidth())
child.width = childStyle.maxWidth();
if(iw > 0) {
auto totalPossible = child.width;
if(child.width > iw && child.widthStretchiness() == 0)
child.width = iw;
}
child.height = mymax(childStyle.minHeight(), ih);
} else {
// set to take all the space
child.height = parent.height -
mixin("childStyle.margin"~firstThingy~"()") -
mixin("childStyle.margin"~secondThingy~"()") -
mixin("parentStyle.padding"~firstThingy~"()") -
mixin("parentStyle.padding"~secondThingy~"()");
// then clamp it
if(child.height < 0)
child.height = 0;
if(child.height > childStyle.maxHeight())
child.height = childStyle.maxHeight();
// and if possible, respect the ideal target
if(ih > 0) {
auto totalPossible = child.height;
if(child.height > ih && child.heightStretchiness() == 0)
child.height = ih;
}
// if we have an ideal, try to respect it, otehrwise, just use the minimum
child.width = mymax(childStyle.minWidth(), iw);
}
spaceRemaining -= mixin("child." ~ relevantMeasure);
int thisMargin = mymax(lastMargin, mixin("childStyle.margin"~firstThingy~"()"));
auto margin = mixin("childStyle.margin" ~ secondThingy ~ "()");
lastMargin = margin;
spaceRemaining -= thisMargin + margin;
auto s = mixin("child." ~ relevantMeasure ~ "Stretchiness()");
stretchinessSum += s;
if(s > 0)
stretchyChildSum++;
auto s2 = mixin("child." ~ relevantMeasure ~ "Shrinkiness()");
shrinkinessSum += s2;
if(s2 > 0)
shrinkyChildSum++;
}
if(spaceRemaining < 0 && shrinkyChildSum) {
// shrink to get into the space if it is possible
auto toRemove = -spaceRemaining;
auto removalPerItem = toRemove * shrinkinessSum / shrinkyChildSum;
auto remainder = toRemove * shrinkinessSum % shrinkyChildSum;
// FIXME: wtf why am i shrinking things with no shrinkiness?
foreach(child; parent.children) {
auto childStyle = child.getComputedStyle();
if(cast(StaticPosition) child)
continue;
if(child.hidden)
continue;
static if(calcingV) {
auto maximum = childStyle.maxHeight();
} else {
auto maximum = childStyle.maxWidth();
}
mixin("child._" ~ relevantMeasure) -= removalPerItem + remainder; // this is removing more than needed to trigger the next thing. ugh.
spaceRemaining += removalPerItem + remainder;
}
}
// stretch to fill space
while(spaceRemaining > 0 && stretchinessSum && stretchyChildSum) {
auto spacePerChild = spaceRemaining / stretchinessSum;
bool spreadEvenly;
bool giveToBiggest;
if(spacePerChild <= 0) {
spacePerChild = spaceRemaining / stretchyChildSum;
spreadEvenly = true;
}
if(spacePerChild <= 0) {
giveToBiggest = true;
}
int previousSpaceRemaining = spaceRemaining;
stretchinessSum = 0;
Widget mostStretchy;
int mostStretchyS;
foreach(child; parent.children) {
auto childStyle = child.getComputedStyle();
if(cast(StaticPosition) child)
continue;
if(child.hidden)
continue;
static if(calcingV) {
auto maximum = childStyle.maxHeight();
} else {
auto maximum = childStyle.maxWidth();
}
if(mixin("child." ~ relevantMeasure) >= maximum) {
auto adj = mixin("child." ~ relevantMeasure) - maximum;
mixin("child._" ~ relevantMeasure) -= adj;
spaceRemaining += adj;
continue;
}
auto s = mixin("child." ~ relevantMeasure ~ "Stretchiness()");
if(s <= 0)
continue;
auto spaceAdjustment = spacePerChild * (spreadEvenly ? 1 : s);
mixin("child._" ~ relevantMeasure) += spaceAdjustment;
spaceRemaining -= spaceAdjustment;
if(mixin("child." ~ relevantMeasure) > maximum) {
auto diff = mixin("child." ~ relevantMeasure) - maximum;
mixin("child._" ~ relevantMeasure) -= diff;
spaceRemaining += diff;
} else if(mixin("child._" ~ relevantMeasure) < maximum) {
stretchinessSum += mixin("child." ~ relevantMeasure ~ "Stretchiness()");
if(mostStretchy is null || s >= mostStretchyS) {
mostStretchy = child;
mostStretchyS = s;
}
}
}
if(giveToBiggest && mostStretchy !is null) {
auto child = mostStretchy;
auto childStyle = child.getComputedStyle();
int spaceAdjustment = spaceRemaining;
static if(calcingV)
auto maximum = childStyle.maxHeight();
else
auto maximum = childStyle.maxWidth();
mixin("child._" ~ relevantMeasure) += spaceAdjustment;
spaceRemaining -= spaceAdjustment;
if(mixin("child._" ~ relevantMeasure) > maximum) {
auto diff = mixin("child." ~ relevantMeasure) - maximum;
mixin("child._" ~ relevantMeasure) -= diff;
spaceRemaining += diff;
}
}
if(spaceRemaining == previousSpaceRemaining)
break; // apparently nothing more we can do
}
// position
lastMargin = 0;
int currentPos = mixin("parent.padding"~firstThingy~"()");
foreach(child; parent.children) {
auto childStyle = child.getComputedStyle();
if(cast(StaticPosition) child) {
child.recomputeChildLayout();
continue;
}
if(child.hidden)
continue;
auto margin = mixin("childStyle.margin" ~ secondThingy ~ "()");
int thisMargin = mymax(lastMargin, mixin("childStyle.margin"~firstThingy~"()"));
currentPos += thisMargin;
static if(calcingV) {
child.x = parentStyle.paddingLeft() + childStyle.marginLeft();
child.y = currentPos;
} else {
child.x = currentPos;
child.y = parentStyle.paddingTop() + childStyle.marginTop();
}
currentPos += mixin("child." ~ relevantMeasure);
currentPos += margin;
lastMargin = margin;
child.recomputeChildLayout();
}
}
int mymax(int a, int b) { return a > b ? a : b; }
int mymax(int a, int b, int c) {
auto d = mymax(a, b);
return c > d ? c : d;
}
// OK so we need to make getting at the native window stuff possible in simpledisplay.d
// and here, it must be integrable with the layout, the event system, and not be painted over.
version(win32_widgets) {
// this function just does stuff that a parent window needs for redirection
int WindowProcedureHelper(Widget this_, HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, out int mustReturn) {
this_.hookedWndProc(msg, wParam, lParam);
switch(msg) {
case WM_VSCROLL, WM_HSCROLL:
auto pos = HIWORD(wParam);
auto m = LOWORD(wParam);
auto scrollbarHwnd = cast(HWND) lParam;
if(auto widgetp = scrollbarHwnd in Widget.nativeMapping) {
//auto smw = cast(ScrollMessageWidget) widgetp.parent;
switch(m) {
/+
// I don't think those messages are ever actually sent normally by the widget itself,
// they are more used for the keyboard interface. methinks.
case SB_BOTTOM:
//import std.stdio; writeln("end");
auto event = new Event("scrolltoend", *widgetp);
event.dispatch();
//if(!event.defaultPrevented)
break;
case SB_TOP:
//import std.stdio; writeln("top");
auto event = new Event("scrolltobeginning", *widgetp);
event.dispatch();
break;
case SB_ENDSCROLL:
// idk
break;
+/
case SB_LINEDOWN:
(*widgetp).emitCommand!"scrolltonextline"();
return 0;
case SB_LINEUP:
(*widgetp).emitCommand!"scrolltopreviousline"();
return 0;
case SB_PAGEDOWN:
(*widgetp).emitCommand!"scrolltonextpage"();
return 0;
case SB_PAGEUP:
(*widgetp).emitCommand!"scrolltopreviouspage"();
return 0;
case SB_THUMBPOSITION:
auto ev = new ScrollToPositionEvent(*widgetp, pos);
ev.dispatch();
return 0;
case SB_THUMBTRACK:
// eh kinda lying but i like the real time update display
auto ev = new ScrollToPositionEvent(*widgetp, pos);
ev.dispatch();
// the event loop doesn't seem to carry on with a requested redraw..
// so we request it to get our dirty bit set...
// then we need to immediately actually redraw it too for instant feedback to user
SimpleWindow.processAllCustomEvents();
SimpleWindow.processAllCustomEvents();
//if(this_.parentWindow)
//this_.parentWindow.actualRedraw();
// and this ensures the WM_PAINT message is sent fairly quickly
// still seems to lag a little in large windows but meh it basically works.
if(this_.parentWindow) {
// FIXME: if painting is slow, this does still lag
// we probably will want to expose some user hook to ScrollWindowEx
// or something.
UpdateWindow(this_.parentWindow.hwnd);
}
return 0;
default:
}
}
break;
case WM_CONTEXTMENU:
auto hwndFrom = cast(HWND) wParam;
auto xPos = cast(short) LOWORD(lParam);
auto yPos = cast(short) HIWORD(lParam);
if(auto widgetp = hwndFrom in Widget.nativeMapping) {
POINT p;
p.x = xPos;
p.y = yPos;
ScreenToClient(hwnd, &p);
auto clientX = cast(ushort) p.x;
auto clientY = cast(ushort) p.y;
auto wap = widgetAtPoint(*widgetp, clientX, clientY);
if(wap.widget.showContextMenu(wap.x, wap.y, xPos, yPos)) {
return 0;
}
}
break;
case WM_DRAWITEM:
auto dis = cast(DRAWITEMSTRUCT*) lParam;
if(auto widgetp = dis.hwndItem in Widget.nativeMapping) {
return (*widgetp).handleWmDrawItem(dis);
}
break;
case WM_NOTIFY:
auto hdr = cast(NMHDR*) lParam;
auto hwndFrom = hdr.hwndFrom;
auto code = hdr.code;
if(auto widgetp = hwndFrom in Widget.nativeMapping) {
return (*widgetp).handleWmNotify(hdr, code, mustReturn);
}
break;
case WM_COMMAND:
auto handle = cast(HWND) lParam;
auto cmd = HIWORD(wParam);
return processWmCommand(hwnd, handle, cmd, LOWORD(wParam));
default:
// pass it on
}
return 0;
}
extern(Windows)
private
// this is called by native child windows, whereas the other hook is done by simpledisplay windows
// but can i merge them?!
LRESULT HookedWndProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) nothrow {
//import std.stdio; try { writeln(iMessage); } catch(Exception e) {};
if(auto te = hWnd in Widget.nativeMapping) {
try {
te.hookedWndProc(iMessage, wParam, lParam);
int mustReturn;
auto ret = WindowProcedureHelper(*te, hWnd, iMessage, wParam, lParam, mustReturn);
if(mustReturn)
return ret;
if(iMessage == WM_SETFOCUS) {
auto lol = *te;
while(lol !is null && lol.implicitlyCreated)
lol = lol.parent;
lol.focus();
//(*te).parentWindow.focusedWidget = lol;
}
if(iMessage == WM_CTLCOLORBTN || iMessage == WM_CTLCOLORSTATIC) {
SetBkMode(cast(HDC) wParam, TRANSPARENT);
return cast(typeof(return)) GetSysColorBrush(COLOR_3DFACE); // this is the window background color...
//GetStockObject(NULL_BRUSH);
}
auto pos = getChildPositionRelativeToParentOrigin(*te);
lastDefaultPrevented = false;
// try {import std.stdio; writeln(typeid(*te)); } catch(Exception e) {}
if(SimpleWindow.triggerEvents(hWnd, iMessage, wParam, lParam, pos[0], pos[1], (*te).parentWindow.win) || !lastDefaultPrevented)
return CallWindowProcW((*te).originalWindowProcedure, hWnd, iMessage, wParam, lParam);
else {
// it was something we recognized, should only call the window procedure if the default was not prevented
}
} catch(Exception e) {
assert(0, e.toString());
}
return 0;
}
assert(0, "shouldn't be receiving messages for this window....");
//import std.conv;
//assert(0, to!string(hWnd) ~ " :: " ~ to!string(TextEdit.nativeMapping)); // not supposed to happen
}
extern(Windows)
private
// see for info https://jeffpar.github.io/kbarchive/kb/079/Q79982/
LRESULT HookedWndProcBSGROUPBOX_HACK(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) nothrow {
if(iMessage == WM_ERASEBKGND) {
auto dc = GetDC(hWnd);
auto b = SelectObject(dc, GetSysColorBrush(COLOR_3DFACE));
auto p = SelectObject(dc, GetStockObject(NULL_PEN));
RECT r;
GetWindowRect(hWnd, &r);
// since the pen is null, to fill the whole space, we need the +1 on both.
gdi.Rectangle(dc, 0, 0, r.right - r.left + 1, r.bottom - r.top + 1);
SelectObject(dc, p);
SelectObject(dc, b);
ReleaseDC(hWnd, dc);
InvalidateRect(hWnd, null, false); // redraw the border
return 1;
}
return HookedWndProc(hWnd, iMessage, wParam, lParam);
}
/++
Calls MS Windows' CreateWindowExW function to create a native backing for the given widget. It will create
needed mappings, window procedure hooks, and other private member variables needed to tie it into the rest
of minigui's expectations.
This should be called in your widget's constructor AFTER you call `super(parent);`. The parent window
member MUST already be initialized for this function to succeed, which is done by [Widget]'s base constructor.
It assumes `className` is zero-terminated. It should come from a `"wide string literal"w`.
To check if you can use this, use `static if(UsingWin32Widgets)`.
+/
void createWin32Window(Widget p, const(wchar)[] className, string windowText, DWORD style, DWORD extStyle = 0) {
assert(p.parentWindow !is null);
assert(p.parentWindow.win.impl.hwnd !is null);
auto bsgroupbox = style == BS_GROUPBOX;
HWND phwnd;
auto wtf = p.parent;
while(wtf) {
if(wtf.hwnd !is null) {
phwnd = wtf.hwnd;
break;
}
wtf = wtf.parent;
}
if(phwnd is null)
phwnd = p.parentWindow.win.impl.hwnd;
assert(phwnd !is null);
WCharzBuffer wt = WCharzBuffer(windowText);
style |= WS_VISIBLE | WS_CHILD;
//if(className != WC_TABCONTROL)
style |= WS_CLIPCHILDREN | WS_CLIPSIBLINGS;
p.hwnd = CreateWindowExW(extStyle, className.ptr, wt.ptr, style,
CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
phwnd, null, cast(HINSTANCE) GetModuleHandle(null), null);
assert(p.hwnd !is null);
static HFONT font;
if(font is null) {
NONCLIENTMETRICS params;
params.cbSize = params.sizeof;
if(SystemParametersInfo(SPI_GETNONCLIENTMETRICS, params.sizeof, ¶ms, 0)) {
font = CreateFontIndirect(¶ms.lfMessageFont);
}
}
if(font)
SendMessage(p.hwnd, WM_SETFONT, cast(uint) font, true);
p.simpleWindowWrappingHwnd = new SimpleWindow(p.hwnd);
p.simpleWindowWrappingHwnd.beingOpenKeepsAppOpen = false;
Widget.nativeMapping[p.hwnd] = p;
if(bsgroupbox)
p.originalWindowProcedure = cast(WNDPROC) SetWindowLongPtr(p.hwnd, GWL_WNDPROC, cast(size_t) &HookedWndProcBSGROUPBOX_HACK);
else
p.originalWindowProcedure = cast(WNDPROC) SetWindowLongPtr(p.hwnd, GWL_WNDPROC, cast(size_t) &HookedWndProc);
EnumChildWindows(p.hwnd, &childHandler, cast(LPARAM) cast(void*) p);
p.registerMovement();
}
}
version(win32_widgets)
private
extern(Windows) BOOL childHandler(HWND hwnd, LPARAM lparam) {
if(hwnd is null || hwnd in Widget.nativeMapping)
return true;
auto parent = cast(Widget) cast(void*) lparam;
Widget p = new Widget(null);
p._parent = parent;
p.parentWindow = parent.parentWindow;
p.hwnd = hwnd;
p.implicitlyCreated = true;
Widget.nativeMapping[p.hwnd] = p;
p.originalWindowProcedure = cast(WNDPROC) SetWindowLongPtr(p.hwnd, GWL_WNDPROC, cast(size_t) &HookedWndProc);
return true;
}
/++
Encapsulates the simpledisplay [ScreenPainter] for use on a [Widget], with [VisualTheme] and invalidated area awareness.
+/
struct WidgetPainter {
this(ScreenPainter screenPainter, Widget drawingUpon) {
this.drawingUpon = drawingUpon;
this.screenPainter = screenPainter;
if(auto font = visualTheme.defaultFontCached)
this.screenPainter.setFont(font);
}
///
ScreenPainter screenPainter;
/// Forward to the screen painter for other methods
alias screenPainter this;
private Widget drawingUpon;
/++
This is the list of rectangles that actually need to be redrawn.
Not actually implemented yet.
+/
Rectangle[] invalidatedRectangles;
private static BaseVisualTheme _visualTheme;
/++
Functions to access the visual theme and helpers to easily use it.
These are aware of the current widget's computed style out of the theme.
+/
static @property BaseVisualTheme visualTheme() {
if(_visualTheme is null)
_visualTheme = new DefaultVisualTheme();
return _visualTheme;
}
/// ditto
static @property void visualTheme(BaseVisualTheme theme) {
_visualTheme = theme;
}
/// ditto
Color themeForeground() {
return drawingUpon.getComputedStyle().foregroundColor();
}
/// ditto
Color themeBackground() {
return drawingUpon.getComputedStyle().background.color;
}
int isDarkTheme() {
return 0; // unspecified, yes, no as enum. FIXME
}
/++
Draws the general pattern of a widget if you don't need anything particularly special and/or control the other details through your widget's style theme hints.
It gives your draw delegate a [Rectangle] representing the coordinates inside your border and padding.
If you change teh clip rectangle, you should change it back before you return.
The sequence it uses is:
background
content (delegated to you)
border
focused outline
selected overlay
Example code:
---
void paint(WidgetPainter painter) {
painter.drawThemed((bounds) {
return bounds; // if the selection overlay should be contained, you can return it here.
});
}
---
+/
void drawThemed(scope Rectangle delegate(const Rectangle bounds) drawBody) {
drawThemed((WidgetPainter painter, const Rectangle bounds) {
return drawBody(bounds);
});
}
// this overload is actually mroe for setting the delegate to a virtual function
void drawThemed(scope Rectangle delegate(WidgetPainter painter, const Rectangle bounds) drawBody) {
Rectangle rect = Rectangle(0, 0, drawingUpon.width, drawingUpon.height);
auto cs = drawingUpon.getComputedStyle();
auto bg = cs.background.color;
auto borderWidth = draw3dFrame(0, 0, drawingUpon.width, drawingUpon.height, this, cs.borderStyle, bg, cs.borderColor);
rect.left += borderWidth;
rect.right -= borderWidth;
rect.top += borderWidth;
rect.bottom -= borderWidth;
auto insideBorderRect = rect;
rect.left += cs.paddingLeft;
rect.right -= cs.paddingRight;
rect.top += cs.paddingTop;
rect.bottom += cs.paddingBottom;
this.outlineColor = this.themeForeground;
this.fillColor = bg;
auto widgetFont = cs.fontCached;
if(widgetFont !is null)
this.setFont(widgetFont);
rect = drawBody(this, rect);
if(widgetFont !is null) {
if(auto vtFont = visualTheme.defaultFontCached)
this.setFont(vtFont);
else
this.setFont(null);
}
if(auto os = cs.outlineStyle()) {
this.pen = Pen(cs.outlineColor(), 1, os == FrameStyle.dotted ? Pen.Style.Dotted : Pen.Style.Solid);
this.fillColor = Color.transparent;
this.drawRectangle(insideBorderRect);
}
}
/++
First, draw the background.
Then draw your content.
Next, draw the border.
And the focused indicator.
And the is-selected box.
If it is focused i can draw the outline too...
If selected i can even do the xor action but that's at the end.
+/
void drawThemeBackground() {
}
void drawThemeBorder() {
}
// all this stuff is a dangerous experiment....
static class ScriptableVersion {
ScreenPainterImplementation* p;
int originX, originY;
@scriptable:
void drawRectangle(int x, int y, int width, int height) {
p.drawRectangle(x + originX, y + originY, width, height);
}
void drawLine(int x1, int y1, int x2, int y2) {
p.drawLine(x1 + originX, y1 + originY, x2 + originX, y2 + originY);
}
void drawText(int x, int y, string text) {
p.drawText(x + originX, y + originY, 100000, 100000, text, 0);
}
void setOutlineColor(int r, int g, int b) {
p.pen = Pen(Color(r,g,b), 1);
}
void setFillColor(int r, int g, int b) {
p.fillColor = Color(r,g,b);
}
}
ScriptableVersion toArsdJsvar() {
auto sv = new ScriptableVersion;
sv.p = this.screenPainter.impl;
sv.originX = this.screenPainter.originX;
sv.originY = this.screenPainter.originY;
return sv;
}
static WidgetPainter fromJsVar(T)(T t) {
return WidgetPainter.init;
}
// done..........
}
struct Style {
static struct helper(string m, T) {
enum method = m;
T v;
mixin template MethodOverride(typeof(this) v) {
mixin("override typeof(v.v) "~v.method~"() { return v.v; }");
}
}
static auto opDispatch(string method, T)(T value) {
return helper!(method, T)(value);
}
}
/++
Implementation detail of the [ControlledBy] UDA.
History:
Added Oct 28, 2020
+/
struct ControlledBy_(T, Args...) {
Args args;
static if(Args.length)
this(Args args) {
this.args = args;
}
private T construct(Widget parent) {
return new T(args, parent);
}
}
/++
User-defined attribute you can add to struct members contrlled by [addDataControllerWidget] or [dialog] to tell which widget you want created for them.
History:
Added Oct 28, 2020
+/
auto ControlledBy(T, Args...)(Args args) {
return ControlledBy_!(T, Args)(args);
}
struct ContainerMeta {
string name;
ContainerMeta[] children;
Widget function(Widget parent) factory;
Widget instantiate(Widget parent) {
auto n = factory(parent);
n.name = name;
foreach(child; children)
child.instantiate(n);
return n;
}
}
/++
This is a helper for [addDataControllerWidget]. You can use it as a UDA on the type. See
http://dpldocs.info/this-week-in-d/Blog.Posted_2020_11_02.html for more information.
Please note that as of May 28, 2021, a dmd bug prevents this from compiling on module-level
structures. It works fine on structs declared inside functions though.
See: https://issues.dlang.org/show_bug.cgi?id=21984
+/
template Container(CArgs...) {
static if(CArgs.length && is(CArgs[0] : Widget)) {
private alias Super = CArgs[0];
private alias CArgs2 = CArgs[1 .. $];
} else {
private alias Super = Layout;
private alias CArgs2 = CArgs;
}
class Container : Super {
this(Widget parent) { super(parent); }
// just to partially support old gdc versions
version(GNU) {
static if(CArgs2.length >= 1) { enum tmp0 = CArgs2[0]; mixin typeof(tmp0).MethodOverride!(CArgs2[0]); }
static if(CArgs2.length >= 2) { enum tmp1 = CArgs2[1]; mixin typeof(tmp1).MethodOverride!(CArgs2[1]); }
static if(CArgs2.length >= 3) { enum tmp2 = CArgs2[2]; mixin typeof(tmp2).MethodOverride!(CArgs2[2]); }
static if(CArgs2.length > 3) static assert(0, "only a few overrides like this supported on your compiler version at this time");
} else mixin(q{
static foreach(Arg; CArgs2) {
mixin Arg.MethodOverride!(Arg);
}
});
static ContainerMeta opCall(string name, ContainerMeta[] children...) {
return ContainerMeta(
name,
children.dup,
function (Widget parent) { return new typeof(this)(parent); }
);
}
static ContainerMeta opCall(ContainerMeta[] children...) {
return opCall(null, children);
}
}
}
/++
The data controller widget is created by reflecting over the given
data type. You can use [ControlledBy] as a UDA on a struct or
just let it create things automatically.
Unlike [dialog], this uses real-time updating of the data and
you add it to another window yourself.
---
struct Test {
int x;
int y;
}
auto window = new Window();
auto dcw = new DataControllerWidget!Test(new Test, window);
---
The way it works is any public members are given a widget based
on their data type, and public methods trigger an action button
if no relevant parameters or a dialog action if it does have
parameters, similar to the [menu] facility.
If you change data programmatically, without going through the
DataControllerWidget methods, you will have to tell it something
has changed and it needs to redraw. This is done with the `invalidate`
method.
History:
Added Oct 28, 2020
+/
/// Group: generating_from_code
class DataControllerWidget(T) : WidgetContainer {
static if(is(T == class) || is(T : const E[], E))
private alias Tref = T;
else
private alias Tref = T*;
Tref datum;
/++
See_also: [addDataControllerWidget]
+/
this(Tref datum, Widget parent) {
this.datum = datum;
Widget cp = this;
super(parent);
foreach(attr; __traits(getAttributes, T))
static if(is(typeof(attr) == ContainerMeta)) {
cp = attr.instantiate(this);
}
auto def = this.getByName("default");
if(def !is null)
cp = def;
Widget helper(string name) {
auto maybe = this.getByName(name);
if(maybe is null)
return cp;
return maybe;
}
foreach(member; __traits(allMembers, T))
static if(member != "this") // wtf https://issues.dlang.org/show_bug.cgi?id=22011
static if(is(typeof(__traits(getMember, this.datum, member))))
static if(__traits(getProtection, __traits(getMember, this.datum, member)) == "public") {
void delegate() update;
auto w = widgetFor!(__traits(getMember, T, member))(&__traits(getMember, this.datum, member), helper(member), update);
if(update)
updaters ~= update;
static if(is(typeof(__traits(getMember, this.datum, member)) == function)) {
w.addEventListener("triggered", delegate() {
makeAutomaticHandler!(__traits(getMember, this.datum, member))(&__traits(getMember, this.datum, member))();
notifyDataUpdated();
});
} else static if(is(typeof(w.isChecked) == bool)) {
w.addEventListener(EventType.change, (Event ev) {
__traits(getMember, this.datum, member) = w.isChecked;
});
} else static if(is(typeof(w.value) == string) || is(typeof(w.content) == string)) {
w.addEventListener("change", (Event e) { genericSetValue(&__traits(getMember, this.datum, member), e.stringValue); } );
} else static if(is(typeof(w.value) == int)) {
w.addEventListener("change", (Event e) { genericSetValue(&__traits(getMember, this.datum, member), e.intValue); } );
} else static if(is(typeof(w) == DropDownSelection)) {
// special case for this to kinda support enums and such. coudl be better though
w.addEventListener("change", (Event e) { genericSetValue(&__traits(getMember, this.datum, member), e.intValue); } );
} else {
static assert(0, "unsupported type " ~ typeof(__traits(getMember, this.datum, member)).stringof ~ " " ~ typeof(w).stringof);
}
}
}
/++
If you modify the data in the structure directly, you need to call this to update the UI and propagate any change messages.
History:
Added May 28, 2021
+/
void notifyDataUpdated() {
foreach(updater; updaters)
updater();
this.emit!(ChangeEvent!void)(delegate{});
}
private Widget[string] memberWidgets;
private void delegate()[] updaters;
mixin Emits!(ChangeEvent!void);
}
private int saturatedSum(int[] values...) {
int sum;
foreach(value; values) {
if(value == int.max)
return int.max;
sum += value;
}
return sum;
}
void genericSetValue(T, W)(T* where, W what) {
import std.conv;
*where = to!T(what);
//*where = cast(T) stringToLong(what);
}
/++
Creates a widget for the value `tt`, which is pointed to at runtime by `valptr`, with the given parent.
The `update` delegate can be called if you change `*valptr` to reflect those changes in the widget.
Note that this creates the widget but does not attach any event handlers to it.
+/
private static auto widgetFor(alias tt, P)(P valptr, Widget parent, out void delegate() update) {
string displayName = __traits(identifier, tt).beautify;
static if(controlledByCount!tt == 1) {
foreach(i, attr; __traits(getAttributes, tt)) {
static if(is(typeof(attr) == ControlledBy_!(T, Args), T, Args...)) {
auto w = attr.construct(parent);
static if(__traits(compiles, w.setPosition(*valptr)))
update = () { w.setPosition(*valptr); };
else static if(__traits(compiles, w.setValue(*valptr)))
update = () { w.setValue(*valptr); };
if(update)
update();
return w;
}
}
} else static if(controlledByCount!tt == 0) {
static if(is(typeof(tt) == enum)) {
// FIXME: update
auto dds = new DropDownSelection(parent);
foreach(idx, option; __traits(allMembers, typeof(tt))) {
dds.addOption(option);
if(__traits(getMember, typeof(tt), option) == *valptr)
dds.setSelection(cast(int) idx);
}
return dds;
} else static if(is(typeof(tt) == bool)) {
auto box = new Checkbox(displayName, parent);
update = () { box.isChecked = *valptr; };
update();
return box;
} else static if(is(typeof(tt) : const long)) {
auto le = new LabeledLineEdit(displayName, parent);
update = () { le.content = toInternal!string(*valptr); };
update();
return le;
} else static if(is(typeof(tt) : const string)) {
auto le = new LabeledLineEdit(displayName, parent);
update = () { le.content = *valptr; };
update();
return le;
} else static if(is(typeof(tt) == function)) {
auto w = new Button(displayName, parent);
return w;
}
} else static assert(0, "multiple controllers not yet supported");
}
private template controlledByCount(alias tt) {
static int helper() {
int count;
foreach(i, attr; __traits(getAttributes, tt))
static if(is(typeof(attr) == ControlledBy_!(T, Args), T, Args...))
count++;
return count;
}
enum controlledByCount = helper;
}
/++
Intended for UFCS action like `window.addDataControllerWidget(new MyObject());`
If you provide a `redrawOnChange` widget, it will automatically register a change event handler that calls that widget's redraw method.
History:
The `redrawOnChange` parameter was added on May 28, 2021.
+/
DataControllerWidget!T addDataControllerWidget(T)(Widget parent, T t, Widget redrawOnChange = null) if(is(T == class)) {
auto dcw = new DataControllerWidget!T(t, parent);
initializeDataControllerWidget(dcw, redrawOnChange);
return dcw;
}
/// ditto
DataControllerWidget!T addDataControllerWidget(T)(Widget parent, T* t, Widget redrawOnChange = null) if(is(T == struct)) {
auto dcw = new DataControllerWidget!T(t, parent);
initializeDataControllerWidget(dcw, redrawOnChange);
return dcw;
}
private void initializeDataControllerWidget(Widget w, Widget redrawOnChange) {
if(redrawOnChange !is null)
w.addEventListener("change", delegate() { redrawOnChange.redraw(); });
}
/++
Get this through [Widget.getComputedStyle]. It provides access to the [Widget.Style] style hints and [Widget] layout hints, possibly modified through the [VisualTheme], through a unifed interface.
History:
Finalized on June 3, 2021 for the dub v10.0 release
+/
struct StyleInformation {
private Widget w;
private BaseVisualTheme visualTheme;
private this(Widget w) {
this.w = w;
this.visualTheme = WidgetPainter.visualTheme;
}
/++
Forwards to [Widget.Style]
Bugs:
It is supposed to fall back to the [VisualTheme] if
the style doesn't override the default, but that is
not generally implemented. Many of them may end up
being explicit overloads instead of the generic
opDispatch fallback, like [font] is now.
+/
public @property opDispatch(string name)() {
typeof(__traits(getMember, Widget.Style.init, name)()) prop;
w.useStyleProperties((scope Widget.Style props) {
//visualTheme.useStyleProperties(w, (props) {
prop = __traits(getMember, props, name);
});
return prop;
}
/++
Returns the cached font object associated with the widget,
if overridden by the [Widget.Style|Style], or the [VisualTheme] if not.
History:
Prior to March 21, 2022 (dub v10.7), `font` went through
[opDispatch], which did not use the cache. You can now call it
repeatedly without guilt.
+/
public @property OperatingSystemFont font() {
OperatingSystemFont prop;
w.useStyleProperties((scope Widget.Style props) {
prop = props.fontCached;
});
if(prop is null)
prop = visualTheme.defaultFontCached;
return prop;
}
@property {
// Layout helpers. Currently just forwarding since I haven't made up my mind on a better way.
/** */ int paddingLeft() { return w.paddingLeft(); }
/** */ int paddingRight() { return w.paddingRight(); }
/** */ int paddingTop() { return w.paddingTop(); }
/** */ int paddingBottom() { return w.paddingBottom(); }
/** */ int marginLeft() { return w.marginLeft(); }
/** */ int marginRight() { return w.marginRight(); }
/** */ int marginTop() { return w.marginTop(); }
/** */ int marginBottom() { return w.marginBottom(); }
/** */ int maxHeight() { return w.maxHeight(); }
/** */ int minHeight() { return w.minHeight(); }
/** */ int maxWidth() { return w.maxWidth(); }
/** */ int minWidth() { return w.minWidth(); }
/** */ int flexBasisWidth() { return w.flexBasisWidth(); }
/** */ int flexBasisHeight() { return w.flexBasisHeight(); }
/** */ int heightStretchiness() { return w.heightStretchiness(); }
/** */ int widthStretchiness() { return w.widthStretchiness(); }
/** */ int heightShrinkiness() { return w.heightShrinkiness(); }
/** */ int widthShrinkiness() { return w.widthShrinkiness(); }
// Global helpers some of these are unstable.
static:
/** */ Color windowBackgroundColor() { return WidgetPainter.visualTheme.windowBackgroundColor(); }
/** */ Color widgetBackgroundColor() { return WidgetPainter.visualTheme.widgetBackgroundColor(); }
/** */ Color lightAccentColor() { return WidgetPainter.visualTheme.lightAccentColor(); }
/** */ Color darkAccentColor() { return WidgetPainter.visualTheme.darkAccentColor(); }
/** */ Color activeTabColor() { return lightAccentColor; }
/** */ Color buttonColor() { return windowBackgroundColor; }
/** */ Color depressedButtonColor() { return darkAccentColor; }
/** */ Color hoveringColor() { return Color(228, 228, 228); }
/** */ Color activeListXorColor() {
auto c = WidgetPainter.visualTheme.selectionColor();
return Color(c.r ^ 255, c.g ^ 255, c.b ^ 255, c.a);
}
/** */ Color progressBarColor() { return WidgetPainter.visualTheme.selectionColor(); }
/** */ Color activeMenuItemColor() { return WidgetPainter.visualTheme.selectionColor(); }
}
/+
private static auto extractStyleProperty(string name)(Widget w) {
typeof(__traits(getMember, Widget.Style.init, name)()) prop;
w.useStyleProperties((props) {
prop = __traits(getMember, props, name);
});
return prop;
}
// FIXME: clear this upon a X server disconnect
private static OperatingSystemFont[string] fontCache;
T getProperty(T)(string name, lazy T default_) {
if(visualTheme !is null) {
auto str = visualTheme.getPropertyString(w, name);
if(str is null)
return default_;
static if(is(T == Color))
return Color.fromString(str);
else static if(is(T == Measurement))
return Measurement(cast(int) toInternal!int(str));
else static if(is(T == WidgetBackground))
return WidgetBackground.fromString(str);
else static if(is(T == OperatingSystemFont)) {
if(auto f = str in fontCache)
return *f;
else
return fontCache[str] = new OperatingSystemFont(str);
} else static if(is(T == FrameStyle)) {
switch(str) {
default:
return FrameStyle.none;
foreach(style; __traits(allMembers, FrameStyle))
case style:
return __traits(getMember, FrameStyle, style);
}
} else static assert(0);
} else
return default_;
}
static struct Measurement {
int value;
alias value this;
}
@property:
int paddingLeft() { return getProperty("padding-left", Measurement(w.paddingLeft())); }
int paddingRight() { return getProperty("padding-right", Measurement(w.paddingRight())); }
int paddingTop() { return getProperty("padding-top", Measurement(w.paddingTop())); }
int paddingBottom() { return getProperty("padding-bottom", Measurement(w.paddingBottom())); }
int marginLeft() { return getProperty("margin-left", Measurement(w.marginLeft())); }
int marginRight() { return getProperty("margin-right", Measurement(w.marginRight())); }
int marginTop() { return getProperty("margin-top", Measurement(w.marginTop())); }
int marginBottom() { return getProperty("margin-bottom", Measurement(w.marginBottom())); }
int maxHeight() { return getProperty("max-height", Measurement(w.maxHeight())); }
int minHeight() { return getProperty("min-height", Measurement(w.minHeight())); }
int maxWidth() { return getProperty("max-width", Measurement(w.maxWidth())); }
int minWidth() { return getProperty("min-width", Measurement(w.minWidth())); }
WidgetBackground background() { return getProperty("background", extractStyleProperty!"background"(w)); }
Color foregroundColor() { return getProperty("foreground-color", extractStyleProperty!"foregroundColor"(w)); }
OperatingSystemFont font() { return getProperty("font", extractStyleProperty!"fontCached"(w)); }
FrameStyle borderStyle() { return getProperty("border-style", extractStyleProperty!"borderStyle"(w)); }
Color borderColor() { return getProperty("border-color", extractStyleProperty!"borderColor"(w)); }
FrameStyle outlineStyle() { return getProperty("outline-style", extractStyleProperty!"outlineStyle"(w)); }
Color outlineColor() { return getProperty("outline-color", extractStyleProperty!"outlineColor"(w)); }
Color windowBackgroundColor() { return WidgetPainter.visualTheme.windowBackgroundColor(); }
Color widgetBackgroundColor() { return WidgetPainter.visualTheme.widgetBackgroundColor(); }
Color lightAccentColor() { return WidgetPainter.visualTheme.lightAccentColor(); }
Color darkAccentColor() { return WidgetPainter.visualTheme.darkAccentColor(); }
Color activeTabColor() { return lightAccentColor; }
Color buttonColor() { return windowBackgroundColor; }
Color depressedButtonColor() { return darkAccentColor; }
Color hoveringColor() { return Color(228, 228, 228); }
Color activeListXorColor() {
auto c = WidgetPainter.visualTheme.selectionColor();
return Color(c.r ^ 255, c.g ^ 255, c.b ^ 255, c.a);
}
Color progressBarColor() { return WidgetPainter.visualTheme.selectionColor(); }
Color activeMenuItemColor() { return WidgetPainter.visualTheme.selectionColor(); }
+/
}
// pragma(msg, __traits(classInstanceSize, Widget));
/*private*/ template EventString(E) {
static if(is(typeof(E.EventString)))
enum EventString = E.EventString;
else
enum EventString = E.mangleof; // FIXME fqn? or something more user friendly
}
/*private*/ template EventStringIdentifier(E) {
string helper() {
auto es = EventString!E;
char[] id = new char[](es.length * 2);
size_t idx;
foreach(char ch; es) {
id[idx++] = cast(char)('a' + (ch >> 4));
id[idx++] = cast(char)('a' + (ch & 0x0f));
}
return cast(string) id;
}
enum EventStringIdentifier = helper();
}
template classStaticallyEmits(This, EventType) {
static if(is(This Base == super))
static if(is(Base : Widget))
enum baseEmits = classStaticallyEmits!(Base, EventType);
else
enum baseEmits = false;
else
enum baseEmits = false;
enum thisEmits = is(typeof(__traits(getMember, This, "emits_" ~ EventStringIdentifier!EventType)) == EventType[0]);
enum classStaticallyEmits = thisEmits || baseEmits;
}
/++
A helper to make widgets out of other native windows.
History:
Factored out of OpenGlWidget on November 5, 2021
+/
class NestedChildWindowWidget : Widget {
SimpleWindow win;
/++
Used on X to send focus to the appropriate child window when requested by the window manager.
Normally returns its own nested window. Can also return another child or null to revert to the parent
if you override it in a child class.
History:
Added April 2, 2022 (dub v10.8)
+/
SimpleWindow focusableWindow() {
return win;
}
///
// win = new SimpleWindow(640, 480, null, OpenGlOptions.yes, Resizability.automaticallyScaleIfPossible, WindowTypes.nestedChild, WindowFlags.normal, getParentWindow(parent));
this(SimpleWindow win, Widget parent) {
this.parentWindow = parent.parentWindow;
this.win = win;
super(parent);
windowsetup(win);
}
static protected SimpleWindow getParentWindow(Widget parent) {
assert(parent !is null);
SimpleWindow pwin = parent.parentWindow.win;
version(win32_widgets) {
HWND phwnd;
auto wtf = parent;
while(wtf) {
if(wtf.hwnd) {
phwnd = wtf.hwnd;
break;
}
wtf = wtf.parent;
}
// kinda a hack here just because the ctor below just needs a SimpleWindow wrapper....
if(phwnd)
pwin = new SimpleWindow(phwnd);
}
return pwin;
}
/++
Called upon the nested window being destroyed.
Remember the window has already been destroyed at
this point, so don't use the native handle for anything.
History:
Added April 3, 2022 (dub v10.8)
+/
protected void dispose() {
}
protected void windowsetup(SimpleWindow w) {
/*
win.onFocusChange = (bool getting) {
if(getting)
this.focus();
};
*/
/+
win.onFocusChange = (bool getting) {
if(getting) {
this.parentWindow.focusedWidget = this;
this.emit!FocusEvent();
this.emit!FocusInEvent();
} else {
this.emit!BlurEvent();
this.emit!FocusOutEvent();
}
};
+/
win.onDestroyed = () {
this.dispose();
};
version(win32_widgets) {
Widget.nativeMapping[win.hwnd] = this;
this.originalWindowProcedure = cast(WNDPROC) SetWindowLongPtr(win.hwnd, GWL_WNDPROC, cast(size_t) &HookedWndProc);
} else {
win.setEventHandlers(
(MouseEvent e) {
Widget p = this;
while(p ! is parentWindow) {
e.x += p.x;
e.y += p.y;
p = p.parent;
}
parentWindow.dispatchMouseEvent(e);
},
(KeyEvent e) {
//import std.stdio; writefln("%s %x %s", cast(void*) win, cast(uint) e.key, e.key);
parentWindow.dispatchKeyEvent(e);
},
(dchar e) {
parentWindow.dispatchCharEvent(e);
},
);
}
}
override void showing(bool s, bool recalc) {
auto cur = hidden;
win.hidden = !s;
if(cur != s && s)
redraw();
}
/// OpenGL widgets cannot have child widgets. Do not call this.
/* @disable */ final override void addChild(Widget, int) {
throw new Error("cannot add children to OpenGL widgets");
}
/// When an opengl widget is laid out, it will adjust the glViewport for you automatically.
/// Keep in mind that events like mouse coordinates are still relative to your size.
override void registerMovement() {
//import std.stdio; writefln("%d %d %d %d", x,y,width,height);
version(win32_widgets)
auto pos = getChildPositionRelativeToParentHwnd(this);
else
auto pos = getChildPositionRelativeToParentOrigin(this);
win.moveResize(pos[0], pos[1], width, height);
registerMovementAdditionalWork();
sendResizeEvent();
}
abstract void registerMovementAdditionalWork();
}
/++
Nests an opengl capable window inside this window as a widget.
You may also just want to create an additional [SimpleWindow] with
[OpenGlOptions.yes] yourself.
An OpenGL widget cannot have child widgets. It will throw if you try.
+/
static if(OpenGlEnabled)
class OpenGlWidget : NestedChildWindowWidget {
override void registerMovementAdditionalWork() {
win.setAsCurrentOpenGlContext();
}
///
this(Widget parent) {
auto win = new SimpleWindow(640, 480, null, OpenGlOptions.yes, Resizability.automaticallyScaleIfPossible, WindowTypes.nestedChild, WindowFlags.normal, getParentWindow(parent));
super(win, parent);
}
override void paint(WidgetPainter painter) {
win.setAsCurrentOpenGlContext();
glViewport(0, 0, this.width, this.height);
win.redrawOpenGlSceneNow();
}
void redrawOpenGlScene(void delegate() dg) {
win.redrawOpenGlScene = dg;
}
}
/++
This demo shows how to draw text in an opengl scene.
+/
unittest {
import arsd.minigui;
import arsd.ttf;
void main() {
auto window = new Window();
auto widget = new OpenGlWidget(window);
// old means non-shader code so compatible with glBegin etc.
// tbh I haven't implemented new one in font yet...
// anyway, declaring here, will construct soon.
OpenGlLimitedFont!(OpenGlFontGLVersion.old) glfont;
// this is a little bit awkward, calling some methods through
// the underlying SimpleWindow `win` method, and you can't do this
// on a nanovega widget due to conflicts so I should probably fix
// the api to be a bit easier. But here it will work.
//
// Alternatively, you could load the font on the first draw, inside
// the redrawOpenGlScene, and keep a flag so you don't do it every
// time. That'd be a bit easier since the lib sets up the context
// by then guaranteed.
//
// But still, I wanna show this.
widget.win.visibleForTheFirstTime = delegate {
// must set the opengl context
widget.win.setAsCurrentOpenGlContext();
// if you were doing a OpenGL 3+ shader, this
// gets especially important to do in order. With
// old-style opengl, I think you can even do it
// in main(), but meh, let's show it more correctly.
// Anyway, now it is time to load the font from the
// OS (you can alternatively load one from a .ttf file
// you bundle with the application), then load the
// font into texture for drawing.
auto osfont = new OperatingSystemFont("DejaVu Sans", 18);
assert(!osfont.isNull()); // make sure it actually loaded
// using typeof to avoid repeating the long name lol
glfont = new typeof(glfont)(
// get the raw data from the font for loading in here
// since it doesn't use the OS function to draw the
// text, we gotta treat it more as a file than as
// a drawing api.
osfont.getTtfBytes(),
18, // need to respecify size since opengl world is different coordinate system
// these last two numbers are why it is called
// "Limited" font. It only loads the characters
// in the given range, since the texture atlas
// it references is all a big image generated ahead
// of time. You could maybe do the whole thing but
// idk how much memory that is.
//
// But here, 0-128 represents the ASCII range, so
// good enough for most English things, numeric labels,
// etc.
0,
128
);
};
widget.redrawOpenGlScene = () {
// now we can use the glfont's drawString function
// first some opengl setup. You can do this in one place
// on window first visible too in many cases, just showing
// here cuz it is easier for me.
// gonna need some alpha blending or it just looks awful
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
glClearColor(0,0,0,0);
glDepthFunc(GL_LEQUAL);
// Also need to enable 2d textures, since it draws the
// font characters as images baked in
glMatrixMode(GL_MODELVIEW);
glLoadIdentity();
glDisable(GL_DEPTH_TEST);
glEnable(GL_TEXTURE_2D);
// the orthographic matrix is best for 2d things like text
// so let's set that up. This matrix makes the coordinates
// in the opengl scene be one-to-one with the actual pixels
// on screen. (Not necessarily best, you may wish to scale
// things, but it does help keep fonts looking normal.)
glMatrixMode(GL_PROJECTION);
glLoadIdentity();
glOrtho(0, widget.width, widget.height, 0, 0, 1);
// you can do other glScale, glRotate, glTranslate, etc
// to the matrix here of course if you want.
// note the x,y coordinates here are for the text baseline
// NOT the upper-left corner. The baseline is like the line
// in the notebook you write on. Most the letters are actually
// above it, but some, like p and q, dip a bit below it.
//
// So if you're used to the upper left coordinate like the
// rest of simpledisplay/minigui usually do, do the
// y + glfont.ascent to bring it down a little. So this
// example puts the string in the upper left of the window.
glfont.drawString(0, 0 + glfont.ascent, "Hello!!", Color.green);
// re color btw: the function sets a solid color internally,
// but you actually COULD do your own thing for rainbow effects
// and the sort if you wanted too, by pulling its guts out.
// Just view its source for an idea of how it actually draws:
// http://arsd-official.dpldocs.info/source/arsd.ttf.d.html#L332
// it gets a bit complicated with the character positioning,
// but the opengl parts are fairly simple: bind a texture,
// set the color, draw a quad for each letter.
// the last optional argument there btw is a bounding box
// it will/ use to word wrap and return an object you can
// use to implement scrolling or pagination; it tells how
// much of the string didn't fit in the box. But for simple
// labels we can just ignore that.
// I'd suggest drawing text as the last step, after you
// do your other drawing. You might use the push/pop matrix
// stuff to keep your place. You, in theory, should be able
// to do text in a 3d space but I've never actually tried
// that....
};
window.loop();
}
}
version(custom_widgets)
private alias ListWidgetBase = ScrollableWidget;
else
private alias ListWidgetBase = Widget;
/++
A list widget contains a list of strings that the user can examine and select.
In the future, items in the list may be possible to be more than just strings.
See_Also:
[TableView]
+/
class ListWidget : ListWidgetBase {
/// Sends a change event when the selection changes, but the data is not attached to the event. You must instead loop the options to see if they are selected.
mixin Emits!(ChangeEvent!void);
static struct Option {
string label;
bool selected;
}
/++
Sets the current selection to the `y`th item in the list. Will emit [ChangeEvent] when complete.
+/
void setSelection(int y) {
if(!multiSelect)
foreach(ref opt; options)
opt.selected = false;
if(y >= 0 && y < options.length)
options[y].selected = !options[y].selected;
this.emit!(ChangeEvent!void)(delegate {});
version(custom_widgets)
redraw();
}
version(custom_widgets)
override void defaultEventHandler_click(ClickEvent event) {
this.focus();
if(event.button == MouseButton.left) {
auto y = (event.clientY - 4) / defaultLineHeight;
if(y >= 0 && y < options.length) {
setSelection(y);
}
}
super.defaultEventHandler_click(event);
}
this(Widget parent) {
tabStop = false;
super(parent);
version(win32_widgets)
createWin32Window(this, WC_LISTBOX, "",
0|WS_CHILD|WS_VISIBLE|LBS_NOTIFY, 0);
}
version(win32_widgets)
override void handleWmCommand(ushort code, ushort id) {
switch(code) {
case LBN_SELCHANGE:
auto sel = SendMessageW(hwnd, LB_GETCURSEL, 0, 0);
setSelection(cast(int) sel);
break;
default:
}
}
version(custom_widgets)
override void paintFrameAndBackground(WidgetPainter painter) {
draw3dFrame(this, painter, FrameStyle.sunk, Color.white);
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
auto pos = Point(4, 4);
foreach(idx, option; options) {
painter.fillColor = Color.white;
painter.outlineColor = Color.white;
painter.drawRectangle(pos, width - 8, defaultLineHeight);
painter.outlineColor = cs.foregroundColor;
painter.drawText(pos, option.label);
if(option.selected) {
painter.rasterOp = RasterOp.xor;
painter.outlineColor = Color.white;
painter.fillColor = cs.activeListXorColor;
painter.drawRectangle(pos, width - 8, defaultLineHeight);
painter.rasterOp = RasterOp.normal;
}
pos.y += defaultLineHeight;
}
}
static class Style : Widget.Style {
override WidgetBackground background() {
return WidgetBackground(WidgetPainter.visualTheme.widgetBackgroundColor);
}
}
mixin OverrideStyle!Style;
//mixin Padding!q{2};
void addOption(string text) {
options ~= Option(text);
version(win32_widgets) {
WCharzBuffer buffer = WCharzBuffer(text);
SendMessageW(hwnd, LB_ADDSTRING, 0, cast(LPARAM) buffer.ptr);
}
version(custom_widgets) {
setContentSize(width, cast(int) (options.length * defaultLineHeight));
redraw();
}
}
void clear() {
options = null;
version(win32_widgets) {
while(SendMessageW(hwnd, LB_DELETESTRING, 0, 0) > 0)
{}
} else version(custom_widgets) {
scrollTo(Point(0, 0));
redraw();
}
}
Option[] options;
version(win32_widgets)
enum multiSelect = false; /// not implemented yet
else
bool multiSelect;
override int heightStretchiness() { return 6; }
}
/// For [ScrollableWidget], determines when to show the scroll bar to the user.
enum ScrollBarShowPolicy {
automatic, /// automatically show the scroll bar if it is necessary
never, /// never show the scroll bar (scrolling must be done programmatically)
always /// always show the scroll bar, even if it is disabled
}
/++
A widget that tries (with, at best, limited success) to offer scrolling that is transparent to the inner.
It isn't very good and will very likely be removed. Try [ScrollMessageWidget] or [ScrollableContainerWidget] instead for new code.
+/
// FIXME ScrollBarShowPolicy
// FIXME: use the ScrollMessageWidget in here now that it exists
class ScrollableWidget : Widget {
// FIXME: make line size configurable
// FIXME: add keyboard controls
version(win32_widgets) {
override int hookedWndProc(UINT msg, WPARAM wParam, LPARAM lParam) {
if(msg == WM_VSCROLL || msg == WM_HSCROLL) {
auto pos = HIWORD(wParam);
auto m = LOWORD(wParam);
// FIXME: I can reintroduce the
// scroll bars now by using this
// in the top-level window handler
// to forward comamnds
auto scrollbarHwnd = lParam;
switch(m) {
case SB_BOTTOM:
if(msg == WM_HSCROLL)
horizontalScrollTo(contentWidth_);
else
verticalScrollTo(contentHeight_);
break;
case SB_TOP:
if(msg == WM_HSCROLL)
horizontalScrollTo(0);
else
verticalScrollTo(0);
break;
case SB_ENDSCROLL:
// idk
break;
case SB_LINEDOWN:
if(msg == WM_HSCROLL)
horizontalScroll(scaleWithDpi(16));
else
verticalScroll(scaleWithDpi(16));
break;
case SB_LINEUP:
if(msg == WM_HSCROLL)
horizontalScroll(scaleWithDpi(-16));
else
verticalScroll(scaleWithDpi(-16));
break;
case SB_PAGEDOWN:
if(msg == WM_HSCROLL)
horizontalScroll(scaleWithDpi(100));
else
verticalScroll(scaleWithDpi(100));
break;
case SB_PAGEUP:
if(msg == WM_HSCROLL)
horizontalScroll(scaleWithDpi(-100));
else
verticalScroll(scaleWithDpi(-100));
break;
case SB_THUMBPOSITION:
case SB_THUMBTRACK:
if(msg == WM_HSCROLL)
horizontalScrollTo(pos);
else
verticalScrollTo(pos);
if(m == SB_THUMBTRACK) {
// the event loop doesn't seem to carry on with a requested redraw..
// so we request it to get our dirty bit set...
redraw();
// then we need to immediately actually redraw it too for instant feedback to user
SimpleWindow.processAllCustomEvents();
//if(parentWindow)
//parentWindow.actualRedraw();
}
break;
default:
}
}
return super.hookedWndProc(msg, wParam, lParam);
}
}
///
this(Widget parent) {
this.parentWindow = parent.parentWindow;
version(win32_widgets) {
createWin32Window(this, Win32Class!"arsd_minigui_ScrollableWidget"w, "",
0|WS_CHILD|WS_VISIBLE|WS_HSCROLL|WS_VSCROLL, 0);
super(parent);
} else version(custom_widgets) {
outerContainer = new InternalScrollableContainerWidget(this, parent);
super(outerContainer);
} else static assert(0);
}
version(custom_widgets)
InternalScrollableContainerWidget outerContainer;
override void defaultEventHandler_click(ClickEvent event) {
if(event.button == MouseButton.wheelUp)
verticalScroll(scaleWithDpi(-16));
if(event.button == MouseButton.wheelDown)
verticalScroll(scaleWithDpi(16));
super.defaultEventHandler_click(event);
}
override void defaultEventHandler_keydown(KeyDownEvent event) {
switch(event.key) {
case Key.Left:
horizontalScroll(scaleWithDpi(-16));
break;
case Key.Right:
horizontalScroll(scaleWithDpi(16));
break;
case Key.Up:
verticalScroll(scaleWithDpi(-16));
break;
case Key.Down:
verticalScroll(scaleWithDpi(16));
break;
case Key.Home:
verticalScrollTo(0);
break;
case Key.End:
verticalScrollTo(contentHeight);
break;
case Key.PageUp:
verticalScroll(scaleWithDpi(-160));
break;
case Key.PageDown:
verticalScroll(scaleWithDpi(160));
break;
default:
}
super.defaultEventHandler_keydown(event);
}
version(win32_widgets)
override void recomputeChildLayout() {
super.recomputeChildLayout();
SCROLLINFO info;
info.cbSize = info.sizeof;
info.nPage = viewportHeight;
info.fMask = SIF_PAGE | SIF_RANGE;
info.nMin = 0;
info.nMax = contentHeight_;
SetScrollInfo(hwnd, SB_VERT, &info, true);
info.cbSize = info.sizeof;
info.nPage = viewportWidth;
info.fMask = SIF_PAGE | SIF_RANGE;
info.nMin = 0;
info.nMax = contentWidth_;
SetScrollInfo(hwnd, SB_HORZ, &info, true);
}
/*
Scrolling
------------
You are assigned a width and a height by the layout engine, which
is your viewport box. However, you may draw more than that by setting
a contentWidth and contentHeight.
If these can be contained by the viewport, no scrollbar is displayed.
If they cannot fit though, it will automatically show scroll as necessary.
If contentWidth == 0, no horizontal scrolling is performed. If contentHeight
is zero, no vertical scrolling is performed.
If scrolling is necessary, the lib will automatically work with the bars.
When you redraw, the origin and clipping info in the painter is set so if
you just draw everything, it will work, but you can be more efficient by checking
the viewportWidth, viewportHeight, and scrollOrigin members.
*/
///
final @property int viewportWidth() {
return width - (showingVerticalScroll ? scaleWithDpi(16) : 0);
}
///
final @property int viewportHeight() {
return height - (showingHorizontalScroll ? scaleWithDpi(16) : 0);
}
// FIXME property
Point scrollOrigin_;
///
final const(Point) scrollOrigin() {
return scrollOrigin_;
}
// the user sets these two
private int contentWidth_ = 0;
private int contentHeight_ = 0;
///
int contentWidth() { return contentWidth_; }
///
int contentHeight() { return contentHeight_; }
///
void setContentSize(int width, int height) {
contentWidth_ = width;
contentHeight_ = height;
version(custom_widgets) {
if(showingVerticalScroll || showingHorizontalScroll) {
outerContainer.recomputeChildLayout();
}
if(showingVerticalScroll())
outerContainer.verticalScrollBar.redraw();
if(showingHorizontalScroll())
outerContainer.horizontalScrollBar.redraw();
} else version(win32_widgets) {
recomputeChildLayout();
} else static assert(0);
}
///
void verticalScroll(int delta) {
verticalScrollTo(scrollOrigin.y + delta);
}
///
void verticalScrollTo(int pos) {
scrollOrigin_.y = pos;
if(pos == int.max || (scrollOrigin_.y + viewportHeight > contentHeight))
scrollOrigin_.y = contentHeight - viewportHeight;
if(scrollOrigin_.y < 0)
scrollOrigin_.y = 0;
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.fMask = SIF_POS;
info.nPos = scrollOrigin_.y;
SetScrollInfo(hwnd, SB_VERT, &info, true);
} else version(custom_widgets) {
outerContainer.verticalScrollBar.setPosition(scrollOrigin_.y);
} else static assert(0);
redraw();
}
///
void horizontalScroll(int delta) {
horizontalScrollTo(scrollOrigin.x + delta);
}
///
void horizontalScrollTo(int pos) {
scrollOrigin_.x = pos;
if(pos == int.max || (scrollOrigin_.x + viewportWidth > contentWidth))
scrollOrigin_.x = contentWidth - viewportWidth;
if(scrollOrigin_.x < 0)
scrollOrigin_.x = 0;
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.fMask = SIF_POS;
info.nPos = scrollOrigin_.x;
SetScrollInfo(hwnd, SB_HORZ, &info, true);
} else version(custom_widgets) {
outerContainer.horizontalScrollBar.setPosition(scrollOrigin_.x);
} else static assert(0);
redraw();
}
///
void scrollTo(Point p) {
verticalScrollTo(p.y);
horizontalScrollTo(p.x);
}
///
void ensureVisibleInScroll(Point p) {
auto rect = viewportRectangle();
if(rect.contains(p))
return;
if(p.x < rect.left)
horizontalScroll(p.x - rect.left);
else if(p.x > rect.right)
horizontalScroll(p.x - rect.right);
if(p.y < rect.top)
verticalScroll(p.y - rect.top);
else if(p.y > rect.bottom)
verticalScroll(p.y - rect.bottom);
}
///
void ensureVisibleInScroll(Rectangle rect) {
ensureVisibleInScroll(rect.upperLeft);
ensureVisibleInScroll(rect.lowerRight);
}
///
Rectangle viewportRectangle() {
return Rectangle(scrollOrigin, Size(viewportWidth, viewportHeight));
}
///
bool showingHorizontalScroll() {
return contentWidth > width;
}
///
bool showingVerticalScroll() {
return contentHeight > height;
}
/// This is called before the ordinary paint delegate,
/// giving you a chance to draw the window frame, etc,
/// before the scroll clip takes effect
void paintFrameAndBackground(WidgetPainter painter) {
version(win32_widgets) {
auto b = SelectObject(painter.impl.hdc, GetSysColorBrush(COLOR_3DFACE));
auto p = SelectObject(painter.impl.hdc, GetStockObject(NULL_PEN));
// since the pen is null, to fill the whole space, we need the +1 on both.
gdi.Rectangle(painter.impl.hdc, 0, 0, this.width + 1, this.height + 1);
SelectObject(painter.impl.hdc, p);
SelectObject(painter.impl.hdc, b);
}
}
// make space for the scroll bar, and that's it.
final override int paddingRight() { return scaleWithDpi(16); }
final override int paddingBottom() { return scaleWithDpi(16); }
/*
END SCROLLING
*/
override WidgetPainter draw() {
int x = this.x, y = this.y;
auto parent = this.parent;
while(parent) {
x += parent.x;
y += parent.y;
parent = parent.parent;
}
//version(win32_widgets) {
//auto painter = simpleWindowWrappingHwnd ? simpleWindowWrappingHwnd.draw(true) : parentWindow.win.draw(true);
//} else {
auto painter = parentWindow.win.draw(true);
//}
painter.originX = x;
painter.originY = y;
painter.originX = painter.originX - scrollOrigin.x;
painter.originY = painter.originY - scrollOrigin.y;
painter.setClipRectangle(scrollOrigin, viewportWidth(), viewportHeight());
return WidgetPainter(painter, this);
}
mixin ScrollableChildren;
}
// you need to have a Point scrollOrigin in the class somewhere
// and a paintFrameAndBackground
private mixin template ScrollableChildren() {
override protected void privatePaint(WidgetPainter painter, int lox, int loy, Rectangle containment, bool force, bool invalidate) {
if(hidden)
return;
//version(win32_widgets)
//painter = simpleWindowWrappingHwnd ? simpleWindowWrappingHwnd.draw(true) : parentWindow.win.draw(true);
painter.originX = lox + x;
painter.originY = loy + y;
bool actuallyPainted = false;
const clip = containment.intersectionOf(Rectangle(Point(lox + x, loy + y), Size(width, height)));
if(clip == Rectangle.init)
return;
if(force || redrawRequested) {
//painter.setClipRectangle(scrollOrigin, width, height);
painter.setClipRectangle(clip.upperLeft - Point(painter.originX, painter.originY), clip.width, clip.height);
paintFrameAndBackground(painter);
}
painter.originX = painter.originX - scrollOrigin.x;
painter.originY = painter.originY - scrollOrigin.y;
if(force || redrawRequested) {
painter.setClipRectangle(clip.upperLeft - Point(painter.originX, painter.originY) + Point(2, 2) /* border */, clip.width - 4, clip.height - 4);
//painter.setClipRectangle(scrollOrigin + Point(2, 2) /* border */, width - 4, height - 4);
//erase(painter); // we paintFrameAndBackground above so no need
if(painter.visualTheme)
painter.visualTheme.doPaint(this, painter);
else
paint(painter);
if(invalidate) {
painter.invalidateRect(Rectangle(Point(clip.upperLeft.x - painter.originX, clip.upperRight.y - painter.originY), Size(clip.width, clip.height)));
// children are contained inside this, so no need to do extra work
invalidate = false;
}
actuallyPainted = true;
redrawRequested = false;
}
foreach(child; children) {
if(cast(FixedPosition) child)
child.privatePaint(painter, painter.originX + scrollOrigin.x, painter.originY + scrollOrigin.y, clip, actuallyPainted, invalidate);
else
child.privatePaint(painter, painter.originX, painter.originY, clip, actuallyPainted, invalidate);
}
}
}
private class InternalScrollableContainerInsideWidget : ContainerWidget {
ScrollableContainerWidget scw;
this(ScrollableContainerWidget parent) {
scw = parent;
super(parent);
}
version(custom_widgets)
override protected void privatePaint(WidgetPainter painter, int lox, int loy, Rectangle containment, bool force, bool invalidate) {
if(hidden)
return;
bool actuallyPainted = false;
auto scrollOrigin = Point(scw.scrollX_, scw.scrollY_);
const clip = containment.intersectionOf(Rectangle(Point(lox + x, loy + y), Size(width + scw.scrollX_, height + scw.scrollY_)));
if(clip == Rectangle.init)
return;
painter.originX = lox + x - scrollOrigin.x;
painter.originY = loy + y - scrollOrigin.y;
if(force || redrawRequested) {
painter.setClipRectangle(clip.upperLeft - Point(painter.originX, painter.originY), clip.width, clip.height);
erase(painter);
if(painter.visualTheme)
painter.visualTheme.doPaint(this, painter);
else
paint(painter);
if(invalidate) {
painter.invalidateRect(Rectangle(Point(clip.upperLeft.x - painter.originX, clip.upperRight.y - painter.originY), Size(clip.width, clip.height)));
// children are contained inside this, so no need to do extra work
invalidate = false;
}
actuallyPainted = true;
redrawRequested = false;
}
foreach(child; children) {
if(cast(FixedPosition) child)
child.privatePaint(painter, painter.originX + scrollOrigin.x, painter.originY + scrollOrigin.y, clip, actuallyPainted, invalidate);
else
child.privatePaint(painter, painter.originX, painter.originY, clip, actuallyPainted, invalidate);
}
}
version(custom_widgets)
override protected void addScrollPosition(ref int x, ref int y) {
x += scw.scrollX_;
y += scw.scrollY_;
}
}
/++
A widget meant to contain other widgets that may need to scroll.
Currently buggy.
History:
Added July 1, 2021 (dub v10.2)
On January 3, 2022, I tried to use it in a few other cases
and found it only worked well in the original test case. Since
it still sucks, I think I'm going to rewrite it again.
+/
class ScrollableContainerWidget : ContainerWidget {
///
this(Widget parent) {
super(parent);
container = new InternalScrollableContainerInsideWidget(this);
hsb = new HorizontalScrollbar(this);
vsb = new VerticalScrollbar(this);
tabStop = false;
container.tabStop = false;
magic = true;
vsb.addEventListener("scrolltonextline", () {
scrollBy(0, scaleWithDpi(16));
});
vsb.addEventListener("scrolltopreviousline", () {
scrollBy(0,scaleWithDpi( -16));
});
vsb.addEventListener("scrolltonextpage", () {
scrollBy(0, container.height);
});
vsb.addEventListener("scrolltopreviouspage", () {
scrollBy(0, -container.height);
});
vsb.addEventListener((scope ScrollToPositionEvent spe) {
scrollTo(scrollX_, spe.value);
});
this.addEventListener(delegate (scope ClickEvent e) {
if(e.button == MouseButton.wheelUp) {
if(!e.defaultPrevented)
scrollBy(0, scaleWithDpi(-16));
e.stopPropagation();
} else if(e.button == MouseButton.wheelDown) {
if(!e.defaultPrevented)
scrollBy(0, scaleWithDpi(16));
e.stopPropagation();
}
});
}
/+
override void defaultEventHandler_click(ClickEvent e) {
}
+/
override void removeAllChildren() {
container.removeAllChildren();
}
void scrollTo(int x, int y) {
scrollBy(x - scrollX_, y - scrollY_);
}
void scrollBy(int x, int y) {
auto ox = scrollX_;
auto oy = scrollY_;
auto nx = ox + x;
auto ny = oy + y;
if(nx < 0)
nx = 0;
if(ny < 0)
ny = 0;
auto maxX = hsb.max - container.width;
if(maxX < 0) maxX = 0;
auto maxY = vsb.max - container.height;
if(maxY < 0) maxY = 0;
if(nx > maxX)
nx = maxX;
if(ny > maxY)
ny = maxY;
auto dx = nx - ox;
auto dy = ny - oy;
if(dx || dy) {
version(win32_widgets)
ScrollWindowEx(container.hwnd, -dx, -dy, null, null, null, null, SW_SCROLLCHILDREN | SW_INVALIDATE | SW_ERASE);
else {
redraw();
}
hsb.setPosition = nx;
vsb.setPosition = ny;
scrollX_ = nx;
scrollY_ = ny;
}
}
private int scrollX_;
private int scrollY_;
void setTotalArea(int width, int height) {
hsb.setMax(width);
vsb.setMax(height);
}
///
void setViewableArea(int width, int height) {
hsb.setViewableArea(width);
vsb.setViewableArea(height);
}
private bool magic;
override void addChild(Widget w, int position = int.max) {
if(magic)
container.addChild(w, position);
else
super.addChild(w, position);
}
override void recomputeChildLayout() {
if(hsb is null || vsb is null || container is null) return;
/+
import std.stdio; writeln(x, " ", y , " ", width, " ", height);
writeln(this.ContainerWidget.minWidth(), "x", this.ContainerWidget.minHeight());
+/
registerMovement();
hsb.height = scaleWithDpi(16); // FIXME? are tese 16s sane?
hsb.x = 0;
hsb.y = this.height - hsb.height;
hsb.width = this.width - scaleWithDpi(16);
hsb.recomputeChildLayout();
vsb.width = scaleWithDpi(16); // FIXME?
vsb.x = this.width - vsb.width;
vsb.y = 0;
vsb.height = this.height - scaleWithDpi(16);
vsb.recomputeChildLayout();
container.x = 0;
container.y = 0;
container.width = this.width - vsb.width;
container.height = this.height - hsb.height;
container.recomputeChildLayout();
scrollX_ = 0;
scrollY_ = 0;
hsb.setPosition(0);
vsb.setPosition(0);
int mw, mh;
Widget c = container;
// FIXME: hack here to handle a layout inside...
if(c.children.length == 1 && cast(Layout) c.children[0])
c = c.children[0];
foreach(child; c.children) {
auto w = child.x + child.width;
auto h = child.y + child.height;
if(w > mw) mw = w;
if(h > mh) mh = h;
}
setTotalArea(mw, mh);
setViewableArea(width, height);
}
override int minHeight() { return scaleWithDpi(64); }
HorizontalScrollbar hsb;
VerticalScrollbar vsb;
ContainerWidget container;
}
version(custom_widgets)
private class InternalScrollableContainerWidget : Widget {
ScrollableWidget sw;
VerticalScrollbar verticalScrollBar;
HorizontalScrollbar horizontalScrollBar;
this(ScrollableWidget sw, Widget parent) {
this.sw = sw;
this.tabStop = false;
horizontalScrollBar = new HorizontalScrollbar(this);
verticalScrollBar = new VerticalScrollbar(this);
horizontalScrollBar.showing_ = false;
verticalScrollBar.showing_ = false;
horizontalScrollBar.addEventListener("scrolltonextline", {
horizontalScrollBar.setPosition(horizontalScrollBar.position + 1);
sw.horizontalScrollTo(horizontalScrollBar.position);
});
horizontalScrollBar.addEventListener("scrolltopreviousline", {
horizontalScrollBar.setPosition(horizontalScrollBar.position - 1);
sw.horizontalScrollTo(horizontalScrollBar.position);
});
verticalScrollBar.addEventListener("scrolltonextline", {
verticalScrollBar.setPosition(verticalScrollBar.position + 1);
sw.verticalScrollTo(verticalScrollBar.position);
});
verticalScrollBar.addEventListener("scrolltopreviousline", {
verticalScrollBar.setPosition(verticalScrollBar.position - 1);
sw.verticalScrollTo(verticalScrollBar.position);
});
horizontalScrollBar.addEventListener("scrolltonextpage", {
horizontalScrollBar.setPosition(horizontalScrollBar.position + horizontalScrollBar.step_);
sw.horizontalScrollTo(horizontalScrollBar.position);
});
horizontalScrollBar.addEventListener("scrolltopreviouspage", {
horizontalScrollBar.setPosition(horizontalScrollBar.position - horizontalScrollBar.step_);
sw.horizontalScrollTo(horizontalScrollBar.position);
});
verticalScrollBar.addEventListener("scrolltonextpage", {
verticalScrollBar.setPosition(verticalScrollBar.position + verticalScrollBar.step_);
sw.verticalScrollTo(verticalScrollBar.position);
});
verticalScrollBar.addEventListener("scrolltopreviouspage", {
verticalScrollBar.setPosition(verticalScrollBar.position - verticalScrollBar.step_);
sw.verticalScrollTo(verticalScrollBar.position);
});
horizontalScrollBar.addEventListener("scrolltoposition", (Event event) {
horizontalScrollBar.setPosition(event.intValue);
sw.horizontalScrollTo(horizontalScrollBar.position);
});
verticalScrollBar.addEventListener("scrolltoposition", (Event event) {
verticalScrollBar.setPosition(event.intValue);
sw.verticalScrollTo(verticalScrollBar.position);
});
horizontalScrollBar.addEventListener("scrolltrack", (Event event) {
horizontalScrollBar.setPosition(event.intValue);
sw.horizontalScrollTo(horizontalScrollBar.position);
});
verticalScrollBar.addEventListener("scrolltrack", (Event event) {
verticalScrollBar.setPosition(event.intValue);
});
super(parent);
}
// this is supposed to be basically invisible...
override int minWidth() { return sw.minWidth; }
override int minHeight() { return sw.minHeight; }
override int maxWidth() { return sw.maxWidth; }
override int maxHeight() { return sw.maxHeight; }
override int widthStretchiness() { return sw.widthStretchiness; }
override int heightStretchiness() { return sw.heightStretchiness; }
override int marginLeft() { return sw.marginLeft; }
override int marginRight() { return sw.marginRight; }
override int marginTop() { return sw.marginTop; }
override int marginBottom() { return sw.marginBottom; }
override int paddingLeft() { return sw.paddingLeft; }
override int paddingRight() { return sw.paddingRight; }
override int paddingTop() { return sw.paddingTop; }
override int paddingBottom() { return sw.paddingBottom; }
override void focus() { sw.focus(); }
override void recomputeChildLayout() {
// The stupid thing needs to calculate if a scroll bar is needed...
recomputeChildLayoutHelper();
// then running it again will position things correctly if the bar is NOT needed
recomputeChildLayoutHelper();
// this sucks but meh it barely works
}
private void recomputeChildLayoutHelper() {
if(sw is null) return;
bool both = sw.showingVerticalScroll && sw.showingHorizontalScroll;
if(horizontalScrollBar && verticalScrollBar) {
horizontalScrollBar.width = this.width - (both ? verticalScrollBar.minWidth() : 0);
horizontalScrollBar.height = horizontalScrollBar.minHeight();
horizontalScrollBar.x = 0;
horizontalScrollBar.y = this.height - horizontalScrollBar.minHeight();
verticalScrollBar.width = verticalScrollBar.minWidth();
verticalScrollBar.height = this.height - (both ? horizontalScrollBar.minHeight() : 0) - 2 - 2;
verticalScrollBar.x = this.width - verticalScrollBar.minWidth();
verticalScrollBar.y = 0 + 2;
sw.x = 0;
sw.y = 0;
sw.width = this.width - (verticalScrollBar.showing ? verticalScrollBar.width : 0);
sw.height = this.height - (horizontalScrollBar.showing ? horizontalScrollBar.height : 0);
if(sw.contentWidth_ <= this.width)
sw.scrollOrigin_.x = 0;
if(sw.contentHeight_ <= this.height)
sw.scrollOrigin_.y = 0;
horizontalScrollBar.recomputeChildLayout();
verticalScrollBar.recomputeChildLayout();
sw.recomputeChildLayout();
}
if(sw.contentWidth_ <= this.width)
sw.scrollOrigin_.x = 0;
if(sw.contentHeight_ <= this.height)
sw.scrollOrigin_.y = 0;
if(sw.showingHorizontalScroll())
horizontalScrollBar.showing(true, false);
else
horizontalScrollBar.showing(false, false);
if(sw.showingVerticalScroll())
verticalScrollBar.showing(true, false);
else
verticalScrollBar.showing(false, false);
verticalScrollBar.setViewableArea(sw.viewportHeight());
verticalScrollBar.setMax(sw.contentHeight);
verticalScrollBar.setPosition(sw.scrollOrigin.y);
horizontalScrollBar.setViewableArea(sw.viewportWidth());
horizontalScrollBar.setMax(sw.contentWidth);
horizontalScrollBar.setPosition(sw.scrollOrigin.x);
}
}
/*
class ScrollableClientWidget : Widget {
this(Widget parent) {
super(parent);
}
override void paint(WidgetPainter p) {
parent.paint(p);
}
}
*/
/++
A slider, also known as a trackbar control, is commonly used in applications like volume controls where you want the user to select a value between a min and a max without needing a specific value or otherwise precise input.
+/
abstract class Slider : Widget {
this(int min, int max, int step, Widget parent) {
min_ = min;
max_ = max;
step_ = step;
page_ = step;
super(parent);
}
private int min_;
private int max_;
private int step_;
private int position_;
private int page_;
// selection start and selection end
// tics
// tooltip?
// some way to see and just type the value
// win32 buddy controls are labels
///
void setMin(int a) {
min_ = a;
version(custom_widgets)
redraw();
version(win32_widgets)
SendMessage(hwnd, TBM_SETRANGEMIN, true, a);
}
///
int min() {
return min_;
}
///
void setMax(int a) {
max_ = a;
version(custom_widgets)
redraw();
version(win32_widgets)
SendMessage(hwnd, TBM_SETRANGEMAX, true, a);
}
///
int max() {
return max_;
}
///
void setPosition(int a) {
if(a > max)
a = max;
if(a < min)
a = min;
position_ = a;
version(custom_widgets)
setPositionCustom(a);
version(win32_widgets)
setPositionWindows(a);
}
version(win32_widgets) {
protected abstract void setPositionWindows(int a);
}
protected abstract int win32direction();
/++
Alias for [position] for better compatibility with generic code.
History:
Added October 5, 2021
+/
@property int value() {
return position;
}
///
int position() {
return position_;
}
///
void setStep(int a) {
step_ = a;
version(win32_widgets)
SendMessage(hwnd, TBM_SETLINESIZE, 0, a);
}
///
int step() {
return step_;
}
///
void setPageSize(int a) {
page_ = a;
version(win32_widgets)
SendMessage(hwnd, TBM_SETPAGESIZE, 0, a);
}
///
int pageSize() {
return page_;
}
private void notify() {
auto event = new ChangeEvent!int(this, &this.position);
event.dispatch();
}
version(win32_widgets)
void win32Setup(int style) {
createWin32Window(this, TRACKBAR_CLASS, "",
0|WS_CHILD|WS_VISIBLE|style|TBS_TOOLTIPS, 0);
// the trackbar sends the same messages as scroll, which
// our other layer sends as these... just gonna translate
// here
this.addDirectEventListener("scrolltoposition", (Event event) {
event.stopPropagation();
this.setPosition(this.win32direction > 0 ? event.intValue : max - event.intValue);
notify();
});
this.addDirectEventListener("scrolltonextline", (Event event) {
event.stopPropagation();
this.setPosition(this.position + this.step_ * this.win32direction);
notify();
});
this.addDirectEventListener("scrolltopreviousline", (Event event) {
event.stopPropagation();
this.setPosition(this.position - this.step_ * this.win32direction);
notify();
});
this.addDirectEventListener("scrolltonextpage", (Event event) {
event.stopPropagation();
this.setPosition(this.position + this.page_ * this.win32direction);
notify();
});
this.addDirectEventListener("scrolltopreviouspage", (Event event) {
event.stopPropagation();
this.setPosition(this.position - this.page_ * this.win32direction);
notify();
});
setMin(min_);
setMax(max_);
setStep(step_);
setPageSize(page_);
}
version(custom_widgets) {
protected MouseTrackingWidget thumb;
protected abstract void setPositionCustom(int a);
override void defaultEventHandler_keydown(KeyDownEvent event) {
switch(event.key) {
case Key.Up:
case Key.Right:
setPosition(position() - step() * win32direction);
changed();
break;
case Key.Down:
case Key.Left:
setPosition(position() + step() * win32direction);
changed();
break;
case Key.Home:
setPosition(win32direction > 0 ? min() : max());
changed();
break;
case Key.End:
setPosition(win32direction > 0 ? max() : min());
changed();
break;
case Key.PageUp:
setPosition(position() - pageSize() * win32direction);
changed();
break;
case Key.PageDown:
setPosition(position() + pageSize() * win32direction);
changed();
break;
default:
}
super.defaultEventHandler_keydown(event);
}
protected void changed() {
auto ev = new ChangeEvent!int(this, &position);
ev.dispatch();
}
}
}
/++
+/
class VerticalSlider : Slider {
this(int min, int max, int step, Widget parent) {
version(custom_widgets)
initialize();
super(min, max, step, parent);
version(win32_widgets)
win32Setup(TBS_VERT | 0x0200 /* TBS_REVERSED */);
}
protected override int win32direction() {
return -1;
}
version(win32_widgets)
protected override void setPositionWindows(int a) {
// the windows thing makes the top 0 and i don't like that.
SendMessage(hwnd, TBM_SETPOS, true, max - a);
}
version(custom_widgets)
private void initialize() {
thumb = new MouseTrackingWidget(MouseTrackingWidget.Orientation.vertical, this);
thumb.tabStop = false;
thumb.thumbWidth = width;
thumb.thumbHeight = scaleWithDpi(16);
thumb.addEventListener(EventType.change, () {
auto sx = thumb.positionY * max() / (thumb.height - scaleWithDpi(16));
sx = max - sx;
//informProgramThatUserChangedPosition(sx);
position_ = sx;
changed();
});
}
version(custom_widgets)
override void recomputeChildLayout() {
thumb.thumbWidth = this.width;
super.recomputeChildLayout();
setPositionCustom(position_);
}
version(custom_widgets)
protected override void setPositionCustom(int a) {
if(max())
thumb.positionY = (max - a) * (thumb.height - scaleWithDpi(16)) / max();
redraw();
}
}
/++
+/
class HorizontalSlider : Slider {
this(int min, int max, int step, Widget parent) {
version(custom_widgets)
initialize();
super(min, max, step, parent);
version(win32_widgets)
win32Setup(TBS_HORZ);
}
version(win32_widgets)
protected override void setPositionWindows(int a) {
SendMessage(hwnd, TBM_SETPOS, true, a);
}
protected override int win32direction() {
return 1;
}
version(custom_widgets)
private void initialize() {
thumb = new MouseTrackingWidget(MouseTrackingWidget.Orientation.horizontal, this);
thumb.tabStop = false;
thumb.thumbWidth = scaleWithDpi(16);
thumb.thumbHeight = height;
thumb.addEventListener(EventType.change, () {
auto sx = thumb.positionX * max() / (thumb.width - scaleWithDpi(16));
//informProgramThatUserChangedPosition(sx);
position_ = sx;
changed();
});
}
version(custom_widgets)
override void recomputeChildLayout() {
thumb.thumbHeight = this.height;
super.recomputeChildLayout();
setPositionCustom(position_);
}
version(custom_widgets)
protected override void setPositionCustom(int a) {
if(max())
thumb.positionX = a * (thumb.width - scaleWithDpi(16)) / max();
redraw();
}
}
///
abstract class ScrollbarBase : Widget {
///
this(Widget parent) {
super(parent);
tabStop = false;
step_ = scaleWithDpi(16);
}
private int viewableArea_;
private int max_;
private int step_;// = 16;
private int position_;
///
bool atEnd() {
return position_ + viewableArea_ >= max_;
}
///
bool atStart() {
return position_ == 0;
}
///
void setViewableArea(int a) {
viewableArea_ = a;
version(custom_widgets)
redraw();
}
///
void setMax(int a) {
max_ = a;
version(custom_widgets)
redraw();
}
///
int max() {
return max_;
}
///
void setPosition(int a) {
if(a == int.max)
a = max;
position_ = max ? a : 0;
if(position_ + viewableArea_ > max)
position_ = max - viewableArea_;
if(position_ < 0)
position_ = 0;
version(custom_widgets)
redraw();
}
///
int position() {
return position_;
}
///
void setStep(int a) {
step_ = a;
}
///
int step() {
return step_;
}
// FIXME: remove this.... maybe
/+
protected void informProgramThatUserChangedPosition(int n) {
position_ = n;
auto evt = new Event(EventType.change, this);
evt.intValue = n;
evt.dispatch();
}
+/
version(custom_widgets) {
abstract protected int getBarDim();
int thumbSize() {
if(viewableArea_ >= max_)
return getBarDim();
int res;
if(max_) {
res = getBarDim() * viewableArea_ / max_;
}
if(res < 6)
res = 6;
return res;
}
int thumbPosition() {
/*
viewableArea_ is the viewport height/width
position_ is where we are
*/
if(max_) {
if(position_ + viewableArea_ >= max_)
return getBarDim - thumbSize;
return getBarDim * position_ / max_;
}
return 0;
}
}
}
//public import mgt;
/++
A mouse tracking widget is one that follows the mouse when dragged inside it.
Concrete subclasses may include a scrollbar thumb and a volume control.
+/
//version(custom_widgets)
class MouseTrackingWidget : Widget {
///
int positionX() { return positionX_; }
///
int positionY() { return positionY_; }
///
void positionX(int p) { positionX_ = p; }
///
void positionY(int p) { positionY_ = p; }
private int positionX_;
private int positionY_;
///
enum Orientation {
horizontal, ///
vertical, ///
twoDimensional, ///
}
private int thumbWidth_;
private int thumbHeight_;
///
int thumbWidth() { return thumbWidth_; }
///
int thumbHeight() { return thumbHeight_; }
///
int thumbWidth(int a) { return thumbWidth_ = a; }
///
int thumbHeight(int a) { return thumbHeight_ = a; }
private bool dragging;
private bool hovering;
private int startMouseX, startMouseY;
///
this(Orientation orientation, Widget parent) {
super(parent);
//assert(parentWindow !is null);
addEventListener((MouseDownEvent event) {
if(event.clientX >= positionX && event.clientX < positionX + thumbWidth && event.clientY >= positionY && event.clientY < positionY + thumbHeight) {
dragging = true;
startMouseX = event.clientX - positionX;
startMouseY = event.clientY - positionY;
parentWindow.captureMouse(this);
} else {
if(orientation == Orientation.horizontal || orientation == Orientation.twoDimensional)
positionX = event.clientX - thumbWidth / 2;
if(orientation == Orientation.vertical || orientation == Orientation.twoDimensional)
positionY = event.clientY - thumbHeight / 2;
if(positionX + thumbWidth > this.width)
positionX = this.width - thumbWidth;
if(positionY + thumbHeight > this.height)
positionY = this.height - thumbHeight;
if(positionX < 0)
positionX = 0;
if(positionY < 0)
positionY = 0;
// this.emit!(ChangeEvent!void)();
auto evt = new Event(EventType.change, this);
evt.sendDirectly();
redraw();
}
});
addEventListener(EventType.mouseup, (Event event) {
dragging = false;
parentWindow.releaseMouseCapture();
});
addEventListener(EventType.mouseout, (Event event) {
if(!hovering)
return;
hovering = false;
redraw();
});
int lpx, lpy;
addEventListener((MouseMoveEvent event) {
auto oh = hovering;
if(event.clientX >= positionX && event.clientX < positionX + thumbWidth && event.clientY >= positionY && event.clientY < positionY + thumbHeight) {
hovering = true;
} else {
hovering = false;
}
if(!dragging) {
if(hovering != oh)
redraw();
return;
}
if(orientation == Orientation.horizontal || orientation == Orientation.twoDimensional)
positionX = event.clientX - startMouseX; // FIXME: click could be in the middle of it
if(orientation == Orientation.vertical || orientation == Orientation.twoDimensional)
positionY = event.clientY - startMouseY;
if(positionX + thumbWidth > this.width)
positionX = this.width - thumbWidth;
if(positionY + thumbHeight > this.height)
positionY = this.height - thumbHeight;
if(positionX < 0)
positionX = 0;
if(positionY < 0)
positionY = 0;
if(positionX != lpx || positionY != lpy) {
auto evt = new Event(EventType.change, this);
evt.sendDirectly();
lpx = positionX;
lpy = positionY;
}
redraw();
});
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
auto c = darken(cs.windowBackgroundColor, 0.2);
painter.outlineColor = c;
painter.fillColor = c;
painter.drawRectangle(Point(0, 0), this.width, this.height);
auto color = hovering ? cs.hoveringColor : cs.windowBackgroundColor;
draw3dFrame(positionX, positionY, thumbWidth, thumbHeight, painter, FrameStyle.risen, color);
}
}
//version(custom_widgets)
//private
class HorizontalScrollbar : ScrollbarBase {
version(custom_widgets) {
private MouseTrackingWidget thumb;
override int getBarDim() {
return thumb.width;
}
}
override void setViewableArea(int a) {
super.setViewableArea(a);
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.nPage = a + 1;
info.fMask = SIF_PAGE;
SetScrollInfo(hwnd, SB_CTL, &info, true);
} else version(custom_widgets) {
thumb.positionX = thumbPosition;
thumb.thumbWidth = thumbSize;
thumb.redraw();
} else static assert(0);
}
override void setMax(int a) {
super.setMax(a);
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.nMin = 0;
info.nMax = max;
info.fMask = SIF_RANGE;
SetScrollInfo(hwnd, SB_CTL, &info, true);
} else version(custom_widgets) {
thumb.positionX = thumbPosition;
thumb.thumbWidth = thumbSize;
thumb.redraw();
}
}
override void setPosition(int a) {
super.setPosition(a);
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.fMask = SIF_POS;
info.nPos = position;
SetScrollInfo(hwnd, SB_CTL, &info, true);
} else version(custom_widgets) {
thumb.positionX = thumbPosition();
thumb.thumbWidth = thumbSize;
thumb.redraw();
} else static assert(0);
}
this(Widget parent) {
super(parent);
version(win32_widgets) {
createWin32Window(this, "Scrollbar"w, "",
0|WS_CHILD|WS_VISIBLE|SBS_HORZ|SBS_BOTTOMALIGN, 0);
} else version(custom_widgets) {
auto vl = new HorizontalLayout(this);
auto leftButton = new ArrowButton(ArrowDirection.left, vl);
leftButton.setClickRepeat(scrollClickRepeatInterval);
thumb = new MouseTrackingWidget(MouseTrackingWidget.Orientation.horizontal, vl);
auto rightButton = new ArrowButton(ArrowDirection.right, vl);
rightButton.setClickRepeat(scrollClickRepeatInterval);
leftButton.tabStop = false;
rightButton.tabStop = false;
thumb.tabStop = false;
leftButton.addEventListener(EventType.triggered, () {
this.emitCommand!"scrolltopreviousline"();
//informProgramThatUserChangedPosition(position - step());
});
rightButton.addEventListener(EventType.triggered, () {
this.emitCommand!"scrolltonextline"();
//informProgramThatUserChangedPosition(position + step());
});
thumb.thumbWidth = this.minWidth;
thumb.thumbHeight = scaleWithDpi(16);
thumb.addEventListener(EventType.change, () {
auto sx = thumb.positionX * max() / thumb.width;
//informProgramThatUserChangedPosition(sx);
auto ev = new ScrollToPositionEvent(this, sx);
ev.dispatch();
});
}
}
override int minHeight() { return scaleWithDpi(16); }
override int maxHeight() { return scaleWithDpi(16); }
override int minWidth() { return scaleWithDpi(48); }
}
class ScrollToPositionEvent : Event {
enum EventString = "scrolltoposition";
this(Widget target, int value) {
this.value = value;
super(EventString, target);
}
immutable int value;
override @property int intValue() {
return value;
}
}
//version(custom_widgets)
//private
class VerticalScrollbar : ScrollbarBase {
version(custom_widgets) {
override int getBarDim() {
return thumb.height;
}
private MouseTrackingWidget thumb;
}
override void setViewableArea(int a) {
super.setViewableArea(a);
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.nPage = a + 1;
info.fMask = SIF_PAGE;
SetScrollInfo(hwnd, SB_CTL, &info, true);
} else version(custom_widgets) {
thumb.positionY = thumbPosition;
thumb.thumbHeight = thumbSize;
thumb.redraw();
} else static assert(0);
}
override void setMax(int a) {
super.setMax(a);
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.nMin = 0;
info.nMax = max;
info.fMask = SIF_RANGE;
SetScrollInfo(hwnd, SB_CTL, &info, true);
} else version(custom_widgets) {
thumb.positionY = thumbPosition;
thumb.thumbHeight = thumbSize;
thumb.redraw();
}
}
override void setPosition(int a) {
super.setPosition(a);
version(win32_widgets) {
SCROLLINFO info;
info.cbSize = info.sizeof;
info.fMask = SIF_POS;
info.nPos = position;
SetScrollInfo(hwnd, SB_CTL, &info, true);
} else version(custom_widgets) {
thumb.positionY = thumbPosition;
thumb.thumbHeight = thumbSize;
thumb.redraw();
} else static assert(0);
}
this(Widget parent) {
super(parent);
version(win32_widgets) {
createWin32Window(this, "Scrollbar"w, "",
0|WS_CHILD|WS_VISIBLE|SBS_VERT|SBS_RIGHTALIGN, 0);
} else version(custom_widgets) {
auto vl = new VerticalLayout(this);
auto upButton = new ArrowButton(ArrowDirection.up, vl);
upButton.setClickRepeat(scrollClickRepeatInterval);
thumb = new MouseTrackingWidget(MouseTrackingWidget.Orientation.vertical, vl);
auto downButton = new ArrowButton(ArrowDirection.down, vl);
downButton.setClickRepeat(scrollClickRepeatInterval);
upButton.addEventListener(EventType.triggered, () {
this.emitCommand!"scrolltopreviousline"();
//informProgramThatUserChangedPosition(position - step());
});
downButton.addEventListener(EventType.triggered, () {
this.emitCommand!"scrolltonextline"();
//informProgramThatUserChangedPosition(position + step());
});
thumb.thumbWidth = this.minWidth;
thumb.thumbHeight = scaleWithDpi(16);
thumb.addEventListener(EventType.change, () {
auto sy = thumb.positionY * max() / thumb.height;
auto ev = new ScrollToPositionEvent(this, sy);
ev.dispatch();
//informProgramThatUserChangedPosition(sy);
});
upButton.tabStop = false;
downButton.tabStop = false;
thumb.tabStop = false;
}
}
override int minWidth() { return scaleWithDpi(16); }
override int maxWidth() { return scaleWithDpi(16); }
override int minHeight() { return scaleWithDpi(48); }
}
/++
EXPERIMENTAL
A widget specialized for being a container for other widgets.
History:
Added May 29, 2021. Not stabilized at this time.
+/
class WidgetContainer : Widget {
this(Widget parent) {
tabStop = false;
super(parent);
}
override int maxHeight() {
if(this.children.length == 1) {
return saturatedSum(this.children[0].maxHeight, this.children[0].marginTop, this.children[0].marginBottom);
} else {
return int.max;
}
}
override int maxWidth() {
if(this.children.length == 1) {
return saturatedSum(this.children[0].maxWidth, this.children[0].marginLeft, this.children[0].marginRight);
} else {
return int.max;
}
}
/+
override int minHeight() {
int largest = 0;
int margins = 0;
int lastMargin = 0;
foreach(child; children) {
auto mh = child.minHeight();
if(mh > largest)
largest = mh;
margins += mymax(lastMargin, child.marginTop());
lastMargin = child.marginBottom();
}
return largest + margins;
}
override int maxHeight() {
int largest = 0;
int margins = 0;
int lastMargin = 0;
foreach(child; children) {
auto mh = child.maxHeight();
if(mh == int.max)
return int.max;
if(mh > largest)
largest = mh;
margins += mymax(lastMargin, child.marginTop());
lastMargin = child.marginBottom();
}
return largest + margins;
}
override int minWidth() {
int min;
foreach(child; children) {
auto cm = child.minWidth;
if(cm > min)
min = cm;
}
return min + paddingLeft + paddingRight;
}
override int minHeight() {
int min;
foreach(child; children) {
auto cm = child.minHeight;
if(cm > min)
min = cm;
}
return min + paddingTop + paddingBottom;
}
override int maxHeight() {
int largest = 0;
int margins = 0;
int lastMargin = 0;
foreach(child; children) {
auto mh = child.maxHeight();
if(mh == int.max)
return int.max;
if(mh > largest)
largest = mh;
margins += mymax(lastMargin, child.marginTop());
lastMargin = child.marginBottom();
}
return largest + margins;
}
override int heightStretchiness() {
int max;
foreach(child; children) {
auto c = child.heightStretchiness;
if(c > max)
max = c;
}
return max;
}
override int marginTop() {
if(this.children.length)
return this.children[0].marginTop;
return 0;
}
+/
}
///
abstract class Layout : Widget {
this(Widget parent) {
tabStop = false;
super(parent);
}
}
/++
Makes all children minimum width and height, placing them down
left to right, top to bottom.
Useful if you want to make a list of buttons that automatically
wrap to a new line when necessary.
+/
class InlineBlockLayout : Layout {
///
this(Widget parent) { super(parent); }
override void recomputeChildLayout() {
registerMovement();
int x = this.paddingLeft, y = this.paddingTop;
int lineHeight;
int previousMargin = 0;
int previousMarginBottom = 0;
foreach(child; children) {
if(child.hidden)
continue;
if(cast(FixedPosition) child) {
child.recomputeChildLayout();
continue;
}
child.width = child.flexBasisWidth();
if(child.width == 0)
child.width = child.minWidth();
if(child.width == 0)
child.width = 32;
child.height = child.flexBasisHeight();
if(child.height == 0)
child.height = child.minHeight();
if(child.height == 0)
child.height = 32;
if(x + child.width + paddingRight > this.width) {
x = this.paddingLeft;
y += lineHeight;
lineHeight = 0;
previousMargin = 0;
previousMarginBottom = 0;
}
auto margin = child.marginLeft;
if(previousMargin > margin)
margin = previousMargin;
x += margin;
child.x = x;
child.y = y;
int marginTopApplied;
if(child.marginTop > previousMarginBottom) {
child.y += child.marginTop;
marginTopApplied = child.marginTop;
}
x += child.width;
previousMargin = child.marginRight;
if(child.marginBottom > previousMarginBottom)
previousMarginBottom = child.marginBottom;
auto h = child.height + previousMarginBottom + marginTopApplied;
if(h > lineHeight)
lineHeight = h;
child.recomputeChildLayout();
}
}
override int minWidth() {
int min;
foreach(child; children) {
auto cm = child.minWidth;
if(cm > min)
min = cm;
}
return min + paddingLeft + paddingRight;
}
override int minHeight() {
int min;
foreach(child; children) {
auto cm = child.minHeight;
if(cm > min)
min = cm;
}
return min + paddingTop + paddingBottom;
}
}
/++
A TabMessageWidget is a clickable row of tabs followed by a content area, very similar
to the [TabWidget]. The difference is the TabMessageWidget only sends messages, whereas
the [TabWidget] will automatically change pages of child widgets.
This allows you to react to it however you see fit rather than having to
be tied to just the new sets of child widgets.
It sends the message in the form of `this.emitCommand!"changetab"();`.
History:
Added December 24, 2021 (dub v10.5)
+/
class TabMessageWidget : Widget {
protected void tabIndexClicked(int item) {
this.emitCommand!"changetab"();
}
/++
Adds the a new tab to the control with the given title.
Returns:
The index of the newly added tab. You will need to know
this index to refer to it later and to know which tab to
change to when you get a changetab message.
+/
int addTab(string title, int pos = int.max) {
version(win32_widgets) {
TCITEM item;
item.mask = TCIF_TEXT;
WCharzBuffer buf = WCharzBuffer(title);
item.pszText = buf.ptr;
return cast(int) SendMessage(hwnd, TCM_INSERTITEM, pos, cast(LPARAM) &item);
} else version(custom_widgets) {
if(pos >= tabs.length) {
tabs ~= title;
redraw();
return cast(int) tabs.length - 1;
} else if(pos <= 0) {
tabs = title ~ tabs;
redraw();
return 0;
} else {
tabs = tabs[0 .. pos] ~ title ~ title[pos .. $];
redraw();
return pos;
}
}
}
override void addChild(Widget child, int pos = int.max) {
if(container)
container.addChild(child, pos);
else
super.addChild(child, pos);
}
protected Widget makeContainer() {
return new Widget(this);
}
private Widget container;
override void recomputeChildLayout() {
version(win32_widgets) {
this.registerMovement();
RECT rect;
GetWindowRect(hwnd, &rect);
auto left = rect.left;
auto top = rect.top;
TabCtrl_AdjustRect(hwnd, false, &rect);
foreach(child; children) {
if(!child.showing) continue;
child.x = rect.left - left;
child.y = rect.top - top;
child.width = rect.right - rect.left;
child.height = rect.bottom - rect.top;
child.recomputeChildLayout();
}
} else version(custom_widgets) {
this.registerMovement();
foreach(child; children) {
if(!child.showing) continue;
child.x = 2;
child.y = tabBarHeight + 2; // for the border
child.width = width - 4; // for the border
child.height = height - tabBarHeight - 2 - 2; // for the border
child.recomputeChildLayout();
}
} else static assert(0);
}
version(custom_widgets)
string[] tabs;
this(Widget parent) {
super(parent);
tabStop = false;
version(win32_widgets) {
createWin32Window(this, WC_TABCONTROL, "", 0);
} else version(custom_widgets) {
addEventListener((ClickEvent event) {
if(event.target !is this && this.container !is null && event.target !is this.container) return;
if(event.clientY < tabBarHeight) {
auto t = (event.clientX / tabWidth);
if(t >= 0 && t < tabs.length) {
currentTab_ = t;
tabIndexClicked(t);
redraw();
}
}
});
} else static assert(0);
this.container = makeContainer();
}
override int marginTop() { return 4; }
override int paddingBottom() { return 4; }
override int minHeight() {
int max = 0;
foreach(child; children)
max = mymax(child.minHeight, max);
version(win32_widgets) {
RECT rect;
rect.right = this.width;
rect.bottom = max;
TabCtrl_AdjustRect(hwnd, true, &rect);
max = rect.bottom;
} else {
max += defaultLineHeight + 4;
}
return max;
}
version(win32_widgets)
override int handleWmNotify(NMHDR* hdr, int code, out int mustReturn) {
switch(code) {
case TCN_SELCHANGE:
auto sel = TabCtrl_GetCurSel(hwnd);
tabIndexClicked(sel);
break;
default:
}
return 0;
}
version(custom_widgets) {
private int currentTab_;
private int tabBarHeight() { return defaultLineHeight; }
int tabWidth = 80;
}
version(win32_widgets)
override void paint(WidgetPainter painter) {}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
draw3dFrame(0, tabBarHeight - 2, width, height - tabBarHeight + 2, painter, FrameStyle.risen, cs.background.color);
int posX = 0;
foreach(idx, title; tabs) {
auto isCurrent = idx == getCurrentTab();
painter.setClipRectangle(Point(posX, 0), tabWidth, tabBarHeight);
draw3dFrame(posX, 0, tabWidth, tabBarHeight, painter, isCurrent ? FrameStyle.risen : FrameStyle.sunk, isCurrent ? cs.windowBackgroundColor : darken(cs.windowBackgroundColor, 0.1));
painter.outlineColor = cs.foregroundColor;
painter.drawText(Point(posX + 4, 2), title, Point(posX + tabWidth, tabBarHeight - 2), TextAlignment.VerticalCenter);
if(isCurrent) {
painter.outlineColor = cs.windowBackgroundColor;
painter.fillColor = Color.transparent;
painter.drawLine(Point(posX + 2, tabBarHeight - 1), Point(posX + tabWidth, tabBarHeight - 1));
painter.drawLine(Point(posX + 2, tabBarHeight - 2), Point(posX + tabWidth, tabBarHeight - 2));
painter.outlineColor = Color.white;
painter.drawPixel(Point(posX + 1, tabBarHeight - 1));
painter.drawPixel(Point(posX + 1, tabBarHeight - 2));
painter.outlineColor = cs.activeTabColor;
painter.drawPixel(Point(posX, tabBarHeight - 1));
}
posX += tabWidth - 2;
}
}
///
@scriptable
void setCurrentTab(int item) {
version(win32_widgets)
TabCtrl_SetCurSel(hwnd, item);
else version(custom_widgets)
currentTab_ = item;
else static assert(0);
tabIndexClicked(item);
}
///
@scriptable
int getCurrentTab() {
version(win32_widgets)
return TabCtrl_GetCurSel(hwnd);
else version(custom_widgets)
return currentTab_; // FIXME
else static assert(0);
}
///
@scriptable
void removeTab(int item) {
if(item && item == getCurrentTab())
setCurrentTab(item - 1);
version(win32_widgets) {
TabCtrl_DeleteItem(hwnd, item);
}
for(int a = item; a < children.length - 1; a++)
this._children[a] = this._children[a + 1];
this._children = this._children[0 .. $-1];
}
}
/++
A tab widget is a set of clickable tab buttons followed by a content area.
Tabs can change existing content or can be new pages.
When the user picks a different tab, a `change` message is generated.
+/
class TabWidget : TabMessageWidget {
this(Widget parent) {
super(parent);
}
override protected Widget makeContainer() {
return null;
}
override void addChild(Widget child, int pos = int.max) {
if(auto twp = cast(TabWidgetPage) child) {
Widget.addChild(child, pos);
if(pos == int.max)
pos = cast(int) this.children.length - 1;
super.addTab(twp.title, pos); // need to bypass the override here which would get into a loop...
if(pos != getCurrentTab) {
child.showing = false;
}
} else {
assert(0, "Don't add children directly to a tab widget, instead add them to a page (see addPage)");
}
}
// FIXME: add tab icons at some point, Windows supports them
/++
Adds a page and its associated tab with the given label to the widget.
Returns:
The added page object, to which you can add other widgets.
+/
@scriptable
TabWidgetPage addPage(string title) {
return new TabWidgetPage(title, this);
}
/++
Gets the page at the given tab index, or `null` if the index is bad.
History:
Added December 24, 2021.
+/
TabWidgetPage getPage(int index) {
if(index < this.children.length)
return null;
return cast(TabWidgetPage) this.children[index];
}
/++
While you can still use the addTab from the parent class,
*strongly* recommend you use [addPage] insteaad.
History:
Added December 24, 2021 to fulful the interface
requirement that came from adding [TabMessageWidget].
You should not use it though since the [addPage] function
is much easier to use here.
+/
override int addTab(string title, int pos = int.max) {
auto p = addPage(title);
foreach(idx, child; this.children)
if(child is p)
return cast(int) idx;
return -1;
}
protected override void tabIndexClicked(int item) {
foreach(idx, child; children) {
child.showing(false, false); // batch the recalculates for the end
}
foreach(idx, child; children) {
if(idx == item) {
child.showing(true, false);
if(parentWindow) {
auto f = parentWindow.getFirstFocusable(child);
if(f)
f.focus();
}
recomputeChildLayout();
}
}
version(win32_widgets) {
InvalidateRect(hwnd, null, true);
} else version(custom_widgets) {
this.redraw();
}
}
}
/++
A page widget is basically a tab widget with hidden tabs. It is also sometimes called a "StackWidget".
You add [TabWidgetPage]s to it.
+/
class PageWidget : Widget {
this(Widget parent) {
super(parent);
}
override int minHeight() {
int max = 0;
foreach(child; children)
max = mymax(child.minHeight, max);
return max;
}
override void addChild(Widget child, int pos = int.max) {
if(auto twp = cast(TabWidgetPage) child) {
super.addChild(child, pos);
if(pos == int.max)
pos = cast(int) this.children.length - 1;
if(pos != getCurrentTab) {
child.showing = false;
}
} else {
assert(0, "Don't add children directly to a page widget, instead add them to a page (see addPage)");
}
}
override void recomputeChildLayout() {
this.registerMovement();
foreach(child; children) {
child.x = 0;
child.y = 0;
child.width = width;
child.height = height;
child.recomputeChildLayout();
}
}
private int currentTab_;
///
@scriptable
void setCurrentTab(int item) {
currentTab_ = item;
showOnly(item);
}
///
@scriptable
int getCurrentTab() {
return currentTab_;
}
///
@scriptable
void removeTab(int item) {
if(item && item == getCurrentTab())
setCurrentTab(item - 1);
for(int a = item; a < children.length - 1; a++)
this._children[a] = this._children[a + 1];
this._children = this._children[0 .. $-1];
}
///
@scriptable
TabWidgetPage addPage(string title) {
return new TabWidgetPage(title, this);
}
private void showOnly(int item) {
foreach(idx, child; children)
if(idx == item) {
child.show();
child.recomputeChildLayout();
} else {
child.hide();
}
}
}
/++
+/
class TabWidgetPage : Widget {
string title;
this(string title, Widget parent) {
this.title = title;
this.tabStop = false;
super(parent);
///*
version(win32_widgets) {
createWin32Window(this, Win32Class!"arsd_minigui_TabWidgetPage"w, "", 0);
}
//*/
}
override int minHeight() {
int sum = 0;
foreach(child; children)
sum += child.minHeight();
return sum;
}
}
version(none)
/++
A collapsable sidebar is a container that shows if its assigned width is greater than its minimum and otherwise shows as a button.
I think I need to modify the layout algorithms to support this.
+/
class CollapsableSidebar : Widget {
}
/// Stacks the widgets vertically, taking all the available width for each child.
class VerticalLayout : Layout {
// most of this is intentionally blank - widget's default is vertical layout right now
///
this(Widget parent) { super(parent); }
/++
Sets a max width for the layout so you don't have to subclass. The max width
is in device-independent pixels, meaning pixels at 96 dpi that are auto-scaled.
History:
Added November 29, 2021 (dub v10.5)
+/
this(int maxWidth, Widget parent) {
this.mw = maxWidth;
super(parent);
}
private int mw = int.max;
override int maxWidth() { return scaleWithDpi(mw); }
}
/// Stacks the widgets horizontally, taking all the available height for each child.
class HorizontalLayout : Layout {
///
this(Widget parent) { super(parent); }
/++
Sets a max height for the layout so you don't have to subclass. The max height
is in device-independent pixels, meaning pixels at 96 dpi that are auto-scaled.
History:
Added November 29, 2021 (dub v10.5)
+/
this(int maxHeight, Widget parent) {
this.mh = maxHeight;
super(parent);
}
private int mh = 0;
override void recomputeChildLayout() {
.recomputeChildLayout!"width"(this);
}
override int minHeight() {
int largest = 0;
int margins = 0;
int lastMargin = 0;
foreach(child; children) {
auto mh = child.minHeight();
if(mh > largest)
largest = mh;
margins += mymax(lastMargin, child.marginTop());
lastMargin = child.marginBottom();
}
return largest + margins;
}
override int maxHeight() {
if(mh != 0)
return mymax(minHeight, scaleWithDpi(mh));
int largest = 0;
int margins = 0;
int lastMargin = 0;
foreach(child; children) {
auto mh = child.maxHeight();
if(mh == int.max)
return int.max;
if(mh > largest)
largest = mh;
margins += mymax(lastMargin, child.marginTop());
lastMargin = child.marginBottom();
}
return largest + margins;
}
override int heightStretchiness() {
int max;
foreach(child; children) {
auto c = child.heightStretchiness;
if(c > max)
max = c;
}
return max;
}
}
version(Windows)
private
extern(Windows)
LRESULT DoubleBufferWndProc(HWND hwnd, UINT message, WPARAM wparam, LPARAM lparam) nothrow {
Widget* pwin = hwnd in Widget.nativeMapping;
if(pwin is null)
return DefWindowProc(hwnd, message, wparam, lparam);
SimpleWindow win = pwin.simpleWindowWrappingHwnd;
if(win is null)
return DefWindowProc(hwnd, message, wparam, lparam);
switch(message) {
case WM_SIZE:
auto width = LOWORD(lparam);
auto height = HIWORD(lparam);
// FIXME: could this be more efficient? it never relinquishes a large bitmap
if(width > win.bmpWidth || height > win.bmpHeight) {
auto hdc = GetDC(hwnd);
auto oldBuffer = win.buffer;
win.buffer = CreateCompatibleBitmap(hdc, width, height);
auto hdcBmp = CreateCompatibleDC(hdc);
auto oldBmp = SelectObject(hdcBmp, win.buffer);
if(oldBuffer) {
auto hdcOldBmp = CreateCompatibleDC(hdc);
auto oldOldBmp = SelectObject(hdcOldBmp, oldBuffer);
BitBlt(hdcBmp, 0, 0, win.bmpWidth, win.bmpHeight, hdcOldBmp, 0, 0, SRCCOPY);
SelectObject(hdcOldBmp, oldOldBmp);
DeleteDC(hdcOldBmp);
}
auto brush = GetSysColorBrush(COLOR_3DFACE);
RECT r;
r.left = win.bmpWidth;
r.top = 0;
r.right = width;
r.bottom = height;
FillRect(hdcBmp, &r, brush);
r.left = 0;
r.top = win.bmpHeight;
r.right = width;
r.bottom = height;
FillRect(hdcBmp, &r, brush);
SelectObject(hdcBmp, oldBmp);
DeleteDC(hdcBmp);
ReleaseDC(hwnd, hdc);
if(oldBuffer)
DeleteObject(oldBuffer);
win.bmpWidth = width;
win.bmpHeight = height;
}
break;
case WM_PAINT:
if(win.buffer is null)
goto default;
BITMAP bm;
PAINTSTRUCT ps;
HDC hdc = BeginPaint(hwnd, &ps);
HDC hdcMem = CreateCompatibleDC(hdc);
HBITMAP hbmOld = SelectObject(hdcMem, win.buffer);
GetObject(win.buffer, bm.sizeof, &bm);
BitBlt(hdc, 0, 0, bm.bmWidth, bm.bmHeight, hdcMem, 0, 0, SRCCOPY);
SelectObject(hdcMem, hbmOld);
DeleteDC(hdcMem);
EndPaint(hwnd, &ps);
break;
default:
return DefWindowProc(hwnd, message, wparam, lparam);
}
return 0;
}
private wstring Win32Class(wstring name)() {
static bool classRegistered;
if(!classRegistered) {
HINSTANCE hInstance = cast(HINSTANCE) GetModuleHandle(null);
WNDCLASSEX wc;
wc.cbSize = wc.sizeof;
wc.hInstance = hInstance;
wc.hbrBackground = cast(HBRUSH) (COLOR_3DFACE+1); // GetStockObject(WHITE_BRUSH);
wc.lpfnWndProc = &DoubleBufferWndProc;
wc.lpszClassName = name.ptr;
if(!RegisterClassExW(&wc))
throw new Exception("RegisterClass ");// ~ to!string(GetLastError()));
classRegistered = true;
}
return name;
}
/+
version(win32_widgets)
extern(Windows)
private
LRESULT CustomDrawWindowProc(HWND hWnd, UINT iMessage, WPARAM wParam, LPARAM lParam) nothrow {
switch(iMessage) {
case WM_PAINT:
if(auto te = hWnd in Widget.nativeMapping) {
try {
//te.redraw();
import std.stdio; writeln(te, " drawing");
} catch(Exception) {}
}
return DefWindowProc(hWnd, iMessage, wParam, lParam);
default:
return DefWindowProc(hWnd, iMessage, wParam, lParam);
}
}
+/
/++
A widget specifically designed to hold other widgets.
History:
Added July 1, 2021
+/
class ContainerWidget : Widget {
this(Widget parent) {
super(parent);
this.tabStop = false;
version(win32_widgets) {
createWin32Window(this, Win32Class!"arsd_minigui_ContainerWidget"w, "", 0);
}
}
}
/++
A widget that takes your widget, puts scroll bars around it, and sends
messages to it when the user scrolls. Unlike [ScrollableWidget], it makes
no effort to automatically scroll or clip its child widgets - it just sends
the messages.
A ScrollMessageWidget notifies you with a [ScrollEvent] that it has changed.
The scroll coordinates are all given in a unit you interpret as you wish. One
of these units is moved on each press of the arrow buttons and represents the
smallest amount the user can scroll. The intention is for this to be one line,
one item in a list, one row in a table, etc. Whatever makes sense for your widget
in each direction that the user might be interested in.
You can set a "page size" with the [step] property. (Yes, I regret the name...)
This is the amount it jumps when the user pressed page up and page down, or clicks
in the exposed part of the scroll bar.
You should add child content to the ScrollMessageWidget. However, it is important to
note that the coordinates are always independent of the scroll position! It is YOUR
responsibility to do any necessary transforms, clipping, etc., while drawing the
content and interpreting mouse events if they are supposed to change with the scroll.
This is in contrast to the (likely to be deprecated) [ScrollableWidget], which tries
to maintain the illusion that there's an infinite space. The [ScrollMessageWidget] gives
you more control (which can be considerably more efficient and adapted to your actual data)
at the expense of you also needing to be aware of its reality.
Please note that it does NOT react to mouse wheel events or various keyboard events as of
version 10.3. Maybe this will change in the future....
+/
class ScrollMessageWidget : Widget {
this(Widget parent) {
super(parent);
container = new Widget(this);
hsb = new HorizontalScrollbar(this);
vsb = new VerticalScrollbar(this);
hsb.addEventListener("scrolltonextline", {
hsb.setPosition(hsb.position + 1);
notify();
});
hsb.addEventListener("scrolltopreviousline", {
hsb.setPosition(hsb.position - 1);
notify();
});
vsb.addEventListener("scrolltonextline", {
vsb.setPosition(vsb.position + 1);
notify();
});
vsb.addEventListener("scrolltopreviousline", {
vsb.setPosition(vsb.position - 1);
notify();
});
hsb.addEventListener("scrolltonextpage", {
hsb.setPosition(hsb.position + hsb.step_);
notify();
});
hsb.addEventListener("scrolltopreviouspage", {
hsb.setPosition(hsb.position - hsb.step_);
notify();
});
vsb.addEventListener("scrolltonextpage", {
vsb.setPosition(vsb.position + vsb.step_);
notify();
});
vsb.addEventListener("scrolltopreviouspage", {
vsb.setPosition(vsb.position - vsb.step_);
notify();
});
hsb.addEventListener("scrolltoposition", (Event event) {
hsb.setPosition(event.intValue);
notify();
});
vsb.addEventListener("scrolltoposition", (Event event) {
vsb.setPosition(event.intValue);
notify();
});
tabStop = false;
container.tabStop = false;
magic = true;
}
/++
Add default event listeners for keyboard and mouse wheel scrolling shortcuts.
The defaults for [addDefaultWheelListeners] are:
$(LIST
* Mouse wheel scrolls vertically
* Alt key + mouse wheel scrolls horiontally
* Shift + mouse wheel scrolls faster.
* Any mouse click or wheel event will focus the inner widget if it has `tabStop = true`
)
The defaults for [addDefaultKeyboardListeners] are:
$(LIST
* Arrow keys scroll by the given amounts
* Shift+arrow keys scroll by the given amounts times the given shiftMultiplier
* Page up and down scroll by the vertical viewable area
* Home and end scroll to the start and end of the verticle viewable area.
* Alt + page up / page down / home / end will horizonally scroll instead of vertical.
)
My recommendation is to change the scroll amounts if you are scrolling by pixels, but otherwise keep them at one line.
Params:
horizontalArrowScrollAmount =
verticalArrowScrollAmount =
verticalWheelScrollAmount = how much should be scrolled vertically on each tick of the mouse wheel
horizontalWheelScrollAmount = how much should be scrolled horizontally when alt is held on each tick of the mouse wheel
shiftMultiplier = multiplies the scroll amount by this when shift is held
+/
void addDefaultKeyboardListeners(int verticalArrowScrollAmount = 1, int horizontalArrowScrollAmount = 1, int shiftMultiplier = 3) {
auto _this = this;
container.addEventListener((scope KeyDownEvent ke) {
switch(ke.key) {
case Key.Left:
_this.scrollLeft(horizontalArrowScrollAmount * (ke.shiftKey ? shiftMultiplier : 1));
break;
case Key.Right:
_this.scrollRight(horizontalArrowScrollAmount * (ke.shiftKey ? shiftMultiplier : 1));
break;
case Key.Up:
_this.scrollUp(verticalArrowScrollAmount * (ke.shiftKey ? shiftMultiplier : 1));
break;
case Key.Down:
_this.scrollDown(verticalArrowScrollAmount * (ke.shiftKey ? shiftMultiplier : 1));
break;
case Key.PageUp:
if(ke.altKey)
_this.scrollLeft(_this.vsb.viewableArea_ * (ke.shiftKey ? shiftMultiplier : 1));
else
_this.scrollUp(_this.vsb.viewableArea_ * (ke.shiftKey ? shiftMultiplier : 1));
break;
case Key.PageDown:
if(ke.altKey)
_this.scrollRight(_this.vsb.viewableArea_ * (ke.shiftKey ? shiftMultiplier : 1));
else
_this.scrollDown(_this.vsb.viewableArea_ * (ke.shiftKey ? shiftMultiplier : 1));
break;
case Key.Home:
if(ke.altKey)
_this.scrollLeft(short.max * 16);
else
_this.scrollUp(short.max * 16);
break;
case Key.End:
if(ke.altKey)
_this.scrollRight(short.max * 16);
else
_this.scrollDown(short.max * 16);
break;
default:
// ignore, not for us.
}
});
}
/// ditto
void addDefaultWheelListeners(int verticalWheelScrollAmount = 1, int horizontalWheelScrollAmount = 1, int shiftMultiplier = 3) {
auto _this = this;
container.addEventListener((scope ClickEvent ce) {
if(ce.target && ce.target.tabStop)
ce.target.focus();
// ctrl is reserved for the application
if(ce.ctrlKey)
return;
if(horizontalWheelScrollAmount == 0 && ce.altKey)
return;
if(shiftMultiplier == 0 && ce.shiftKey)
return;
if(ce.button == MouseButton.wheelDown) {
if(ce.altKey)
_this.scrollRight(horizontalWheelScrollAmount * (ce.shiftKey ? shiftMultiplier : 1));
else
_this.scrollDown(verticalWheelScrollAmount * (ce.shiftKey ? shiftMultiplier : 1));
} else if(ce.button == MouseButton.wheelUp) {
if(ce.altKey)
_this.scrollLeft(horizontalWheelScrollAmount * (ce.shiftKey ? shiftMultiplier : 1));
else
_this.scrollUp(verticalWheelScrollAmount * (ce.shiftKey ? shiftMultiplier : 1));
}
});
}
/++
Scrolls the given amount.
History:
The scroll up and down functions was here in the initial release of the class, but the `amount` parameter and left/right functions were added on September 28, 2021.
+/
void scrollUp(int amount = 1) {
vsb.setPosition(vsb.position - amount);
notify();
}
/// ditto
void scrollDown(int amount = 1) {
vsb.setPosition(vsb.position + amount);
notify();
}
/// ditto
void scrollLeft(int amount = 1) {
hsb.setPosition(hsb.position - amount);
notify();
}
/// ditto
void scrollRight(int amount = 1) {
hsb.setPosition(hsb.position + amount);
notify();
}
///
VerticalScrollbar verticalScrollBar() { return vsb; }
///
HorizontalScrollbar horizontalScrollBar() { return hsb; }
void notify() {
static bool insideNotify;
if(insideNotify)
return; // avoid the recursive call, even if it isn't strictly correct
insideNotify = true;
scope(exit) insideNotify = false;
this.emit!ScrollEvent();
}
mixin Emits!ScrollEvent;
///
Point position() {
return Point(hsb.position, vsb.position);
}
///
void setPosition(int x, int y) {
hsb.setPosition(x);
vsb.setPosition(y);
}
///
void setPageSize(int unitsX, int unitsY) {
hsb.setStep(unitsX);
vsb.setStep(unitsY);
}
///
void setTotalArea(int width, int height) {
hsb.setMax(width);
vsb.setMax(height);
}
/// Always set the viewable area AFTER setitng the total area if you are going to change both.
/// NEVER call this from inside a scroll event. This includes through recomputeChildLayout.
/// If you need to do that, use [queueRecomputeChildLayout].
void setViewableArea(int width, int height) {
// actually there IS A need to dothis cuz the max might have changed since then
//if(width == hsb.viewableArea_ && height == vsb.viewableArea_)
//return; // no need to do what is already done
hsb.setViewableArea(width);
vsb.setViewableArea(height);
bool needsNotify = false;
// FIXME: if at any point the rhs is outside the scrollbar, we need
// to reset to 0. but it should remember the old position in case the
// window resizes again, so it can kinda return ot where it was.
//
// so there's an inner position and a exposed position. the exposed one is always in bounds and thus may be (0,0)
if(width >= hsb.max) {
// there's plenty of room to display it all so we need to reset to zero
// FIXME: adjust so it matches the note above
hsb.setPosition(0);
needsNotify = true;
}
if(height >= vsb.max) {
// there's plenty of room to display it all so we need to reset to zero
// FIXME: adjust so it matches the note above
vsb.setPosition(0);
needsNotify = true;
}
if(needsNotify)
notify();
}
private bool magic;
override void addChild(Widget w, int position = int.max) {
if(magic)
container.addChild(w, position);
else
super.addChild(w, position);
}
override void recomputeChildLayout() {
if(hsb is null || vsb is null || container is null) return;
registerMovement();
hsb.height = scaleWithDpi(16); // FIXME? are tese 16s sane?
hsb.x = 0;
hsb.y = this.height - hsb.height;
hsb.width = this.width - scaleWithDpi(16);
hsb.recomputeChildLayout();
vsb.width = scaleWithDpi(16); // FIXME?
vsb.x = this.width - vsb.width;
vsb.y = 0;
vsb.height = this.height - scaleWithDpi(16);
vsb.recomputeChildLayout();
if(this.header is null) {
container.x = 0;
container.y = 0;
container.width = this.width - vsb.width;
container.height = this.height - hsb.height;
container.recomputeChildLayout();
} else {
header.x = 0;
header.y = 0;
header.width = this.width - vsb.width;
header.height = scaleWithDpi(16); // size of the button
header.recomputeChildLayout();
container.x = 0;
container.y = scaleWithDpi(16);
container.width = this.width - vsb.width;
container.height = this.height - hsb.height - scaleWithDpi(16);
container.recomputeChildLayout();
}
}
HorizontalScrollbar hsb;
VerticalScrollbar vsb;
Widget container;
private Widget header;
/++
Adds a fixed-size "header" widget. This will be positioned to align with the scroll up button.
History:
Added September 27, 2021 (dub v10.3)
+/
Widget getHeader() {
if(this.header is null) {
magic = false;
scope(exit) magic = true;
this.header = new Widget(this);
recomputeChildLayout();
}
return this.header;
}
}
/++
$(IMG //arsdnet.net/minigui-screenshots/windows/ScrollMessageWidget.png, A box saying "baby will" with three round buttons inside it for the options of "eat", "cry", and "sleep")
$(IMG //arsdnet.net/minigui-screenshots/linux/ScrollMessageWidget.png, Same thing, but in the default Linux theme.)
+/
version(minigui_screenshots)
@Screenshot("ScrollMessageWidget")
unittest {
auto window = new Window("ScrollMessageWidget");
auto smw = new ScrollMessageWidget(window);
smw.addDefaultKeyboardListeners();
smw.addDefaultWheelListeners();
window.loop();
}
/++
Bypasses automatic layout for its children, using manual positioning and sizing only.
While you need to manually position them, you must ensure they are inside the StaticLayout's
bounding box to avoid undefined behavior.
You should almost never use this.
+/
class StaticLayout : Layout {
///
this(Widget parent) { super(parent); }
override void recomputeChildLayout() {
registerMovement();
foreach(child; children)
child.recomputeChildLayout();
}
}
/++
Bypasses automatic positioning when being laid out. It is your responsibility to make
room for this widget in the parent layout.
Its children are laid out normally, unless there is exactly one, in which case it takes
on the full size of the `StaticPosition` object (if you plan to put stuff on the edge, you
can do that with `padding`).
+/
class StaticPosition : Layout {
///
this(Widget parent) { super(parent); }
override void recomputeChildLayout() {
registerMovement();
if(this.children.length == 1) {
auto child = children[0];
child.x = 0;
child.y = 0;
child.width = this.width;
child.height = this.height;
child.recomputeChildLayout();
} else
foreach(child; children)
child.recomputeChildLayout();
}
alias width = typeof(super).width;
alias height = typeof(super).height;
@property int width(int w) @nogc pure @safe nothrow {
return this._width = w;
}
@property int height(int w) @nogc pure @safe nothrow {
return this._height = w;
}
}
/++
FixedPosition is like [StaticPosition], but its coordinates
are always relative to the viewport, meaning they do not scroll with
the parent content.
+/
class FixedPosition : StaticPosition {
///
this(Widget parent) { super(parent); }
}
version(win32_widgets)
int processWmCommand(HWND parentWindow, HWND handle, ushort cmd, ushort idm) {
if(true) {
// cmd == 0 = menu, cmd == 1 = accelerator
if(auto item = idm in Action.mapping) {
foreach(handler; (*item).triggered)
handler();
/*
auto event = new Event("triggered", *item);
event.button = idm;
event.dispatch();
*/
return 0;
}
}
if(handle)
if(auto widgetp = handle in Widget.nativeMapping) {
(*widgetp).handleWmCommand(cmd, idm);
return 0;
}
return 1;
}
///
class Window : Widget {
int mouseCaptureCount = 0;
Widget mouseCapturedBy;
void captureMouse(Widget byWhom) {
assert(mouseCapturedBy is null || byWhom is mouseCapturedBy);
mouseCaptureCount++;
mouseCapturedBy = byWhom;
win.grabInput();
}
void releaseMouseCapture() {
mouseCaptureCount--;
mouseCapturedBy = null;
win.releaseInputGrab();
}
/++
Sets the window icon which is often seen in title bars and taskbars.
History:
Added April 5, 2022 (dub v10.8)
+/
@property void icon(MemoryImage icon) {
if(win && icon)
win.icon = icon;
}
///
@scriptable
@property bool focused() {
return win.focused;
}
static class Style : Widget.Style {
override WidgetBackground background() {
version(custom_widgets)
return WidgetBackground(WidgetPainter.visualTheme.windowBackgroundColor);
else version(win32_widgets)
return WidgetBackground(Color.transparent);
else static assert(0);
}
}
mixin OverrideStyle!Style;
/++
Gives the height of a line according to the default font. You should try to use your computed font instead of this, but until May 8, 2021, this was the only real option.
+/
static int lineHeight() {
OperatingSystemFont font;
if(auto vt = WidgetPainter.visualTheme) {
font = vt.defaultFontCached();
}
if(font is null) {
static int defaultHeightCache;
if(defaultHeightCache == 0) {
font = new OperatingSystemFont;
font.loadDefault;
defaultHeightCache = font.height() * 5 / 4;
}
return defaultHeightCache;
}
return font.height() * 5 / 4;
}
Widget focusedWidget;
private SimpleWindow win_;
@property {
/++
Provides access to the underlying [SimpleWindow]. Note that changing properties on this window may disconnect minigui's event dispatchers.
History:
Prior to June 21, 2021, it was a public (but undocumented) member. Now it a semi-protected property.
+/
public SimpleWindow win() {
return win_;
}
///
protected void win(SimpleWindow w) {
win_ = w;
}
}
/// YOU ALMOST CERTAINLY SHOULD NOT USE THIS. This is really only for special purposes like pseudowindows or popup windows doing their own thing.
this(Widget p) {
tabStop = false;
super(p);
}
private void actualRedraw() {
if(recomputeChildLayoutRequired)
recomputeChildLayoutEntry();
if(!showing) return;
assert(parentWindow !is null);
auto w = drawableWindow;
if(w is null)
w = parentWindow.win;
if(w.closed())
return;
auto ugh = this.parent;
int lox, loy;
while(ugh) {
lox += ugh.x;
loy += ugh.y;
ugh = ugh.parent;
}
auto painter = w.draw(true);
privatePaint(WidgetPainter(painter, this), lox, loy, Rectangle(0, 0, int.max, int.max), false, willDraw());
// RedrawWindow(hwnd, null, null, RDW_ERASE | RDW_INVALIDATE | RDW_ALLCHILDREN);
}
private bool skipNextChar = false;
/++
Creates a window from an existing [SimpleWindow]. This constructor attaches various event handlers to the SimpleWindow object which may overwrite your existing handlers.
This constructor is intended primarily for internal use and may be changed to `protected` later.
+/
this(SimpleWindow win) {
static if(UsingSimpledisplayX11) {
win.discardAdditionalConnectionState = &discardXConnectionState;
win.recreateAdditionalConnectionState = &recreateXConnectionState;
}
tabStop = false;
super(null);
this.win = win;
win.addEventListener((Widget.RedrawEvent) {
if(win.eventQueued!RecomputeEvent) {
// import std.stdio; writeln("skipping");
return; // let the recompute event do the actual redraw
}
this.actualRedraw();
});
win.addEventListener((Widget.RecomputeEvent) {
recomputeChildLayoutEntry();
if(win.eventQueued!RedrawEvent)
return; // let the queued one do it
else {
// import std.stdio; writeln("drawing");
this.actualRedraw(); // if not queued, it needs to be done now anyway
}
});
this.width = win.width;
this.height = win.height;
this.parentWindow = this;
win.closeQuery = () {
if(this.emit!ClosingEvent())
win.close();
};
win.onClosing = () {
this.emit!ClosedEvent();
};
win.windowResized = (int w, int h) {
this.width = w;
this.height = h;
recomputeChildLayout();
// this causes a HUGE performance problem for no apparent benefit, hence the commenting
//version(win32_widgets)
//InvalidateRect(hwnd, null, true);
redraw();
};
win.onFocusChange = (bool getting) {
if(this.focusedWidget) {
if(getting) {
this.focusedWidget.emit!FocusEvent();
this.focusedWidget.emit!FocusInEvent();
} else {
this.focusedWidget.emit!BlurEvent();
this.focusedWidget.emit!FocusOutEvent();
}
}
if(getting) {
this.emit!FocusEvent();
this.emit!FocusInEvent();
} else {
this.emit!BlurEvent();
this.emit!FocusOutEvent();
}
};
win.onDpiChanged = {
this.queueRecomputeChildLayout();
auto event = new DpiChangedEvent(this);
event.sendDirectly();
privateDpiChanged();
};
win.setEventHandlers(
(MouseEvent e) {
dispatchMouseEvent(e);
},
(KeyEvent e) {
//import std.stdio;
//writefln("%x %s", cast(uint) e.key, e.key);
dispatchKeyEvent(e);
},
(dchar e) {
if(e == 13) e = 10; // hack?
if(e == 127) return; // linux sends this, windows doesn't. we don't want it.
dispatchCharEvent(e);
},
);
addEventListener("char", (Widget, Event ev) {
if(skipNextChar) {
ev.preventDefault();
skipNextChar = false;
}
});
version(win32_widgets)
win.handleNativeEvent = delegate int(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam, out int mustReturn) {
if(hwnd !is this.win.impl.hwnd)
return 1; // we don't care... pass it on
auto ret = WindowProcedureHelper(this, hwnd, msg, wParam, lParam, mustReturn);
if(mustReturn)
return ret;
return 1; // pass it on
};
if(Window.newWindowCreated)
Window.newWindowCreated(this);
}
private static void delegate(Window) newWindowCreated;
version(win32_widgets)
override void paint(WidgetPainter painter) {
/*
RECT rect;
rect.right = this.width;
rect.bottom = this.height;
DrawThemeBackground(theme, painter.impl.hdc, 4, 1, &rect, null);
*/
// 3dface is used as window backgrounds by Windows too, so that's why I'm using it here
auto b = SelectObject(painter.impl.hdc, GetSysColorBrush(COLOR_3DFACE));
auto p = SelectObject(painter.impl.hdc, GetStockObject(NULL_PEN));
// since the pen is null, to fill the whole space, we need the +1 on both.
gdi.Rectangle(painter.impl.hdc, 0, 0, this.width + 1, this.height + 1);
SelectObject(painter.impl.hdc, p);
SelectObject(painter.impl.hdc, b);
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
painter.fillColor = cs.windowBackgroundColor;
painter.outlineColor = cs.windowBackgroundColor;
painter.drawRectangle(Point(0, 0), this.width, this.height);
}
override void defaultEventHandler_keydown(KeyDownEvent event) {
Widget _this = event.target;
if(event.key == Key.Tab) {
/* Window tab ordering is a recursive thingy with each group */
// FIXME inefficient
Widget[] helper(Widget p) {
if(p.hidden)
return null;
Widget[] childOrdering;
auto children = p.children.dup;
while(true) {
// UIs should be generally small, so gonna brute force it a little
// note that it must be a stable sort here; if all are index 0, it should be in order of declaration
Widget smallestTab;
foreach(ref c; children) {
if(c is null) continue;
if(smallestTab is null || c.tabOrder < smallestTab.tabOrder) {
smallestTab = c;
c = null;
}
}
if(smallestTab !is null) {
if(smallestTab.tabStop && !smallestTab.hidden)
childOrdering ~= smallestTab;
if(!smallestTab.hidden)
childOrdering ~= helper(smallestTab);
} else
break;
}
return childOrdering;
}
Widget[] tabOrdering = helper(this);
Widget recipient;
if(tabOrdering.length) {
bool seenThis = false;
Widget previous;
foreach(idx, child; tabOrdering) {
if(child is focusedWidget) {
if(event.shiftKey) {
if(idx == 0)
recipient = tabOrdering[$-1];
else
recipient = tabOrdering[idx - 1];
break;
}
seenThis = true;
if(idx + 1 == tabOrdering.length) {
// we're at the end, either move to the next group
// or start back over
recipient = tabOrdering[0];
}
continue;
}
if(seenThis) {
recipient = child;
break;
}
previous = child;
}
}
if(recipient !is null) {
// import std.stdio; writeln(typeid(recipient));
recipient.focus();
skipNextChar = true;
}
}
debug if(event.key == Key.F12) {
if(devTools) {
devTools.close();
devTools = null;
} else {
devTools = new DevToolWindow(this);
devTools.show();
}
}
}
debug DevToolWindow devTools;
/++
Creates a window. Please note windows are created in a hidden state, so you must call [show] or [loop] to get it to display.
History:
Prior to May 12, 2021, the default title was "D Application" (simpledisplay.d's default). After that, the default is `Runtime.args[0]` instead.
The width and height arguments were added to the overload that takes `string` first on June 21, 2021.
+/
this(int width = 500, int height = 500, string title = null) {
if(title is null) {
import core.runtime;
if(Runtime.args.length)
title = Runtime.args[0];
}
win = new SimpleWindow(width, height, title, OpenGlOptions.no, Resizability.allowResizing, WindowTypes.normal, WindowFlags.dontAutoShow | WindowFlags.managesChildWindowFocus);
/+
// for input proxy
auto display = XDisplayConnection.get;
auto inputProxy = XCreateSimpleWindow(display, win.window, -1, -1, 1, 1, 0, 0, 0);
XSelectInput(display, inputProxy, EventMask.KeyPressMask | EventMask.KeyReleaseMask);
XMapWindow(display, inputProxy);
import std.stdio; writefln("input proxy: 0x%0x", inputProxy);
this.inputProxy = new SimpleWindow(inputProxy);
XEvent lastEvent;
this.inputProxy.handleNativeEvent = (XEvent ev) {
lastEvent = ev;
return 1;
};
this.inputProxy.setEventHandlers(
(MouseEvent e) {
dispatchMouseEvent(e);
},
(KeyEvent e) {
//import std.stdio;
//writefln("%x %s", cast(uint) e.key, e.key);
if(dispatchKeyEvent(e)) {
// FIXME: i should trap error
if(auto nw = cast(NestedChildWindowWidget) focusedWidget) {
auto thing = nw.focusableWindow();
if(thing && thing.window) {
import std.stdio; writeln("sending event ", lastEvent.xkey);
XSendEvent(XDisplayConnection.get, thing.window, false, 0, &lastEvent);
}
}
}
},
(dchar e) {
if(e == 13) e = 10; // hack?
if(e == 127) return; // linux sends this, windows doesn't. we don't want it.
dispatchCharEvent(e);
},
);
// done
+/
win.setRequestedInputFocus = &this.setRequestedInputFocus;
this(win);
}
SimpleWindow inputProxy;
private SimpleWindow setRequestedInputFocus() {
// return inputProxy;
if(auto fw = cast(NestedChildWindowWidget) focusedWidget) {
// sdpyPrintDebugString("heaven");
return fw.focusableWindow;
}
return win;
}
/// ditto
this(string title, int width = 500, int height = 500) {
this(width, height, title);
}
///
@scriptable
void close() {
win.close();
// I synchronize here upon window closing to ensure all child windows
// get updated too before the event loop. This avoids some random X errors.
static if(UsingSimpledisplayX11) {
runInGuiThread( {
XSync(XDisplayConnection.get, false);
});
}
}
bool dispatchKeyEvent(KeyEvent ev) {
auto wid = focusedWidget;
if(wid is null)
wid = this;
KeyEventBase event = ev.pressed ? new KeyDownEvent(wid) : new KeyUpEvent(wid);
event.originalKeyEvent = ev;
event.key = ev.key;
event.state = ev.modifierState;
event.shiftKey = (ev.modifierState & ModifierState.shift) ? true : false;
event.altKey = (ev.modifierState & ModifierState.alt) ? true : false;
event.ctrlKey = (ev.modifierState & ModifierState.ctrl) ? true : false;
event.dispatch();
return !event.defaultPrevented;
}
bool dispatchCharEvent(dchar ch) {
if(focusedWidget) {
auto event = new CharEvent(focusedWidget, ch);
event.dispatch();
return !event.defaultPrevented;
}
return true;
}
Widget mouseLastOver;
Widget mouseLastDownOn;
bool lastWasDoubleClick;
bool dispatchMouseEvent(MouseEvent ev) {
auto eleR = widgetAtPoint(this, ev.x, ev.y);
auto ele = eleR.widget;
auto captureEle = ele;
if(mouseCapturedBy !is null) {
if(ele !is mouseCapturedBy && !mouseCapturedBy.isAParentOf(ele))
captureEle = mouseCapturedBy;
}
// a hack to get it relative to the widget.
eleR.x = ev.x;
eleR.y = ev.y;
auto pain = captureEle;
while(pain) {
eleR.x -= pain.x;
eleR.y -= pain.y;
pain.addScrollPosition(eleR.x, eleR.y);
pain = pain.parent;
}
void populateMouseEventBase(MouseEventBase event) {
event.button = ev.button;
event.buttonLinear = ev.buttonLinear;
event.state = ev.modifierState;
event.clientX = eleR.x;
event.clientY = eleR.y;
event.shiftKey = (ev.modifierState & ModifierState.shift) ? true : false;
event.altKey = (ev.modifierState & ModifierState.alt) ? true : false;
event.ctrlKey = (ev.modifierState & ModifierState.ctrl) ? true : false;
}
if(ev.type == MouseEventType.buttonPressed) {
{
auto event = new MouseDownEvent(captureEle);
populateMouseEventBase(event);
event.dispatch();
}
if(ev.button != MouseButton.wheelDown && ev.button != MouseButton.wheelUp && mouseLastDownOn is ele && ev.doubleClick) {
auto event = new DoubleClickEvent(captureEle);
populateMouseEventBase(event);
event.dispatch();
lastWasDoubleClick = ev.doubleClick;
} else {
lastWasDoubleClick = false;
}
mouseLastDownOn = ele;
} else if(ev.type == MouseEventType.buttonReleased) {
{
auto event = new MouseUpEvent(captureEle);
populateMouseEventBase(event);
event.dispatch();
}
if(!lastWasDoubleClick && mouseLastDownOn is ele) {
auto event = new ClickEvent(captureEle);
populateMouseEventBase(event);
event.dispatch();
}
} else if(ev.type == MouseEventType.motion) {
// motion
{
auto event = new MouseMoveEvent(captureEle);
populateMouseEventBase(event); // fills in button which is meaningless but meh
event.dispatch();
}
if(mouseLastOver !is ele) {
if(ele !is null) {
if(!isAParentOf(ele, mouseLastOver)) {
ele.setDynamicState(DynamicState.hover, true);
auto event = new MouseEnterEvent(ele);
event.relatedTarget = mouseLastOver;
event.sendDirectly();
ele.useStyleProperties((scope Widget.Style s) {
ele.parentWindow.win.cursor = s.cursor;
});
}
}
if(mouseLastOver !is null) {
if(!isAParentOf(mouseLastOver, ele)) {
mouseLastOver.setDynamicState(DynamicState.hover, false);
auto event = new MouseLeaveEvent(mouseLastOver);
event.relatedTarget = ele;
event.sendDirectly();
}
}
if(ele !is null) {
auto event = new MouseOverEvent(ele);
event.relatedTarget = mouseLastOver;
event.dispatch();
}
if(mouseLastOver !is null) {
auto event = new MouseOutEvent(mouseLastOver);
event.relatedTarget = ele;
event.dispatch();
}
mouseLastOver = ele;
}
}
return true; // FIXME: the event default prevented?
}
/++
Shows the window and runs the application event loop.
Blocks until this window is closed.
History:
The [BlockingMode] parameter was added on December 8, 2021.
The default behavior is to block until the application quits
(so all windows have been closed), unless another minigui or
simpledisplay event loop is already running, in which case it
will block until this window closes specifically.
+/
@scriptable
void loop(BlockingMode bm = BlockingMode.automatic) {
if(win.closed)
return; // otherwise show will throw
show();
win.eventLoopWithBlockingMode(bm, 0);
}
private bool firstShow = true;
@scriptable
override void show() {
bool rd = false;
if(firstShow) {
firstShow = false;
recomputeChildLayout();
auto f = getFirstFocusable(this); // FIXME: autofocus?
if(f)
f.focus();
redraw();
}
win.show();
super.show();
}
@scriptable
override void hide() {
win.hide();
super.hide();
}
static Widget getFirstFocusable(Widget start) {
if(start.tabStop && !start.hidden)
return start;
if(!start.hidden)
foreach(child; start.children) {
auto f = getFirstFocusable(child);
if(f !is null)
return f;
}
return null;
}
mixin Emits!ClosingEvent;
mixin Emits!ClosedEvent;
}
/++
History:
Added January 12, 2022
+/
class DpiChangedEvent : Event {
enum EventString = "dpichanged";
this(Widget target) {
super(EventString, target);
}
}
debug private class DevToolWindow : Window {
Window p;
TextEdit parentList;
TextEdit logWindow;
TextLabel clickX, clickY;
this(Window p) {
this.p = p;
super(400, 300, "Developer Toolbox");
logWindow = new TextEdit(this);
parentList = new TextEdit(this);
auto hl = new HorizontalLayout(this);
clickX = new TextLabel("", TextAlignment.Right, hl);
clickY = new TextLabel("", TextAlignment.Right, hl);
parentListeners ~= p.addEventListener("*", (Event ev) {
log(typeid(ev.source).name, " emitted ", typeid(ev).name);
});
parentListeners ~= p.addEventListener((ClickEvent ev) {
auto s = ev.srcElement;
string list = s.toString();
s = s.parent;
while(s) {
list ~= "\n";
list ~= s.toString();
s = s.parent;
}
parentList.content = list;
clickX.label = toInternal!string(ev.clientX);
clickY.label = toInternal!string(ev.clientY);
});
}
EventListener[] parentListeners;
override void close() {
assert(p !is null);
foreach(p; parentListeners)
p.disconnect();
parentListeners = null;
p.devTools = null;
p = null;
super.close();
}
override void defaultEventHandler_keydown(KeyDownEvent ev) {
if(ev.key == Key.F12) {
this.close();
if(p)
p.devTools = null;
} else {
super.defaultEventHandler_keydown(ev);
}
}
void log(T...)(T t) {
string str;
import std.conv;
foreach(i; t)
str ~= to!string(i);
str ~= "\n";
logWindow.addText(str);
version(custom_widgets)
logWindow.ensureVisibleInScroll(logWindow.textLayout.caretBoundingBox());
}
}
/++
A dialog is a transient window that intends to get information from
the user before being dismissed.
+/
abstract class Dialog : Window {
///
this(int width, int height, string title = null) {
super(width, height, title);
}
///
abstract void OK();
///
void Cancel() {
this.close();
}
}
/++
A custom widget similar to the HTML5 <details> tag.
+/
version(none)
class DetailsView : Widget {
}
// FIXME: maybe i should expose the other list views Windows offers too
/++
A TableView is a widget made to display a table of data strings.
Future_Directions:
Each item should be able to take an icon too and maybe I'll allow more of the view modes Windows offers.
I will add a selection changed event at some point, as well as item clicked events.
History:
Added September 24, 2021. Initial api stabilized in dub v10.4, but it isn't completely feature complete yet.
See_Also:
[ListWidget] which displays a list of strings without additional columns.
+/
class TableView : Widget {
/++
+/
this(Widget parent) {
super(parent);
version(win32_widgets) {
createWin32Window(this, WC_LISTVIEW, "", LVS_REPORT | LVS_OWNERDATA);//| LVS_OWNERDRAWFIXED);
} else version(custom_widgets) {
auto smw = new ScrollMessageWidget(this);
smw.addDefaultKeyboardListeners();
smw.addDefaultWheelListeners(1, scaleWithDpi(16));
tvwi = new TableViewWidgetInner(this, smw);
}
}
// FIXME: auto-size columns on double click of header thing like in Windows
// it need only make the currently displayed things fit well.
private ColumnInfo[] columns;
private int itemCount;
version(custom_widgets) private {
TableViewWidgetInner tvwi;
}
/// Passed to [setColumnInfo]
static struct ColumnInfo {
const(char)[] name; /// the name displayed in the header
/++
The default width, in pixels. As a special case, you can set this to -1
if you want the system to try to automatically size the width to fit visible
content. If it can't, it will try to pick a sensible default size.
Any other negative value is not allowed and may lead to unpredictable results.
History:
The -1 behavior was specified on December 3, 2021. It actually worked before
anyway on Win32 but now it is a formal feature with partial Linux support.
Bugs:
It doesn't actually attempt to calculate a best-fit width on Linux as of
December 3, 2021. I do plan to fix this in the future, but Windows is the
priority right now. At least it doesn't break things when you use it now.
+/
int width;
/++
Alignment of the text in the cell. Applies to the header as well as all data in this
column.
Bugs:
On Windows, the first column ignores this member and is always left aligned.
You can work around this by inserting a dummy first column with width = 0
then putting your actual data in the second column, which does respect the
alignment.
This is a quirk of the operating system's implementation going back a very
long time and is unlikely to ever be fixed.
+/
TextAlignment alignment;
/++
After all the pixel widths have been assigned, any left over
space is divided up among all columns and distributed to according
to the widthPercent field.
For example, if you have two fields, both with width 50 and one with
widthPercent of 25 and the other with widthPercent of 75, and the
container is 200 pixels wide, first both get their width of 50.
then the 100 remaining pixels are split up, so the one gets a total
of 75 pixels and the other gets a total of 125.
This is automatically applied as the window is resized.
If there is not enough space - that is, when a horizontal scrollbar
needs to appear - there are 0 pixels divided up, and thus everyone
gets 0. This can cause a column to shrink out of proportion when
passing the scroll threshold.
It is important to still set a fixed width (that is, to populate the
`width` field) even if you use the percents because that will be the
default minimum in the event of a scroll bar appearing.
The percents total in the column can never exceed 100 or be less than 0.
Doing this will trigger an assert error.
Implementation note:
Please note that percentages are only recalculated 1) upon original
construction and 2) upon resizing the control. If the user adjusts the
width of a column, the percentage items will not be updated.
On the other hand, if the user adjusts the width of a percentage column
then resizes the window, it is recalculated, meaning their hand adjustment
is discarded. This specific behavior may change in the future as it is
arguably a bug, but I'm not certain yet.
History:
Added November 10, 2021 (dub v10.4)
+/
int widthPercent;
private int calculatedWidth;
}
/++
Sets the number of columns along with information about the headers.
Please note: on Windows, the first column ignores your alignment preference
and is always left aligned.
+/
void setColumnInfo(ColumnInfo[] columns...) {
foreach(ref c; columns) {
c.name = c.name.idup;
}
this.columns = columns.dup;
updateCalculatedWidth(false);
version(custom_widgets) {
tvwi.header.updateHeaders();
tvwi.updateScrolls();
} else version(win32_widgets)
foreach(i, column; this.columns) {
LVCOLUMN lvColumn;
lvColumn.mask = LVCF_FMT | LVCF_WIDTH | LVCF_TEXT | LVCF_SUBITEM;
lvColumn.cx = column.width == -1 ? -1 : column.calculatedWidth;
auto bfr = WCharzBuffer(column.name);
lvColumn.pszText = bfr.ptr;
if(column.alignment & TextAlignment.Center)
lvColumn.fmt = LVCFMT_CENTER;
else if(column.alignment & TextAlignment.Right)
lvColumn.fmt = LVCFMT_RIGHT;
else
lvColumn.fmt = LVCFMT_LEFT;
if(SendMessage(hwnd, LVM_INSERTCOLUMN, cast(WPARAM) i, cast(LPARAM) &lvColumn) == -1)
throw new WindowsApiException("Insert Column Fail");
}
}
private int getActualSetSize(size_t i, bool askWindows) {
version(win32_widgets)
if(askWindows)
return cast(int) SendMessage(hwnd, LVM_GETCOLUMNWIDTH, cast(WPARAM) i, 0);
auto w = columns[i].width;
if(w == -1)
return 50; // idk, just give it some space so the percents aren't COMPLETELY off FIXME
return w;
}
private void updateCalculatedWidth(bool informWindows) {
int padding;
version(win32_widgets)
padding = 4;
int remaining = this.width;
foreach(i, column; columns)
remaining -= this.getActualSetSize(i, informWindows && column.widthPercent == 0) + padding;
remaining -= padding;
if(remaining < 0)
remaining = 0;
int percentTotal;
foreach(i, ref column; columns) {
percentTotal += column.widthPercent;
auto c = this.getActualSetSize(i, informWindows && column.widthPercent == 0) + (remaining * column.widthPercent) / 100;
column.calculatedWidth = c;
version(win32_widgets)
if(informWindows)
SendMessage(hwnd, LVM_SETCOLUMNWIDTH, i, c); // LVSCW_AUTOSIZE or LVSCW_AUTOSIZE_USEHEADER are amazing omg
}
assert(percentTotal >= 0, "The total percents in your column definitions were negative. They must add up to something between 0 and 100.");
assert(percentTotal <= 100, "The total percents in your column definitions exceeded 100. They must add up to no more than 100 (can be less though).");
}
override void registerMovement() {
super.registerMovement();
updateCalculatedWidth(true);
}
/++
Tells the view how many items are in it. It uses this to set the scroll bar, but the items are not added per se; it calls [getData] as-needed.
+/
void setItemCount(int count) {
this.itemCount = count;
version(custom_widgets) {
tvwi.updateScrolls();
redraw();
} else version(win32_widgets) {
SendMessage(hwnd, LVM_SETITEMCOUNT, count, 0);
}
}
/++
Clears all items;
+/
void clear() {
this.itemCount = 0;
this.columns = null;
version(custom_widgets) {
tvwi.header.updateHeaders();
tvwi.updateScrolls();
redraw();
} else version(win32_widgets) {
SendMessage(hwnd, LVM_DELETEALLITEMS, 0, 0);
}
}
/+
version(win32_widgets)
override int handleWmDrawItem(DRAWITEMSTRUCT* dis)
auto itemId = dis.itemID;
auto hdc = dis.hDC;
auto rect = dis.rcItem;
switch(dis.itemAction) {
case ODA_DRAWENTIRE:
// FIXME: do other items
// FIXME: do the focus rectangle i guess
// FIXME: alignment
// FIXME: column width
// FIXME: padding left
// FIXME: check dpi scaling
// FIXME: don't owner draw unless it is necessary.
auto padding = GetSystemMetrics(SM_CXEDGE); // FIXME: for dpi
RECT itemRect;
itemRect.top = 1; // subitem idx, 1-based
itemRect.left = LVIR_BOUNDS;
SendMessage(hwnd, LVM_GETSUBITEMRECT, itemId, cast(LPARAM) &itemRect);
itemRect.left += padding;
getData(itemId, 0, (in char[] data) {
auto wdata = WCharzBuffer(data);
DrawTextW(hdc, wdata.ptr, wdata.length, &itemRect, DT_RIGHT| DT_END_ELLIPSIS);
});
goto case;
case ODA_FOCUS:
if(dis.itemState & ODS_FOCUS)
DrawFocusRect(hdc, &rect);
break;
case ODA_SELECT:
// itemState & ODS_SELECTED
break;
default:
}
return 1;
}
+/
version(win32_widgets) {
CellStyle last;
COLORREF defaultColor;
COLORREF defaultBackground;
}
version(win32_widgets)
override int handleWmNotify(NMHDR* hdr, int code, out int mustReturn) {
switch(code) {
case NM_CUSTOMDRAW:
auto s = cast(NMLVCUSTOMDRAW*) hdr;
switch(s.nmcd.dwDrawStage) {
case CDDS_PREPAINT:
if(getCellStyle is null)
return 0;
mustReturn = true;
return CDRF_NOTIFYITEMDRAW;
case CDDS_ITEMPREPAINT:
mustReturn = true;
return CDRF_NOTIFYSUBITEMDRAW;
case CDDS_ITEMPREPAINT | CDDS_SUBITEM:
mustReturn = true;
if(getCellStyle is null) // this SHOULD never happen...
return 0;
if(s.iSubItem == 0) {
// Windows resets it per row so we'll use item 0 as a chance
// to capture these for later
defaultColor = s.clrText;
defaultBackground = s.clrTextBk;
}
auto style = getCellStyle(cast(int) s.nmcd.dwItemSpec, cast(int) s.iSubItem);
// if no special style and no reset needed...
if(style == CellStyle.init && (s.iSubItem == 0 || last == CellStyle.init))
return 0; // allow default processing to continue
last = style;
// might still need to reset or use the preference.
if(style.flags & CellStyle.Flags.textColorSet)
s.clrText = style.textColor.asWindowsColorRef;
else
s.clrText = defaultColor; // reset in case it was set from last iteration not a fan
if(style.flags & CellStyle.Flags.backgroundColorSet)
s.clrTextBk = style.backgroundColor.asWindowsColorRef;
else
s.clrTextBk = defaultBackground; // need to reset it... not a fan of this
return CDRF_NEWFONT;
default:
return 0;
}
case NM_RETURN: // no need since i subclass keydown
break;
case LVN_COLUMNCLICK:
auto info = cast(LPNMLISTVIEW) hdr;
this.emit!HeaderClickedEvent(info.iSubItem);
break;
case NM_CLICK:
case NM_DBLCLK:
case NM_RCLICK:
case NM_RDBLCLK:
// the item/subitem is set here and that can be a useful notification
// even beyond the normal click notification
break;
case LVN_GETDISPINFO:
LV_DISPINFO* info = cast(LV_DISPINFO*) hdr;
if(info.item.mask & LVIF_TEXT) {
if(getData) {
getData(info.item.iItem, info.item.iSubItem, (in char[] dataReceived) {
auto bfr = WCharzBuffer(dataReceived);
auto len = info.item.cchTextMax;
if(bfr.length < len)
len = cast(typeof(len)) bfr.length;
info.item.pszText[0 .. len] = bfr.ptr[0 .. len];
info.item.pszText[len] = 0;
});
} else {
info.item.pszText[0] = 0;
}
//info.item.iItem
//if(info.item.iSubItem)
}
break;
default:
}
return 0;
}
override bool encapsulatedChildren() {
return true;
}
/++
Informs the control that content has changed.
History:
Added November 10, 2021 (dub v10.4)
+/
void update() {
version(custom_widgets)
redraw();
else {
SendMessage(hwnd, LVM_REDRAWITEMS, 0, SendMessage(hwnd, LVM_GETITEMCOUNT, 0, 0));
UpdateWindow(hwnd);
}
}
/++
Called by the system to request the text content of an individual cell. You
should pass the text into the provided `sink` delegate. This function will be
called for each visible cell as-needed when drawing.
+/
void delegate(int row, int column, scope void delegate(in char[]) sink) getData;
/++
Available per-cell style customization options. Use one of the constructors
provided to set the values conveniently, or default construct it and set individual
values yourself. Just remember to set the `flags` so your values are actually used.
If the flag isn't set, the field is ignored and the system default is used instead.
This is returned by the [getCellStyle] delegate.
Examples:
---
// assumes you have a variables called `my_data` which is an array of arrays of numbers
auto table = new TableView(window);
// snip: you would set up columns here
// this is how you provide data to the table view class
table.getData = delegate(int row, int column, scope void delegate(in char[]) sink) {
import std.conv;
sink(to!string(my_data[row][column]));
};
// and this is how you customize the colors
table.getCellStyle = delegate(int row, int column) {
return (my_data[row][column] < 0) ?
TableView.CellStyle(Color.red); // make negative numbers red
: TableView.CellStyle.init; // leave the rest alone
};
// snip: you would call table.setItemCount here then continue with the rest of your window setup work
---
History:
Added November 27, 2021 (dub v10.4)
+/
struct CellStyle {
/// Sets just a custom text color, leaving the background as the default. Use caution with certain colors as it may have illeglible contrast on the (unknown to you) background color.
this(Color textColor) {
this.textColor = textColor;
this.flags |= Flags.textColorSet;
}
/// Sets a custom text and background color.
this(Color textColor, Color backgroundColor) {
this.textColor = textColor;
this.backgroundColor = backgroundColor;
this.flags |= Flags.textColorSet | Flags.backgroundColorSet;
}
Color textColor;
Color backgroundColor;
int flags; /// bitmask of [Flags]
/// available options to combine into [flags]
enum Flags {
textColorSet = 1 << 0,
backgroundColorSet = 1 << 1,
}
}
/++
Companion delegate to [getData] that allows you to custom style each
cell of the table.
Returns:
A [CellStyle] structure that describes the desired style for the
given cell. `return CellStyle.init` if you want the default style.
History:
Added November 27, 2021 (dub v10.4)
+/
CellStyle delegate(int row, int column) getCellStyle;
// i want to be able to do things like draw little colored things to show red for negative numbers
// or background color indicators or even in-cell charts
// void delegate(int row, int column, WidgetPainter painter, int width, int height, in char[] text) drawCell;
/++
When the user clicks on a header, this event is emitted. It has a meber to identify which header (by index) was clicked.
+/
mixin Emits!HeaderClickedEvent;
}
/++
This is emitted by the [TableView] when a user clicks on a column header.
Its member `columnIndex` has the zero-based index of the column that was clicked.
The default behavior of this event is to do nothing, so `preventDefault` has no effect.
History:
Added November 27, 2021 (dub v10.4)
+/
class HeaderClickedEvent : Event {
enum EventString = "HeaderClicked";
this(Widget target, int columnIndex) {
this.columnIndex = columnIndex;
super(EventString, target);
}
/// The index of the column
int columnIndex;
///
override @property int intValue() {
return columnIndex;
}
}
version(custom_widgets)
private class TableViewWidgetInner : Widget {
// wrap this thing in a ScrollMessageWidget
TableView tvw;
ScrollMessageWidget smw;
HeaderWidget header;
this(TableView tvw, ScrollMessageWidget smw) {
this.tvw = tvw;
this.smw = smw;
super(smw);
this.tabStop = true;
header = new HeaderWidget(this, smw.getHeader());
smw.addEventListener("scroll", () {
this.redraw();
header.redraw();
});
// I need headers outside the scroll area but rendered on the same line as the up arrow
// FIXME: add a fixed header to the SMW
}
enum padding = 3;
void updateScrolls() {
int w;
foreach(idx, column; tvw.columns) {
if(column.width == 0) continue;
w += tvw.getActualSetSize(idx, false);// + padding;
}
smw.setTotalArea(w, tvw.itemCount);
columnsWidth = w;
}
private int columnsWidth;
private int lh() { return scaleWithDpi(16); } // FIXME lineHeight
override void registerMovement() {
super.registerMovement();
// FIXME: actual column width. it might need to be done per-pixel instead of per-colum
smw.setViewableArea(this.width, this.height / lh);
}
override Rectangle paintContent(WidgetPainter painter, const Rectangle bounds) {
int x;
int y;
int row = smw.position.y;
foreach(lol; 0 .. this.height / lh) {
if(row >= tvw.itemCount)
break;
x = 0;
foreach(columnNumber, column; tvw.columns) {
auto x2 = x + column.calculatedWidth;
auto smwx = smw.position.x;
if(x2 > smwx /* if right side of it is visible at all */ || (x >= smwx && x < smwx + this.width) /* left side is visible at all*/) {
auto startX = x;
auto endX = x + column.calculatedWidth;
switch (column.alignment & (TextAlignment.Left | TextAlignment.Center | TextAlignment.Right)) {
case TextAlignment.Left: startX += padding; break;
case TextAlignment.Center: startX += padding; endX -= padding; break;
case TextAlignment.Right: endX -= padding; break;
default: /* broken */ break;
}
if(column.width != 0) // no point drawing an invisible column
tvw.getData(row, cast(int) columnNumber, (info) {
// auto clip = painter.setClipRectangle(
void dotext(WidgetPainter painter) {
painter.drawText(Point(startX - smw.position.x, y), info, Point(endX - smw.position.x, y + lh), column.alignment);
}
if(tvw.getCellStyle !is null) {
auto style = tvw.getCellStyle(row, cast(int) columnNumber);
if(style.flags & TableView.CellStyle.Flags.backgroundColorSet) {
auto tempPainter = painter;
tempPainter.fillColor = style.backgroundColor;
tempPainter.outlineColor = style.backgroundColor;
tempPainter.drawRectangle(Point(startX - smw.position.x, y),
Point(endX - smw.position.x, y + lh));
}
auto tempPainter = painter;
if(style.flags & TableView.CellStyle.Flags.textColorSet)
tempPainter.outlineColor = style.textColor;
dotext(tempPainter);
} else {
dotext(painter);
}
});
}
x += column.calculatedWidth;
}
row++;
y += lh;
}
return bounds;
}
static class Style : Widget.Style {
override WidgetBackground background() {
return WidgetBackground(WidgetPainter.visualTheme.widgetBackgroundColor);
}
}
mixin OverrideStyle!Style;
private static class HeaderWidget : Widget {
this(TableViewWidgetInner tvw, Widget parent) {
super(parent);
this.tvw = tvw;
this.remainder = new Button("", this);
this.addEventListener((scope ClickEvent ev) {
int header = -1;
foreach(idx, child; this.children[1 .. $]) {
if(child is ev.target) {
header = cast(int) idx;
break;
}
}
if(header != -1) {
auto hce = new HeaderClickedEvent(tvw.tvw, header);
hce.dispatch();
}
});
}
void updateHeaders() {
foreach(child; children[1 .. $])
child.removeWidget();
foreach(column; tvw.tvw.columns) {
// the cast is ok because I dup it above, just the type is never changed.
// all this is private so it should never get messed up.
new Button(ImageLabel(cast(string) column.name, column.alignment), this);
}
}
Button remainder;
TableViewWidgetInner tvw;
override void recomputeChildLayout() {
registerMovement();
int pos;
foreach(idx, child; children[1 .. $]) {
if(idx >= tvw.tvw.columns.length)
continue;
child.x = pos;
child.y = 0;
child.width = tvw.tvw.columns[idx].calculatedWidth;
child.height = scaleWithDpi(16);// this.height;
pos += child.width;
child.recomputeChildLayout();
}
if(remainder is null)
return;
remainder.x = pos;
remainder.y = 0;
if(pos < this.width)
remainder.width = this.width - pos;// + 4;
else
remainder.width = 0;
remainder.height = scaleWithDpi(16);
remainder.recomputeChildLayout();
}
// for the scrollable children mixin
Point scrollOrigin() {
return Point(tvw.smw.position.x, 0);
}
void paintFrameAndBackground(WidgetPainter painter) { }
mixin ScrollableChildren;
}
}
/+
// given struct / array / number / string / etc, make it viewable and editable
class DataViewerWidget : Widget {
}
+/
/++
A line edit box with an associated label.
History:
On May 17, 2021, the default internal layout was changed from horizontal to vertical.
```
Old: ________
New:
____________
```
To restore the old behavior, use `new LabeledLineEdit("label", TextAlignment.Right, parent);`
You can also use `new LabeledLineEdit("label", TextAlignment.Left, parent);` if you want a
horizontal label but left aligned. You may also consider a [GridLayout].
+/
alias LabeledLineEdit = Labeled!LineEdit;
/++
History:
Added May 19, 2021
+/
class Labeled(T) : Widget {
///
this(string label, Widget parent) {
super(parent);
initialize!VerticalLayout(label, TextAlignment.Left, parent);
}
/++
History:
The alignment parameter was added May 17, 2021
+/
this(string label, TextAlignment alignment, Widget parent) {
super(parent);
initialize!HorizontalLayout(label, alignment, parent);
}
private void initialize(L)(string label, TextAlignment alignment, Widget parent) {
tabStop = false;
horizontal = is(L == HorizontalLayout);
auto hl = new L(this);
this.label = new TextLabel(label, alignment, hl);
this.lineEdit = new T(hl);
this.label.labelFor = this.lineEdit;
}
private bool horizontal;
TextLabel label; ///
T lineEdit; ///
override int flexBasisWidth() { return 250; }
override int minHeight() { return (horizontal ? 1 : 2) * defaultLineHeight + 4; }
override int maxHeight() { return (horizontal ? 1 : 2) * defaultLineHeight + 4; }
override int marginTop() { return 4; }
override int marginBottom() { return 4; }
// FIXME: i should prolly call it value as well as content tbh
///
@property string content() {
return lineEdit.content;
}
///
@property void content(string c) {
return lineEdit.content(c);
}
///
void selectAll() {
lineEdit.selectAll();
}
override void focus() {
lineEdit.focus();
}
}
/++
A labeled password edit.
History:
Added as a class on January 25, 2021, changed into an alias of the new [Labeled] template on May 19, 2021
The default parameters for the constructors were also removed on May 19, 2021
+/
alias LabeledPasswordEdit = Labeled!PasswordEdit;
private string toMenuLabel(string s) {
string n;
n.reserve(s.length);
foreach(c; s)
if(c == '_')
n ~= ' ';
else
n ~= c;
return n;
}
private void autoExceptionHandler(Exception e) {
messageBox(e.msg);
}
private void delegate() makeAutomaticHandler(alias fn, T)(T t) {
static if(is(T : void delegate())) {
return () {
try
t();
catch(Exception e)
autoExceptionHandler(e);
};
} else static if(is(typeof(fn) Params == __parameters)) {
static if(Params.length == 1 && is(Params[0] == FileName!(member, filters, type), alias member, string[] filters, FileDialogType type)) {
return () {
void onOK(string s) {
member = s;
try
t(Params[0](s));
catch(Exception e)
autoExceptionHandler(e);
}
if(
(type == FileDialogType.Automatic && (__traits(identifier, fn).startsWith("Save") || __traits(identifier, fn).startsWith("Export")))
|| type == FileDialogType.Save)
{
getSaveFileName(&onOK, member, filters, null);
} else
getOpenFileName(&onOK, member, filters, null);
};
} else {
struct S {
static if(!__traits(compiles, mixin(`{ static foreach(i; 1..4) {} }`))) {
pragma(msg, "warning: automatic handler of params not yet implemented on your compiler");
} else mixin(q{
static foreach(idx, ignore; Params) {
mixin("Params[idx] " ~ __traits(identifier, Params[idx .. idx + 1]) ~ ";");
}
});
}
return () {
dialog((S s) {
try
cast(void) t(s.tupleof);
catch(Exception e)
autoExceptionHandler(e);
}, null, __traits(identifier, fn));
};
}
}
}
private template hasAnyRelevantAnnotations(a...) {
bool helper() {
bool any;
foreach(attr; a) {
static if(is(typeof(attr) == .menu))
any = true;
else static if(is(typeof(attr) == .toolbar))
any = true;
else static if(is(attr == .separator))
any = true;
else static if(is(typeof(attr) == .accelerator))
any = true;
else static if(is(typeof(attr) == .hotkey))
any = true;
else static if(is(typeof(attr) == .icon))
any = true;
else static if(is(typeof(attr) == .label))
any = true;
else static if(is(typeof(attr) == .tip))
any = true;
}
return any;
}
enum bool hasAnyRelevantAnnotations = helper();
}
/++
A `MainWindow` is a window that includes turnkey support for a menu bar, tool bar, and status bar automatically positioned around a client area where you put your widgets.
+/
class MainWindow : Window {
///
this(string title = null, int initialWidth = 500, int initialHeight = 500) {
super(initialWidth, initialHeight, title);
_clientArea = new ClientAreaWidget();
_clientArea.x = 0;
_clientArea.y = 0;
_clientArea.width = this.width;
_clientArea.height = this.height;
_clientArea.tabStop = false;
super.addChild(_clientArea);
statusBar = new StatusBar(this);
}
/++
Adds a menu and toolbar from annotated functions.
---
struct Commands {
@menu("File") {
void New() {}
void Open() {}
void Save() {}
@separator
void Exit() @accelerator("Alt+F4") @hotkey('x') {
window.close();
}
}
@menu("Edit") {
void Undo() {
undo();
}
@separator
void Cut() {}
void Copy() {}
void Paste() {}
}
@menu("Help") {
void About() {}
}
}
Commands commands;
window.setMenuAndToolbarFromAnnotatedCode(commands);
---
Note that you can call this function multiple times and it will add the items in order to the given items.
+/
void setMenuAndToolbarFromAnnotatedCode(T)(ref T t) if(!is(T == class) && !is(T == interface)) {
setMenuAndToolbarFromAnnotatedCode_internal(t);
}
void setMenuAndToolbarFromAnnotatedCode(T)(T t) if(is(T == class) || is(T == interface)) {
setMenuAndToolbarFromAnnotatedCode_internal(t);
}
void setMenuAndToolbarFromAnnotatedCode_internal(T)(ref T t) {
Action[] toolbarActions;
auto menuBar = this.menuBar is null ? new MenuBar() : this.menuBar;
Menu[string] mcs;
foreach(menu; menuBar.subMenus) {
mcs[menu.label] = menu;
}
foreach(memberName; __traits(derivedMembers, T)) {
static if(memberName != "this")
static if(hasAnyRelevantAnnotations!(__traits(getAttributes, __traits(getMember, T, memberName)))) {
.menu menu;
.toolbar toolbar;
bool separator;
.accelerator accelerator;
.hotkey hotkey;
.icon icon;
string label;
string tip;
foreach(attr; __traits(getAttributes, __traits(getMember, T, memberName))) {
static if(is(typeof(attr) == .menu))
menu = attr;
else static if(is(typeof(attr) == .toolbar))
toolbar = attr;
else static if(is(attr == .separator))
separator = true;
else static if(is(typeof(attr) == .accelerator))
accelerator = attr;
else static if(is(typeof(attr) == .hotkey))
hotkey = attr;
else static if(is(typeof(attr) == .icon))
icon = attr;
else static if(is(typeof(attr) == .label))
label = attr.label;
else static if(is(typeof(attr) == .tip))
tip = attr.tip;
}
if(menu !is .menu.init || toolbar !is .toolbar.init) {
ushort correctIcon = icon.id; // FIXME
if(label.length == 0)
label = memberName.toMenuLabel;
auto handler = makeAutomaticHandler!(__traits(getMember, T, memberName))(&__traits(getMember, t, memberName));
auto action = new Action(label, correctIcon, handler);
if(accelerator.keyString.length) {
auto ke = KeyEvent.parse(accelerator.keyString);
action.accelerator = ke;
accelerators[ke.toStr] = handler;
}
if(toolbar !is .toolbar.init)
toolbarActions ~= action;
if(menu !is .menu.init) {
Menu mc;
if(menu.name in mcs) {
mc = mcs[menu.name];
} else {
mc = new Menu(menu.name, this);
menuBar.addItem(mc);
mcs[menu.name] = mc;
}
if(separator)
mc.addSeparator();
mc.addItem(new MenuItem(action));
}
}
}
}
this.menuBar = menuBar;
if(toolbarActions.length) {
auto tb = new ToolBar(toolbarActions, this);
}
}
void delegate()[string] accelerators;
override void defaultEventHandler_keydown(KeyDownEvent event) {
auto str = event.originalKeyEvent.toStr;
if(auto acl = str in accelerators)
(*acl)();
super.defaultEventHandler_keydown(event);
}
override void defaultEventHandler_mouseover(MouseOverEvent event) {
super.defaultEventHandler_mouseover(event);
if(this.statusBar !is null && event.target.statusTip.length)
this.statusBar.parts[0].content = event.target.statusTip;
else if(this.statusBar !is null && this.statusTip.length)
this.statusBar.parts[0].content = this.statusTip; // ~ " " ~ event.target.toString();
}
override void addChild(Widget c, int position = int.max) {
if(auto tb = cast(ToolBar) c)
version(win32_widgets)
super.addChild(c, 0);
else version(custom_widgets)
super.addChild(c, menuBar ? 1 : 0);
else static assert(0);
else
clientArea.addChild(c, position);
}
ToolBar _toolBar;
///
ToolBar toolBar() { return _toolBar; }
///
ToolBar toolBar(ToolBar t) {
_toolBar = t;
foreach(child; this.children)
if(child is t)
return t;
version(win32_widgets)
super.addChild(t, 0);
else version(custom_widgets)
super.addChild(t, menuBar ? 1 : 0);
else static assert(0);
return t;
}
MenuBar _menu;
///
MenuBar menuBar() { return _menu; }
///
MenuBar menuBar(MenuBar m) {
if(m is _menu) {
version(custom_widgets)
recomputeChildLayout();
return m;
}
if(_menu !is null) {
// make sure it is sanely removed
// FIXME
}
_menu = m;
version(win32_widgets) {
SetMenu(parentWindow.win.impl.hwnd, m.handle);
} else version(custom_widgets) {
super.addChild(m, 0);
// clientArea.y = menu.height;
// clientArea.height = this.height - menu.height;
recomputeChildLayout();
} else static assert(false);
return _menu;
}
private Widget _clientArea;
///
@property Widget clientArea() { return _clientArea; }
protected @property void clientArea(Widget wid) {
_clientArea = wid;
}
private StatusBar _statusBar;
///
@property StatusBar statusBar() { return _statusBar; }
///
@property void statusBar(StatusBar bar) {
_statusBar = bar;
super.addChild(_statusBar);
}
///
@property string title() { return parentWindow.win.title; }
///
@property void title(string title) { parentWindow.win.title = title; }
}
/+
This is really an implementation detail of [MainWindow]
+/
private class ClientAreaWidget : Widget {
this() {
this.tabStop = false;
super(null);
//sa = new ScrollableWidget(this);
}
/*
ScrollableWidget sa;
override void addChild(Widget w, int position) {
if(sa is null)
super.addChild(w, position);
else {
sa.addChild(w, position);
sa.setContentSize(this.minWidth + 1, this.minHeight);
import std.stdio; writeln(sa.contentWidth, "x", sa.contentHeight);
}
}
*/
}
/**
Toolbars are lists of buttons (typically icons) that appear under the menu.
Each button ought to correspond to a menu item, represented by [Action] objects.
*/
class ToolBar : Widget {
version(win32_widgets) {
private const int idealHeight;
override int minHeight() { return idealHeight; }
override int maxHeight() { return idealHeight; }
} else version(custom_widgets) {
override int minHeight() { return toolbarIconSize; }// defaultLineHeight * 3/2; }
override int maxHeight() { return toolbarIconSize; } //defaultLineHeight * 3/2; }
} else static assert(false);
override int heightStretchiness() { return 0; }
version(win32_widgets)
HIMAGELIST imageList;
this(Widget parent) {
this(null, parent);
}
///
this(Action[] actions, Widget parent) {
super(parent);
tabStop = false;
version(win32_widgets) {
// so i like how the flat thing looks on windows, but not on wine
// and eh, with windows visual styles enabled it looks cool anyway soooo gonna
// leave it commented
createWin32Window(this, "ToolbarWindow32"w, "", TBSTYLE_LIST|/*TBSTYLE_FLAT|*/TBSTYLE_TOOLTIPS);
SendMessageW(hwnd, TB_SETEXTENDEDSTYLE, 0, 8/*TBSTYLE_EX_MIXEDBUTTONS*/);
imageList = ImageList_Create(
// width, height
16, 16,
ILC_COLOR16 | ILC_MASK,
16 /*numberOfButtons*/, 0);
SendMessageW(hwnd, TB_SETIMAGELIST, cast(WPARAM) 0, cast(LPARAM) imageList);
SendMessageW(hwnd, TB_LOADIMAGES, cast(WPARAM) IDB_STD_SMALL_COLOR, cast(LPARAM) HINST_COMMCTRL);
SendMessageW(hwnd, TB_SETMAXTEXTROWS, 0, 0);
SendMessageW(hwnd, TB_AUTOSIZE, 0, 0);
TBBUTTON[] buttons;
// FIXME: I_IMAGENONE is if here is no icon
foreach(action; actions)
buttons ~= TBBUTTON(
MAKELONG(cast(ushort)(action.iconId ? (action.iconId - 1) : -2 /* I_IMAGENONE */), 0),
action.id,
TBSTATE_ENABLED, // state
0, // style
0, // reserved array, just zero it out
0, // dwData
cast(size_t) toWstringzInternal(action.label) // INT_PTR
);
SendMessageW(hwnd, TB_BUTTONSTRUCTSIZE, cast(WPARAM)TBBUTTON.sizeof, 0);
SendMessageW(hwnd, TB_ADDBUTTONSW, cast(WPARAM) buttons.length, cast(LPARAM)buttons.ptr);
SIZE size;
import core.sys.windows.commctrl;
SendMessageW(hwnd, TB_GETMAXSIZE, 0, cast(LPARAM) &size);
idealHeight = size.cy + 4; // the plus 4 is a hack
/*
RECT rect;
GetWindowRect(hwnd, &rect);
idealHeight = rect.bottom - rect.top + 10; // the +10 is a hack since the size right now doesn't look right on a real Windows XP box
*/
assert(idealHeight);
} else version(custom_widgets) {
foreach(action; actions)
new ToolButton(action, this);
} else static assert(false);
}
override void recomputeChildLayout() {
.recomputeChildLayout!"width"(this);
}
}
enum toolbarIconSize = 24;
/// An implementation helper for [ToolBar]. Generally, you shouldn't create these yourself and instead just pass [Action]s to [ToolBar]'s constructor and let it create the buttons for you.
class ToolButton : Button {
///
this(string label, Widget parent) {
super(label, parent);
tabStop = false;
}
///
this(Action action, Widget parent) {
super(action.label, parent);
tabStop = false;
this.action = action;
}
version(custom_widgets)
override void defaultEventHandler_click(ClickEvent event) {
foreach(handler; action.triggered)
handler();
}
Action action;
override int maxWidth() { return toolbarIconSize; }
override int minWidth() { return toolbarIconSize; }
override int maxHeight() { return toolbarIconSize; }
override int minHeight() { return toolbarIconSize; }
version(custom_widgets)
override void paint(WidgetPainter painter) {
painter.drawThemed(delegate Rectangle (const Rectangle bounds) {
painter.outlineColor = Color.black;
// I want to get from 16 to 24. that's * 3 / 2
static assert(toolbarIconSize >= 16);
enum multiplier = toolbarIconSize / 8;
enum divisor = 2 + ((toolbarIconSize % 8) ? 1 : 0);
switch(action.iconId) {
case GenericIcons.New:
painter.fillColor = Color.white;
painter.drawPolygon(
Point(3, 2) * multiplier / divisor, Point(3, 13) * multiplier / divisor, Point(12, 13) * multiplier / divisor, Point(12, 6) * multiplier / divisor,
Point(8, 2) * multiplier / divisor, Point(8, 6) * multiplier / divisor, Point(12, 6) * multiplier / divisor, Point(8, 2) * multiplier / divisor,
Point(3, 2) * multiplier / divisor, Point(3, 13) * multiplier / divisor
);
break;
case GenericIcons.Save:
painter.fillColor = Color.white;
painter.outlineColor = Color.black;
painter.drawRectangle(Point(2, 2) * multiplier / divisor, Point(13, 13) * multiplier / divisor);
// the label
painter.drawRectangle(Point(4, 8) * multiplier / divisor, Point(11, 13) * multiplier / divisor);
// the slider
painter.fillColor = Color.black;
painter.outlineColor = Color.black;
painter.drawRectangle(Point(4, 3) * multiplier / divisor, Point(10, 6) * multiplier / divisor);
painter.fillColor = Color.white;
painter.outlineColor = Color.white;
// the disc window
painter.drawRectangle(Point(5, 3) * multiplier / divisor, Point(6, 5) * multiplier / divisor);
break;
case GenericIcons.Open:
painter.fillColor = Color.white;
painter.drawPolygon(
Point(4, 4) * multiplier / divisor, Point(4, 12) * multiplier / divisor, Point(13, 12) * multiplier / divisor, Point(13, 3) * multiplier / divisor,
Point(9, 3) * multiplier / divisor, Point(9, 4) * multiplier / divisor, Point(4, 4) * multiplier / divisor);
painter.drawPolygon(
Point(2, 6) * multiplier / divisor, Point(11, 6) * multiplier / divisor,
Point(12, 12) * multiplier / divisor, Point(4, 12) * multiplier / divisor,
Point(2, 6) * multiplier / divisor);
//painter.drawLine(Point(9, 6) * multiplier / divisor, Point(13, 7) * multiplier / divisor);
break;
case GenericIcons.Copy:
painter.fillColor = Color.white;
painter.drawRectangle(Point(3, 2) * multiplier / divisor, Point(9, 10) * multiplier / divisor);
painter.drawRectangle(Point(6, 5) * multiplier / divisor, Point(12, 13) * multiplier / divisor);
break;
case GenericIcons.Cut:
painter.fillColor = Color.transparent;
painter.outlineColor = getComputedStyle.foregroundColor();
painter.drawLine(Point(3, 2) * multiplier / divisor, Point(10, 9) * multiplier / divisor);
painter.drawLine(Point(4, 9) * multiplier / divisor, Point(11, 2) * multiplier / divisor);
painter.drawRectangle(Point(3, 9) * multiplier / divisor, Point(5, 13) * multiplier / divisor);
painter.drawRectangle(Point(9, 9) * multiplier / divisor, Point(11, 12) * multiplier / divisor);
break;
case GenericIcons.Paste:
painter.fillColor = Color.white;
painter.drawRectangle(Point(2, 3) * multiplier / divisor, Point(11, 11) * multiplier / divisor);
painter.drawRectangle(Point(6, 8) * multiplier / divisor, Point(13, 13) * multiplier / divisor);
painter.drawLine(Point(6, 2) * multiplier / divisor, Point(4, 5) * multiplier / divisor);
painter.drawLine(Point(6, 2) * multiplier / divisor, Point(9, 5) * multiplier / divisor);
painter.fillColor = Color.black;
painter.drawRectangle(Point(4, 5) * multiplier / divisor, Point(9, 6) * multiplier / divisor);
break;
case GenericIcons.Help:
painter.outlineColor = getComputedStyle.foregroundColor();
painter.drawText(Point(0, 0), "?", Point(width, height), TextAlignment.Center | TextAlignment.VerticalCenter);
break;
case GenericIcons.Undo:
painter.fillColor = Color.transparent;
painter.drawArc(Point(3, 4) * multiplier / divisor, 9 * multiplier / divisor, 9 * multiplier / divisor, 0, 360 * 64);
painter.outlineColor = Color.black;
painter.fillColor = Color.black;
painter.drawPolygon(
Point(4, 4) * multiplier / divisor,
Point(8, 2) * multiplier / divisor,
Point(8, 6) * multiplier / divisor,
Point(4, 4) * multiplier / divisor,
);
break;
case GenericIcons.Redo:
painter.fillColor = Color.transparent;
painter.drawArc(Point(3, 4) * multiplier / divisor, 9 * multiplier / divisor, 9 * multiplier / divisor, 0, 360 * 64);
painter.outlineColor = Color.black;
painter.fillColor = Color.black;
painter.drawPolygon(
Point(10, 4) * multiplier / divisor,
Point(6, 2) * multiplier / divisor,
Point(6, 6) * multiplier / divisor,
Point(10, 4) * multiplier / divisor,
);
break;
default:
painter.drawText(Point(0, 0), action.label, Point(width, height), TextAlignment.Center | TextAlignment.VerticalCenter);
}
return bounds;
});
}
}
///
class MenuBar : Widget {
MenuItem[] items;
Menu[] subMenus;
version(win32_widgets) {
HMENU handle;
///
this(Widget parent = null) {
super(parent);
handle = CreateMenu();
tabStop = false;
}
} else version(custom_widgets) {
///
this(Widget parent = null) {
tabStop = false; // these are selected some other way
super(parent);
}
mixin Padding!q{2};
} else static assert(false);
version(custom_widgets)
override void paint(WidgetPainter painter) {
draw3dFrame(this, painter, FrameStyle.risen, getComputedStyle().background.color);
}
///
MenuItem addItem(MenuItem item) {
this.addChild(item);
items ~= item;
version(win32_widgets) {
AppendMenuW(handle, MF_STRING, item.action is null ? 9000 : item.action.id, toWstringzInternal(item.label));
}
return item;
}
///
Menu addItem(Menu item) {
subMenus ~= item;
auto mbItem = new MenuItem(item.label, null);// this.parentWindow); // I'ma add the child down below so hopefully this isn't too insane
addChild(mbItem);
items ~= mbItem;
version(win32_widgets) {
AppendMenuW(handle, MF_STRING | MF_POPUP, cast(UINT) item.handle, toWstringzInternal(item.label));
} else version(custom_widgets) {
mbItem.defaultEventHandlers["mousedown"] = (Widget e, Event ev) {
item.popup(mbItem);
};
} else static assert(false);
return item;
}
override void recomputeChildLayout() {
.recomputeChildLayout!"width"(this);
}
override int maxHeight() { return defaultLineHeight + 4; }
override int minHeight() { return defaultLineHeight + 4; }
}
/**
Status bars appear at the bottom of a MainWindow.
They are made out of Parts, with a width and content.
They can have multiple parts or be in simple mode. FIXME: implement simple mode.
sb.parts[0].content = "Status bar text!";
*/
class StatusBar : Widget {
private Part[] partsArray;
///
struct Parts {
@disable this();
this(StatusBar owner) { this.owner = owner; }
//@disable this(this);
///
@property int length() { return cast(int) owner.partsArray.length; }
private StatusBar owner;
private this(StatusBar owner, Part[] parts) {
this.owner.partsArray = parts;
this.owner = owner;
}
///
Part opIndex(int p) {
if(owner.partsArray.length == 0)
this ~= new StatusBar.Part(300);
return owner.partsArray[p];
}
///
Part opOpAssign(string op : "~" )(Part p) {
assert(owner.partsArray.length < 255);
p.owner = this.owner;
p.idx = cast(int) owner.partsArray.length;
owner.partsArray ~= p;
version(win32_widgets) {
int[256] pos;
int cpos = 0;
foreach(idx, part; owner.partsArray) {
if(part.width)
cpos += part.width;
else
cpos += 100;
if(idx + 1 == owner.partsArray.length)
pos[idx] = -1;
else
pos[idx] = cpos;
}
SendMessageW(owner.hwnd, WM_USER + 4 /*SB_SETPARTS*/, owner.partsArray.length, cast(size_t) pos.ptr);
} else version(custom_widgets) {
owner.redraw();
} else static assert(false);
return p;
}
}
private Parts _parts;
///
final @property Parts parts() {
return _parts;
}
///
static class Part {
int width;
StatusBar owner;
///
this(int w = 100) { width = w; }
private int idx;
private string _content;
///
@property string content() { return _content; }
///
@property void content(string s) {
version(win32_widgets) {
_content = s;
WCharzBuffer bfr = WCharzBuffer(s);
SendMessageW(owner.hwnd, SB_SETTEXT, idx, cast(LPARAM) bfr.ptr);
} else version(custom_widgets) {
if(_content != s) {
_content = s;
owner.redraw();
}
} else static assert(false);
}
}
string simpleModeContent;
bool inSimpleMode;
///
this(Widget parent) {
super(null); // FIXME
_parts = Parts(this);
tabStop = false;
version(win32_widgets) {
parentWindow = parent.parentWindow;
createWin32Window(this, "msctls_statusbar32"w, "", 0);
RECT rect;
GetWindowRect(hwnd, &rect);
idealHeight = rect.bottom - rect.top;
assert(idealHeight);
} else version(custom_widgets) {
} else static assert(false);
}
version(win32_widgets)
override protected void dpiChanged() {
RECT rect;
GetWindowRect(hwnd, &rect);
idealHeight = rect.bottom - rect.top;
assert(idealHeight);
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
this.draw3dFrame(painter, FrameStyle.sunk, cs.background.color);
int cpos = 0;
int remainingLength = this.width;
foreach(idx, part; this.partsArray) {
auto partWidth = part.width ? part.width : ((idx + 1 == this.partsArray.length) ? remainingLength : 100);
painter.setClipRectangle(Point(cpos, 0), partWidth, height);
draw3dFrame(cpos, 0, partWidth, height, painter, FrameStyle.sunk, cs.background.color);
painter.setClipRectangle(Point(cpos + 2, 2), partWidth - 4, height - 4);
painter.outlineColor = cs.foregroundColor();
painter.fillColor = cs.foregroundColor();
painter.drawText(Point(cpos + 4, 0), part.content, Point(width, height), TextAlignment.VerticalCenter);
cpos += partWidth;
remainingLength -= partWidth;
}
}
version(win32_widgets) {
private int idealHeight;
override int maxHeight() { return idealHeight; }
override int minHeight() { return idealHeight; }
} else version(custom_widgets) {
override int maxHeight() { return defaultLineHeight + 4; }
override int minHeight() { return defaultLineHeight + 4; }
} else static assert(false);
}
/// Displays an in-progress indicator without known values
version(none)
class IndefiniteProgressBar : Widget {
version(win32_widgets)
this(Widget parent) {
super(parent);
createWin32Window(this, "msctls_progress32"w, "", 8 /* PBS_MARQUEE */);
tabStop = false;
}
override int minHeight() { return 10; }
}
/// A progress bar with a known endpoint and completion amount
class ProgressBar : Widget {
/++
History:
Added March 16, 2022 (dub v10.7)
+/
this(int min, int max, Widget parent) {
this(parent);
setRange(cast(ushort) min, cast(ushort) max); // FIXME
}
this(Widget parent) {
version(win32_widgets) {
super(parent);
createWin32Window(this, "msctls_progress32"w, "", 0);
tabStop = false;
} else version(custom_widgets) {
super(parent);
max = 100;
step = 10;
tabStop = false;
} else static assert(0);
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
this.draw3dFrame(painter, FrameStyle.sunk, cs.background.color);
painter.fillColor = cs.progressBarColor;
painter.drawRectangle(Point(0, 0), width * current / max, height);
}
version(custom_widgets) {
int current;
int max;
int step;
}
///
void advanceOneStep() {
version(win32_widgets)
SendMessageW(hwnd, PBM_STEPIT, 0, 0);
else version(custom_widgets)
addToPosition(step);
else static assert(false);
}
///
void setStepIncrement(int increment) {
version(win32_widgets)
SendMessageW(hwnd, PBM_SETSTEP, increment, 0);
else version(custom_widgets)
step = increment;
else static assert(false);
}
///
void addToPosition(int amount) {
version(win32_widgets)
SendMessageW(hwnd, PBM_DELTAPOS, amount, 0);
else version(custom_widgets)
setPosition(current + amount);
else static assert(false);
}
///
void setPosition(int pos) {
version(win32_widgets)
SendMessageW(hwnd, PBM_SETPOS, pos, 0);
else version(custom_widgets) {
current = pos;
if(current > max)
current = max;
redraw();
}
else static assert(false);
}
///
void setRange(ushort min, ushort max) {
version(win32_widgets)
SendMessageW(hwnd, PBM_SETRANGE, 0, MAKELONG(min, max));
else version(custom_widgets) {
this.max = max;
}
else static assert(false);
}
override int minHeight() { return 10; }
}
version(custom_widgets)
private void extractWindowsStyleLabel(scope const char[] label, out string thisLabel, out dchar thisAccelerator) {
thisLabel.reserve(label.length);
bool justSawAmpersand;
foreach(ch; label) {
if(justSawAmpersand) {
justSawAmpersand = false;
if(ch == '&') {
goto plain;
}
thisAccelerator = ch;
} else {
if(ch == '&') {
justSawAmpersand = true;
continue;
}
plain:
thisLabel ~= ch;
}
}
}
/++
Creates the fieldset (also known as a group box) with the given label. A fieldset is generally used a container for mutually exclusive [Radiobox]s.
Please note that the ampersand (&) character gets special treatment as described on this page https://docs.microsoft.com/en-us/windows/win32/menurc/common-control-parameters?redirectedfrom=MSDN
Use double-ampersand, "First && Second", to be displayed as a single one, "First & Second".
History:
The ampersand behavior was always the case on Windows, but it wasn't until June 15, 2021 when Linux was changed to match it and the documentation updated to reflect it.
+/
class Fieldset : Widget {
// FIXME: on Windows,it doesn't draw the background on the label
// on X, it doesn't fix the clipping rectangle for it
version(win32_widgets)
override int paddingTop() { return defaultLineHeight; }
else version(custom_widgets)
override int paddingTop() { return defaultLineHeight + 2; }
else static assert(false);
override int paddingBottom() { return 6; }
override int paddingLeft() { return 6; }
override int paddingRight() { return 6; }
override int marginLeft() { return 6; }
override int marginRight() { return 6; }
override int marginTop() { return 2; }
override int marginBottom() { return 2; }
string legend;
version(custom_widgets) private dchar accelerator;
this(string legend, Widget parent) {
version(win32_widgets) {
super(parent);
this.legend = legend;
createWin32Window(this, "button"w, legend, BS_GROUPBOX);
tabStop = false;
} else version(custom_widgets) {
super(parent);
tabStop = false;
legend.extractWindowsStyleLabel(this.legend, this.accelerator);
} else static assert(0);
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
painter.fillColor = Color.transparent;
auto cs = getComputedStyle();
painter.pen = Pen(cs.foregroundColor, 1);
painter.drawRectangle(Point(0, defaultLineHeight / 2), width, height - Window.lineHeight / 2);
auto tx = painter.textSize(legend);
painter.outlineColor = Color.transparent;
static if(UsingSimpledisplayX11) {
painter.fillColor = getComputedStyle().windowBackgroundColor;
painter.drawRectangle(Point(8, 0), tx.width, tx.height);
} else version(Windows) {
auto b = SelectObject(painter.impl.hdc, GetSysColorBrush(COLOR_3DFACE));
painter.drawRectangle(Point(8, -tx.height/2), tx.width, tx.height);
SelectObject(painter.impl.hdc, b);
} else static assert(0);
painter.outlineColor = cs.foregroundColor;
painter.drawText(Point(8, 0), legend);
}
override int maxHeight() {
auto m = paddingTop() + paddingBottom();
foreach(child; children) {
auto mh = child.maxHeight();
if(mh == int.max)
return int.max;
m += mh;
m += child.marginBottom();
m += child.marginTop();
}
m += 6;
if(m < minHeight)
return minHeight;
return m;
}
override int minHeight() {
auto m = paddingTop() + paddingBottom();
foreach(child; children) {
m += child.minHeight();
m += child.marginBottom();
m += child.marginTop();
}
return m + 6;
}
}
/++
$(IMG //arsdnet.net/minigui-screenshots/windows/Fieldset.png, A box saying "baby will" with three round buttons inside it for the options of "eat", "cry", and "sleep")
$(IMG //arsdnet.net/minigui-screenshots/linux/Fieldset.png, Same thing, but in the default Linux theme.)
+/
version(minigui_screenshots)
@Screenshot("Fieldset")
unittest {
auto window = new Window(200, 100);
auto set = new Fieldset("Baby will", window);
auto option1 = new Radiobox("Eat", set);
auto option2 = new Radiobox("Cry", set);
auto option3 = new Radiobox("Sleep", set);
window.loop();
}
/// Draws a line
class HorizontalRule : Widget {
mixin Margin!q{ 2 };
override int minHeight() { return 2; }
override int maxHeight() { return 2; }
///
this(Widget parent) {
super(parent);
}
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
painter.outlineColor = cs.darkAccentColor;
painter.drawLine(Point(0, 0), Point(width, 0));
painter.outlineColor = cs.lightAccentColor;
painter.drawLine(Point(0, 1), Point(width, 1));
}
}
version(minigui_screenshots)
@Screenshot("HorizontalRule")
/++
$(IMG //arsdnet.net/minigui-screenshots/linux/HorizontalRule.png, Same thing, but in the default Linux theme.)
+/
unittest {
auto window = new Window(200, 100);
auto above = new TextLabel("Above the line", TextAlignment.Left, window);
new HorizontalRule(window);
auto below = new TextLabel("Below the line", TextAlignment.Left, window);
window.loop();
}
/// ditto
class VerticalRule : Widget {
mixin Margin!q{ 2 };
override int minWidth() { return 2; }
override int maxWidth() { return 2; }
///
this(Widget parent) {
super(parent);
}
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
painter.outlineColor = cs.darkAccentColor;
painter.drawLine(Point(0, 0), Point(0, height));
painter.outlineColor = cs.lightAccentColor;
painter.drawLine(Point(1, 0), Point(1, height));
}
}
///
class Menu : Window {
void remove() {
foreach(i, child; parentWindow.children)
if(child is this) {
parentWindow._children = parentWindow._children[0 .. i] ~ parentWindow._children[i + 1 .. $];
break;
}
parentWindow.redraw();
parentWindow.releaseMouseCapture();
}
///
void addSeparator() {
version(win32_widgets)
AppendMenu(handle, MF_SEPARATOR, 0, null);
else version(custom_widgets)
auto hr = new HorizontalRule(this);
else static assert(0);
}
override int paddingTop() { return 4; }
override int paddingBottom() { return 4; }
override int paddingLeft() { return 2; }
override int paddingRight() { return 2; }
version(win32_widgets) {}
else version(custom_widgets) {
SimpleWindow dropDown;
Widget menuParent;
void popup(Widget parent, int offsetX = 0, int offsetY = int.min) {
this.menuParent = parent;
int w = 150;
int h = paddingTop + paddingBottom;
if(this.children.length) {
// hacking it to get the ideal height out of recomputeChildLayout
this.width = w;
this.height = h;
this.recomputeChildLayout();
h = this.children[$-1].y + this.children[$-1].height + this.children[$-1].marginBottom;
h += paddingBottom;
h -= 2; // total hack, i just like the way it looks a bit tighter even though technically MenuItem reserves some space to center in normal circumstances
}
if(offsetY == int.min)
offsetY = parent.defaultLineHeight;
auto coord = parent.globalCoordinates();
dropDown.moveResize(coord.x + offsetX, coord.y + offsetY, w, h);
this.x = 0;
this.y = 0;
this.width = dropDown.width;
this.height = dropDown.height;
this.drawableWindow = dropDown;
this.recomputeChildLayout();
static if(UsingSimpledisplayX11)
XSync(XDisplayConnection.get, 0);
dropDown.visibilityChanged = (bool visible) {
if(visible) {
this.redraw();
dropDown.grabInput();
} else {
dropDown.releaseInputGrab();
}
};
dropDown.show();
clickListener = this.addEventListener((scope ClickEvent ev) {
unpopup();
// need to unlock asap just in case other user handlers block...
static if(UsingSimpledisplayX11)
flushGui();
}, true /* again for asap action */);
}
EventListener clickListener;
}
else static assert(false);
version(custom_widgets)
void unpopup() {
mouseLastOver = mouseLastDownOn = null;
dropDown.hide();
if(!menuParent.parentWindow.win.closed) {
if(auto maw = cast(MouseActivatedWidget) menuParent) {
maw.setDynamicState(DynamicState.depressed, false);
maw.redraw();
}
menuParent.parentWindow.win.focus();
}
clickListener.disconnect();
}
MenuItem[] items;
///
MenuItem addItem(MenuItem item) {
addChild(item);
items ~= item;
version(win32_widgets) {
AppendMenuW(handle, MF_STRING, item.action is null ? 9000 : item.action.id, toWstringzInternal(item.label));
}
return item;
}
string label;
version(win32_widgets) {
HMENU handle;
///
this(string label, Widget parent) {
// not actually passing the parent since it effs up the drawing
super(cast(Widget) null);// parent);
this.label = label;
handle = CreatePopupMenu();
}
} else version(custom_widgets) {
///
this(string label, Widget parent) {
if(dropDown) {
dropDown.close();
}
dropDown = new SimpleWindow(
150, 4,
null, OpenGlOptions.no, Resizability.fixedSize, WindowTypes.dropdownMenu, WindowFlags.dontAutoShow, parent ? parent.parentWindow.win : null);
this.label = label;
super(dropDown);
}
} else static assert(false);
override int maxHeight() { return defaultLineHeight; }
override int minHeight() { return defaultLineHeight; }
version(custom_widgets)
override void paint(WidgetPainter painter) {
this.draw3dFrame(painter, FrameStyle.risen, getComputedStyle.background.color);
}
}
/++
A MenuItem belongs to a [Menu] - use [Menu.addItem] to add one - and calls an [Action] when it is clicked.
+/
class MenuItem : MouseActivatedWidget {
Menu submenu;
Action action;
string label;
override int paddingLeft() { return 4; }
override int maxHeight() { return defaultLineHeight + 4; }
override int minHeight() { return defaultLineHeight + 4; }
override int minWidth() { return defaultTextWidth(label) + 8 + scaleWithDpi(12); }
override int maxWidth() {
if(cast(MenuBar) parent) {
return minWidth();
}
return int.max;
}
/// This should ONLY be used if there is no associated action, for example, if the menu item is just a submenu.
this(string lbl, Widget parent = null) {
super(parent);
//label = lbl; // FIXME
foreach(char ch; lbl) // FIXME
if(ch != '&') // FIXME
label ~= ch; // FIXME
tabStop = false; // these are selected some other way
}
///
this(Action action, Widget parent = null) {
assert(action !is null);
this(action.label, parent);
this.action = action;
tabStop = false; // these are selected some other way
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
if(dynamicState & DynamicState.depressed)
this.draw3dFrame(painter, FrameStyle.sunk, cs.background.color);
if(dynamicState & DynamicState.hover)
painter.outlineColor = cs.activeMenuItemColor;
else
painter.outlineColor = cs.foregroundColor;
painter.fillColor = Color.transparent;
painter.drawText(scaleWithDpi(Point(cast(MenuBar) this.parent ? 4 : 20, 0)), label, Point(width, height), TextAlignment.Left | TextAlignment.VerticalCenter);
if(action && action.accelerator !is KeyEvent.init) {
painter.drawText(scaleWithDpi(Point(cast(MenuBar) this.parent ? 4 : 20, 0)), action.accelerator.toStr(), Point(width - 4, height), TextAlignment.Right | TextAlignment.VerticalCenter);
}
}
static class Style : Widget.Style {
override bool variesWithState(ulong dynamicStateFlags) {
return super.variesWithState(dynamicStateFlags) || (dynamicStateFlags & (DynamicState.depressed | DynamicState.hover));
}
}
mixin OverrideStyle!Style;
override void defaultEventHandler_triggered(Event event) {
if(action)
foreach(handler; action.triggered)
handler();
if(auto pmenu = cast(Menu) this.parent)
pmenu.remove();
super.defaultEventHandler_triggered(event);
}
}
version(win32_widgets)
/// A "mouse activiated widget" is really just an abstract variant of button.
class MouseActivatedWidget : Widget {
@property bool isChecked() {
assert(hwnd);
return SendMessageW(hwnd, BM_GETCHECK, 0, 0) == BST_CHECKED;
}
@property void isChecked(bool state) {
assert(hwnd);
SendMessageW(hwnd, BM_SETCHECK, state ? BST_CHECKED : BST_UNCHECKED, 0);
}
override void handleWmCommand(ushort cmd, ushort id) {
if(cmd == 0) {
auto event = new Event(EventType.triggered, this);
event.dispatch();
}
}
this(Widget parent) {
super(parent);
}
}
else version(custom_widgets)
/// ditto
class MouseActivatedWidget : Widget {
@property bool isChecked() { return isChecked_; }
@property bool isChecked(bool b) { return isChecked_ = b; }
private bool isChecked_;
this(Widget parent) {
super(parent);
addEventListener((MouseDownEvent ev) {
if(ev.button == MouseButton.left) {
setDynamicState(DynamicState.depressed, true);
setDynamicState(DynamicState.hover, true);
redraw();
}
});
addEventListener((MouseUpEvent ev) {
if(ev.button == MouseButton.left) {
setDynamicState(DynamicState.depressed, false);
setDynamicState(DynamicState.hover, false);
redraw();
}
});
addEventListener((MouseMoveEvent mme) {
if(!(mme.state & ModifierState.leftButtonDown)) {
if(dynamicState_ & DynamicState.depressed) {
setDynamicState(DynamicState.depressed, false);
redraw();
}
}
});
}
override void defaultEventHandler_focus(Event ev) {
super.defaultEventHandler_focus(ev);
this.redraw();
}
override void defaultEventHandler_blur(Event ev) {
super.defaultEventHandler_blur(ev);
setDynamicState(DynamicState.depressed, false);
this.redraw();
}
override void defaultEventHandler_keydown(KeyDownEvent ev) {
super.defaultEventHandler_keydown(ev);
if(ev.key == Key.Space || ev.key == Key.Enter || ev.key == Key.PadEnter) {
setDynamicState(DynamicState.depressed, true);
setDynamicState(DynamicState.hover, true);
this.redraw();
}
}
override void defaultEventHandler_keyup(KeyUpEvent ev) {
super.defaultEventHandler_keyup(ev);
if(!(dynamicState & DynamicState.depressed))
return;
setDynamicState(DynamicState.depressed, false);
setDynamicState(DynamicState.hover, false);
this.redraw();
auto event = new Event(EventType.triggered, this);
event.sendDirectly();
}
override void defaultEventHandler_click(ClickEvent ev) {
super.defaultEventHandler_click(ev);
if(ev.button == MouseButton.left) {
auto event = new Event(EventType.triggered, this);
event.sendDirectly();
}
}
}
else static assert(false);
/*
/++
Like the tablet thing, it would have a label, a description, and a switch slider thingy.
Basically the same as a checkbox.
+/
class OnOffSwitch : MouseActivatedWidget {
}
*/
/++
History:
Added June 15, 2021 (dub v10.1)
+/
struct ImageLabel {
/++
Defines a label+image combo used by some widgets.
If you provide just a text label, that is all the widget will try to
display. Or just an image will display just that. If you provide both,
it may display both text and image side by side or display the image
and offer text on an input event depending on the widget.
History:
The `alignment` parameter was added on September 27, 2021
+/
this(string label, TextAlignment alignment = TextAlignment.Center) {
this.label = label;
this.displayFlags = DisplayFlags.displayText;
this.alignment = alignment;
}
/// ditto
this(string label, MemoryImage image, TextAlignment alignment = TextAlignment.Center) {
this.label = label;
this.image = image;
this.displayFlags = DisplayFlags.displayText | DisplayFlags.displayImage;
this.alignment = alignment;
}
/// ditto
this(MemoryImage image, TextAlignment alignment = TextAlignment.Center) {
this.image = image;
this.displayFlags = DisplayFlags.displayImage;
this.alignment = alignment;
}
/// ditto
this(string label, MemoryImage image, int displayFlags, TextAlignment alignment = TextAlignment.Center) {
this.label = label;
this.image = image;
this.alignment = alignment;
this.displayFlags = displayFlags;
}
string label;
MemoryImage image;
enum DisplayFlags {
displayText = 1 << 0,
displayImage = 1 << 1,
}
int displayFlags = DisplayFlags.displayText | DisplayFlags.displayImage;
TextAlignment alignment;
}
/++
A basic checked or not checked box with an attached label.
Please note that the ampersand (&) character gets special treatment as described on this page https://docs.microsoft.com/en-us/windows/win32/menurc/common-control-parameters?redirectedfrom=MSDN
Use double-ampersand, "First && Second", to be displayed as a single one, "First & Second".
History:
The ampersand behavior was always the case on Windows, but it wasn't until June 15, 2021 when Linux was changed to match it and the documentation updated to reflect it.
+/
class Checkbox : MouseActivatedWidget {
version(win32_widgets) {
override int maxHeight() { return scaleWithDpi(16); }
override int minHeight() { return scaleWithDpi(16); }
} else version(custom_widgets) {
override int maxHeight() { return defaultLineHeight; }
override int minHeight() { return defaultLineHeight; }
} else static assert(0);
override int marginLeft() { return 4; }
override int flexBasisWidth() { return 24 + cast(int) label.length * 7; }
/++
Just an alias because I keep typing checked out of web habit.
History:
Added May 31, 2021
+/
alias checked = isChecked;
private string label;
private dchar accelerator;
/++
+/
this(string label, Widget parent) {
this(ImageLabel(label), Appearance.checkbox, parent);
}
/// ditto
this(string label, Appearance appearance, Widget parent) {
this(ImageLabel(label), appearance, parent);
}
/++
Changes the look and may change the ideal size of the widget without changing its behavior. The precise look is platform-specific.
History:
Added June 29, 2021 (dub v10.2)
+/
enum Appearance {
checkbox, /// a normal checkbox
pushbutton, /// a button that is showed as pushed when checked and up when unchecked. Similar to the bold button in a toolbar in Wordpad.
//sliderswitch,
}
private Appearance appearance;
/// ditto
private this(ImageLabel label, Appearance appearance, Widget parent) {
super(parent);
version(win32_widgets) {
this.label = label.label;
uint extraStyle;
final switch(appearance) {
case Appearance.checkbox:
break;
case Appearance.pushbutton:
extraStyle |= BS_PUSHLIKE;
break;
}
createWin32Window(this, "button"w, label.label, BS_CHECKBOX | extraStyle);
} else version(custom_widgets) {
label.label.extractWindowsStyleLabel(this.label, this.accelerator);
} else static assert(0);
}
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
if(isFocused()) {
painter.pen = Pen(Color.black, 1, Pen.Style.Dotted);
painter.fillColor = cs.windowBackgroundColor;
painter.drawRectangle(Point(0, 0), width, height);
painter.pen = Pen(Color.black, 1, Pen.Style.Solid);
} else {
painter.pen = Pen(cs.windowBackgroundColor, 1, Pen.Style.Solid);
painter.fillColor = cs.windowBackgroundColor;
painter.drawRectangle(Point(0, 0), width, height);
}
enum buttonSize = 16;
painter.outlineColor = Color.black;
painter.fillColor = Color.white;
painter.drawRectangle(scaleWithDpi(Point(2, 2)), scaleWithDpi(buttonSize - 2), scaleWithDpi(buttonSize - 2));
if(isChecked) {
painter.pen = Pen(Color.black, 2);
// I'm using height so the checkbox is square
enum padding = 5;
painter.drawLine(scaleWithDpi(Point(padding, padding)), scaleWithDpi(Point(buttonSize - (padding-2), buttonSize - (padding-2))));
painter.drawLine(scaleWithDpi(Point(buttonSize-(padding-2), padding)), scaleWithDpi(Point(padding, buttonSize - (padding-2))));
painter.pen = Pen(Color.black, 1);
}
if(label !is null) {
painter.outlineColor = cs.foregroundColor();
painter.fillColor = cs.foregroundColor();
// FIXME: should prolly just align the baseline or something
painter.drawText(scaleWithDpi(Point(buttonSize + 4, 2)), label, Point(width, height), TextAlignment.Left | TextAlignment.VerticalCenter);
}
}
override void defaultEventHandler_triggered(Event ev) {
isChecked = !isChecked;
this.emit!(ChangeEvent!bool)(&isChecked);
redraw();
}
/// Emits a change event with the checked state
mixin Emits!(ChangeEvent!bool);
}
/// Adds empty space to a layout.
class VerticalSpacer : Widget {
///
this(Widget parent) {
super(parent);
}
}
/// ditto
class HorizontalSpacer : Widget {
///
this(Widget parent) {
super(parent);
this.tabStop = false;
}
}
/++
Creates a radio button with an associated label. These are usually put inside a [Fieldset].
Please note that the ampersand (&) character gets special treatment as described on this page https://docs.microsoft.com/en-us/windows/win32/menurc/common-control-parameters?redirectedfrom=MSDN
Use double-ampersand, "First && Second", to be displayed as a single one, "First & Second".
History:
The ampersand behavior was always the case on Windows, but it wasn't until June 15, 2021 when Linux was changed to match it and the documentation updated to reflect it.
+/
class Radiobox : MouseActivatedWidget {
version(win32_widgets) {
override int maxHeight() { return scaleWithDpi(16); }
override int minHeight() { return scaleWithDpi(16); }
} else version(custom_widgets) {
override int maxHeight() { return defaultLineHeight; }
override int minHeight() { return defaultLineHeight; }
} else static assert(0);
override int marginLeft() { return 4; }
private string label;
private dchar accelerator;
version(win32_widgets)
this(string label, Widget parent) {
super(parent);
this.label = label;
createWin32Window(this, "button"w, label, BS_AUTORADIOBUTTON);
}
else version(custom_widgets)
this(string label, Widget parent) {
super(parent);
label.extractWindowsStyleLabel(this.label, this.accelerator);
height = 16;
width = height + 4 + cast(int) label.length * 16;
}
else static assert(false);
version(custom_widgets)
override void paint(WidgetPainter painter) {
auto cs = getComputedStyle();
if(isFocused) {
painter.fillColor = cs.windowBackgroundColor;
painter.pen = Pen(Color.black, 1, Pen.Style.Dotted);
} else {
painter.fillColor = cs.windowBackgroundColor;
painter.outlineColor = cs.windowBackgroundColor;
}
painter.drawRectangle(Point(0, 0), width, height);
painter.pen = Pen(Color.black, 1, Pen.Style.Solid);
enum buttonSize = 16;
painter.outlineColor = Color.black;
painter.fillColor = Color.white;
painter.drawEllipse(scaleWithDpi(Point(2, 2)), scaleWithDpi(Point(buttonSize - 2, buttonSize - 2)));
if(isChecked) {
painter.outlineColor = Color.black;
painter.fillColor = Color.black;
// I'm using height so the checkbox is square
painter.drawEllipse(scaleWithDpi(Point(5, 5)), scaleWithDpi(Point(buttonSize - 5, buttonSize - 5)));
}
painter.outlineColor = cs.foregroundColor();
painter.fillColor = cs.foregroundColor();
painter.drawText(scaleWithDpi(Point(buttonSize + 4, 0)), label, Point(width, height), TextAlignment.Left | TextAlignment.VerticalCenter);
}
override void defaultEventHandler_triggered(Event ev) {
isChecked = true;
if(this.parent) {
foreach(child; this.parent.children) {
if(child is this) continue;
if(auto rb = cast(Radiobox) child) {
rb.isChecked = false;
rb.emit!(ChangeEvent!bool)(&rb.isChecked);
rb.redraw();
}
}
}
this.emit!(ChangeEvent!bool)(&this.isChecked);
redraw();
}
/// Emits a change event with if it is checked. Note that when you select one in a group, that one will emit changed with value == true, and the previous one will emit changed with value == false right before. A button group may catch this and change the event.
mixin Emits!(ChangeEvent!bool);
}
/++
Creates a push button with unbounded size. When it is clicked, it emits a `triggered` event.
Please note that the ampersand (&) character gets special treatment as described on this page https://docs.microsoft.com/en-us/windows/win32/menurc/common-control-parameters?redirectedfrom=MSDN
Use double-ampersand, "First && Second", to be displayed as a single one, "First & Second".
History:
The ampersand behavior was always the case on Windows, but it wasn't until June 15, 2021 when Linux was changed to match it and the documentation updated to reflect it.
+/
class Button : MouseActivatedWidget {
override int heightStretchiness() { return 3; }
override int widthStretchiness() { return 3; }
/++
If true, this button will emit trigger events on double (and other quick events, if added) click events as well as on normal single click events.
History:
Added July 2, 2021
+/
public bool triggersOnMultiClick;
private string label_;
private TextAlignment alignment;
private dchar accelerator;
///
string label() { return label_; }
///
void label(string l) {
label_ = l;
version(win32_widgets) {
WCharzBuffer bfr = WCharzBuffer(l);
SetWindowTextW(hwnd, bfr.ptr);
} else version(custom_widgets) {
redraw();
}
}
override void defaultEventHandler_dblclick(DoubleClickEvent ev) {
super.defaultEventHandler_dblclick(ev);
if(triggersOnMultiClick) {
if(ev.button == MouseButton.left) {
auto event = new Event(EventType.triggered, this);
event.sendDirectly();
}
}
}
private Sprite sprite;
private int displayFlags;
/++
Creates a push button with the given label, which may be an image or some text.
Bugs:
If the image is bigger than the button, it may not be displayed in the right position on Linux.
History:
The [ImageLabel] overload was added on June 21, 2021 (dub v10.1).
The button with label and image will respect requests to show both on Windows as
of March 28, 2022 iff you provide a manifest file to opt into common controls v6.
+/
this(ImageLabel label, Widget parent) {
version(win32_widgets) {
// FIXME: use ideal button size instead
width = 50;
height = 30;
super(parent);
// BS_BITMAP is set when we want image only, so checking for exactly that combination
enum imgFlags = ImageLabel.DisplayFlags.displayImage | ImageLabel.DisplayFlags.displayText;
auto extraStyle = ((label.displayFlags & imgFlags) == ImageLabel.DisplayFlags.displayImage) ? BS_BITMAP : 0;
// the transparent thing can mess up borders in other cases, so only going to keep it for bitmap things where it might matter
createWin32Window(this, "button"w, label.label, BS_PUSHBUTTON | extraStyle, extraStyle == BS_BITMAP ? WS_EX_TRANSPARENT : 0 );
if(label.image) {
sprite = Sprite.fromMemoryImage(parentWindow.win, label.image, true);
SendMessageW(hwnd, BM_SETIMAGE, IMAGE_BITMAP, cast(LPARAM) sprite.nativeHandle);
}
this.label = label.label;
} else version(custom_widgets) {
width = 50;
height = 30;
super(parent);
label.label.extractWindowsStyleLabel(this.label_, this.accelerator);
if(label.image) {
this.sprite = Sprite.fromMemoryImage(parentWindow.win, label.image);
this.displayFlags = label.displayFlags;
}
this.alignment = label.alignment;
}
}
///
this(string label, Widget parent) {
this(ImageLabel(label), parent);
}
override int minHeight() { return defaultLineHeight + 4; }
static class Style : Widget.Style {
override WidgetBackground background() {
auto cs = widget.getComputedStyle(); // FIXME: this is potentially recursive
auto pressed = DynamicState.depressed | DynamicState.hover;
if((widget.dynamicState & pressed) == pressed) {
return WidgetBackground(cs.depressedButtonColor());
} else if(widget.dynamicState & DynamicState.hover) {
return WidgetBackground(cs.hoveringColor());
} else {
return WidgetBackground(cs.buttonColor());
}
}
override FrameStyle borderStyle() {
auto pressed = DynamicState.depressed | DynamicState.hover;
if((widget.dynamicState & pressed) == pressed) {
return FrameStyle.sunk;
} else {
return FrameStyle.risen;
}
}
override bool variesWithState(ulong dynamicStateFlags) {
return super.variesWithState(dynamicStateFlags) || (dynamicStateFlags & (DynamicState.depressed | DynamicState.hover));
}
}
mixin OverrideStyle!Style;
version(custom_widgets)
override void paint(WidgetPainter painter) {
painter.drawThemed(delegate Rectangle(const Rectangle bounds) {
if(sprite) {
sprite.drawAt(
painter,
bounds.upperLeft + Point((bounds.width - sprite.width) / 2, (bounds.height - sprite.height) / 2),
Point(0, 0),
bounds.size
);
} else {
painter.drawText(bounds.upperLeft, label, bounds.lowerRight, alignment | TextAlignment.VerticalCenter);
}
return bounds;
});
}
override int flexBasisWidth() {
version(win32_widgets) {
SIZE size;
SendMessage(hwnd, BCM_GETIDEALSIZE, 0, cast(LPARAM) &size);
if(size.cx == 0)
goto fallback;
return size.cx + scaleWithDpi(16);
}
fallback:
return scaleWithDpi(cast(int) label.length * 8 + 16);
}
override int flexBasisHeight() {
version(win32_widgets) {
SIZE size;
SendMessage(hwnd, BCM_GETIDEALSIZE, 0, cast(LPARAM) &size);
if(size.cy == 0)
goto fallback;
return size.cy + scaleWithDpi(6);
}
fallback:
return defaultLineHeight + 4;
}
}
/++
A button with a consistent size, suitable for user commands like OK and cANCEL.
+/
class CommandButton : Button {
this(string label, Widget parent) {
super(label, parent);
}
// FIXME: I think I can simply make this 0 stretchiness instead of max now that the flex basis is there
override int maxHeight() {
return defaultLineHeight + 4;
}
override int maxWidth() {
return defaultLineHeight * 4;
}
override int marginLeft() { return 12; }
override int marginRight() { return 12; }
override int marginTop() { return 12; }
override int marginBottom() { return 12; }
}
///
enum ArrowDirection {
left, ///
right, ///
up, ///
down ///
}
///
version(custom_widgets)
class ArrowButton : Button {
///
this(ArrowDirection direction, Widget parent) {
super("", parent);
this.direction = direction;
triggersOnMultiClick = true;
}
private ArrowDirection direction;
override int minHeight() { return scaleWithDpi(16); }
override int maxHeight() { return scaleWithDpi(16); }
override int minWidth() { return scaleWithDpi(16); }
override int maxWidth() { return scaleWithDpi(16); }
override void paint(WidgetPainter painter) {
super.paint(painter);
auto cs = getComputedStyle();
painter.outlineColor = cs.foregroundColor;
painter.fillColor = cs.foregroundColor;
auto offset = Point((this.width - scaleWithDpi(16)) / 2, (this.height - scaleWithDpi(16)) / 2);
final switch(direction) {
case ArrowDirection.up:
painter.drawPolygon(
scaleWithDpi(Point(2, 10) + offset),
scaleWithDpi(Point(7, 5) + offset),
scaleWithDpi(Point(12, 10) + offset),
scaleWithDpi(Point(2, 10) + offset)
);
break;
case ArrowDirection.down:
painter.drawPolygon(
scaleWithDpi(Point(2, 6) + offset),
scaleWithDpi(Point(7, 11) + offset),
scaleWithDpi(Point(12, 6) + offset),
scaleWithDpi(Point(2, 6) + offset)
);
break;
case ArrowDirection.left:
painter.drawPolygon(
scaleWithDpi(Point(10, 2) + offset),
scaleWithDpi(Point(5, 7) + offset),
scaleWithDpi(Point(10, 12) + offset),
scaleWithDpi(Point(10, 2) + offset)
);
break;
case ArrowDirection.right:
painter.drawPolygon(
scaleWithDpi(Point(6, 2) + offset),
scaleWithDpi(Point(11, 7) + offset),
scaleWithDpi(Point(6, 12) + offset),
scaleWithDpi(Point(6, 2) + offset)
);
break;
}
}
}
private
int[2] getChildPositionRelativeToParentOrigin(Widget c) nothrow {
int x, y;
Widget par = c;
while(par) {
x += par.x;
y += par.y;
par = par.parent;
}
return [x, y];
}
version(win32_widgets)
private
int[2] getChildPositionRelativeToParentHwnd(Widget c) nothrow {
// MapWindowPoints?
int x, y;
Widget par = c;
while(par) {
x += par.x;
y += par.y;
par = par.parent;
if(par !is null && par.useNativeDrawing())
break;
}
return [x, y];
}
///
class ImageBox : Widget {
private MemoryImage image_;
override int widthStretchiness() { return 1; }
override int heightStretchiness() { return 1; }
override int widthShrinkiness() { return 1; }
override int heightShrinkiness() { return 1; }
override int flexBasisHeight() {
return image_.height;
}
override int flexBasisWidth() {
return image_.width;
}
///
public void setImage(MemoryImage image){
this.image_ = image;
if(this.parentWindow && this.parentWindow.win) {
if(sprite)
sprite.dispose();
sprite = new Sprite(this.parentWindow.win, Image.fromMemoryImage(image_, true));
}
redraw();
}
/// How to fit the image in the box if they aren't an exact match in size?
enum HowToFit {
center, /// centers the image, cropping around all the edges as needed
crop, /// always draws the image in the upper left, cropping the lower right if needed
// stretch, /// not implemented
}
private Sprite sprite;
private HowToFit howToFit_;
private Color backgroundColor_;
///
this(MemoryImage image, HowToFit howToFit, Color backgroundColor, Widget parent) {
this.image_ = image;
this.tabStop = false;
this.howToFit_ = howToFit;
this.backgroundColor_ = backgroundColor;
super(parent);
updateSprite();
}
/// ditto
this(MemoryImage image, HowToFit howToFit, Widget parent) {
this(image, howToFit, Color.transparent, parent);
}
private void updateSprite() {
if(sprite is null && this.parentWindow && this.parentWindow.win) {
sprite = new Sprite(this.parentWindow.win, Image.fromMemoryImage(image_, true));
}
}
override void paint(WidgetPainter painter) {
updateSprite();
if(backgroundColor_.a) {
painter.fillColor = backgroundColor_;
painter.drawRectangle(Point(0, 0), width, height);
}
if(howToFit_ == HowToFit.crop)
sprite.drawAt(painter, Point(0, 0));
else if(howToFit_ == HowToFit.center) {
sprite.drawAt(painter, Point((width - image_.width) / 2, (height - image_.height) / 2));
}
}
}
///
class TextLabel : Widget {
override int maxHeight() { return defaultLineHeight; }
override int minHeight() { return defaultLineHeight; }
override int minWidth() { return 32; }
override int flexBasisHeight() { return minHeight(); }
override int flexBasisWidth() { return defaultTextWidth(label); }
string label_;
/++
Indicates which other control this label is here for. Similar to HTML `for` attribute.
In practice this means a click on the label will focus the `labelFor`. In future versions
it will also set screen reader hints but that is not yet implemented.
History:
Added October 3, 2021 (dub v10.4)
+/
Widget labelFor;
///
@scriptable
string label() { return label_; }
///
@scriptable
void label(string l) {
label_ = l;
version(win32_widgets) {
WCharzBuffer bfr = WCharzBuffer(l);
SetWindowTextW(hwnd, bfr.ptr);
} else version(custom_widgets)
redraw();
}
///
this(string label, TextAlignment alignment, Widget parent) {
this.label_ = label;
this.alignment = alignment;
this.tabStop = false;
super(parent);
version(win32_widgets)
createWin32Window(this, "static"w, label, (alignment & TextAlignment.Center) ? SS_CENTER : 0, (alignment & TextAlignment.Right) ? WS_EX_RIGHT : WS_EX_LEFT);
}
override void defaultEventHandler_click(scope ClickEvent ce) {
if(this.labelFor !is null)
this.labelFor.focus();
}
/++
WARNING: this currently sets TextAlignment.Right as the default. That will change in a future version.
For future-proofing of your code, if you rely on TextAlignment.Right, you MUST specify that explicitly.
+/
this(string label, Widget parent) {
this(label, TextAlignment.Right, parent);
}
TextAlignment alignment;
version(custom_widgets)
override Rectangle paintContent(WidgetPainter painter, const Rectangle bounds) {
painter.outlineColor = getComputedStyle().foregroundColor;
painter.drawText(Point(0, 0), this.label, Point(width, height), alignment);
return bounds;
}
}
version(custom_widgets)
private struct etc {
mixin ExperimentalTextComponent;
}
version(win32_widgets)
alias EditableTextWidgetParent = Widget; ///
else version(custom_widgets)
alias EditableTextWidgetParent = ScrollableWidget; ///
else static assert(0);
/// Contains the implementation of text editing
abstract class EditableTextWidget : EditableTextWidgetParent {
this(Widget parent) {
super(parent);
}
bool wordWrapEnabled_ = false;
void wordWrapEnabled(bool enabled) {
version(win32_widgets) {
SendMessageW(hwnd, EM_FMTLINES, enabled ? 1 : 0, 0);
} else version(custom_widgets) {
wordWrapEnabled_ = enabled; // FIXME
} else static assert(false);
}
override int minWidth() { return scaleWithDpi(16); }
override int minHeight() { return defaultLineHeight + 0; } // the +0 is to leave room for the padding
override int widthStretchiness() { return 7; }
void selectAll() {
version(win32_widgets)
SendMessage(hwnd, EM_SETSEL, 0, -1);
else version(custom_widgets) {
textLayout.selectAll();
redraw();
}
}
@property string content() {
version(win32_widgets) {
wchar[4096] bufferstack;
wchar[] buffer;
auto len = GetWindowTextLength(hwnd);
if(len < bufferstack.length)
buffer = bufferstack[0 .. len + 1];
else
buffer = new wchar[](len + 1);
auto l = GetWindowTextW(hwnd, buffer.ptr, cast(int) buffer.length);
if(l >= 0)
return makeUtf8StringFromWindowsString(buffer[0 .. l]);
else
return null;
} else version(custom_widgets) {
return textLayout.getPlainText();
} else static assert(false);
}
@property void content(string s) {
version(win32_widgets) {
WCharzBuffer bfr = WCharzBuffer(s, WindowsStringConversionFlags.convertNewLines);
SetWindowTextW(hwnd, bfr.ptr);
} else version(custom_widgets) {
textLayout.clear();
textLayout.addText(s);
{
// FIXME: it should be able to get this info easier
auto painter = draw();
textLayout.redoLayout(painter);
}
auto cbb = textLayout.contentBoundingBox();
setContentSize(cbb.width, cbb.height);
/*
textLayout.addText(ForegroundColor.red, s);
textLayout.addText(ForegroundColor.blue, TextFormat.underline, "http://dpldocs.info/");
textLayout.addText(" is the best!");
*/
redraw();
}
else static assert(false);
}
void addText(string txt) {
version(custom_widgets) {
textLayout.addText(txt);
{
// FIXME: it should be able to get this info easier
auto painter = draw();
textLayout.redoLayout(painter);
}
auto cbb = textLayout.contentBoundingBox();
setContentSize(cbb.width, cbb.height);
} else version(win32_widgets) {
// get the current selection
DWORD StartPos, EndPos;
SendMessageW( hwnd, EM_GETSEL, cast(WPARAM)(&StartPos), cast(LPARAM)(&EndPos) );
// move the caret to the end of the text
int outLength = GetWindowTextLengthW(hwnd);
SendMessageW( hwnd, EM_SETSEL, outLength, outLength );
// insert the text at the new caret position
WCharzBuffer bfr = WCharzBuffer(txt, WindowsStringConversionFlags.convertNewLines);
SendMessageW( hwnd, EM_REPLACESEL, TRUE, cast(LPARAM) bfr.ptr );
// restore the previous selection
SendMessageW( hwnd, EM_SETSEL, StartPos, EndPos );
} else static assert(0);
}
version(custom_widgets)
override void paintFrameAndBackground(WidgetPainter painter) {
this.draw3dFrame(painter, FrameStyle.sunk, Color.white);
}
version(win32_widgets) { /* will do it with Windows calls in the classes */ }
else version(custom_widgets) {
// FIXME
static if(SimpledisplayTimerAvailable)
Timer caretTimer;
etc.TextLayout textLayout;
void setupCustomTextEditing() {
textLayout = new etc.TextLayout(Rectangle(4, 2, width - 8, height - 4));
textLayout.selectionXorColor = getComputedStyle().activeListXorColor;
}
override void paint(WidgetPainter painter) {
if(parentWindow.win.closed) return;
textLayout.boundingBox = Rectangle(4, 2, width - 8, height - 4);
/*
painter.outlineColor = Color.white;
painter.fillColor = Color.white;
painter.drawRectangle(Point(4, 4), contentWidth, contentHeight);
*/
painter.outlineColor = Color.black;
// painter.drawText(Point(4, 4), content, Point(width - 4, height - 4));
textLayout.caretShowingOnScreen = false;
textLayout.drawInto(painter, !parentWindow.win.closed && isFocused());
}
static class Style : Widget.Style {
override MouseCursor cursor() {
return GenericCursor.Text;
}
}
mixin OverrideStyle!Style;
}
else static assert(false);
version(custom_widgets)
override void defaultEventHandler_mousedown(MouseDownEvent ev) {
super.defaultEventHandler_mousedown(ev);
if(parentWindow.win.closed) return;
if(ev.button == MouseButton.left) {
if(textLayout.selectNone())
redraw();
textLayout.moveCaretToPixelCoordinates(ev.clientX, ev.clientY);
this.focus();
//this.parentWindow.win.grabInput();
} else if(ev.button == MouseButton.middle) {
static if(UsingSimpledisplayX11) {
getPrimarySelection(parentWindow.win, (txt) {
textLayout.insert(txt);
redraw();
auto cbb = textLayout.contentBoundingBox();
setContentSize(cbb.width, cbb.height);
});
}
}
}
version(custom_widgets)
override void defaultEventHandler_mouseup(MouseUpEvent ev) {
//this.parentWindow.win.releaseInputGrab();
super.defaultEventHandler_mouseup(ev);
}
version(custom_widgets)
override void defaultEventHandler_mousemove(MouseMoveEvent ev) {
super.defaultEventHandler_mousemove(ev);
if(ev.state & ModifierState.leftButtonDown) {
textLayout.selectToPixelCoordinates(ev.clientX, ev.clientY);
redraw();
}
}
version(custom_widgets)
override void defaultEventHandler_focus(Event ev) {
super.defaultEventHandler_focus(ev);
if(parentWindow.win.closed) return;
auto painter = this.draw();
textLayout.drawCaret(painter);
static if(SimpledisplayTimerAvailable)
if(caretTimer) {
caretTimer.destroy();
caretTimer = null;
}
bool blinkingCaret = true;
static if(UsingSimpledisplayX11)
if(!Image.impl.xshmAvailable)
blinkingCaret = false; // if on a remote connection, don't waste bandwidth on an expendable blink
if(blinkingCaret)
static if(SimpledisplayTimerAvailable)
caretTimer = new Timer(500, {
if(parentWindow.win.closed) {
caretTimer.destroy();
return;
}
if(isFocused()) {
auto painter = this.draw();
textLayout.drawCaret(painter);
} else if(textLayout.caretShowingOnScreen) {
auto painter = this.draw();
textLayout.eraseCaret(painter);
}
});
}
private string lastContentBlur;
override void defaultEventHandler_blur(Event ev) {
super.defaultEventHandler_blur(ev);
if(parentWindow.win.closed) return;
version(custom_widgets) {
auto painter = this.draw();
textLayout.eraseCaret(painter);
static if(SimpledisplayTimerAvailable)
if(caretTimer) {
caretTimer.destroy();
caretTimer = null;
}
}
if(this.content != lastContentBlur) {
auto evt = new ChangeEvent!string(this, &this.content);
evt.dispatch();
lastContentBlur = this.content;
}
}
version(custom_widgets)
override void defaultEventHandler_char(CharEvent ev) {
super.defaultEventHandler_char(ev);
textLayout.insert(ev.character);
redraw();
// FIXME: too inefficient
auto cbb = textLayout.contentBoundingBox();
setContentSize(cbb.width, cbb.height);
}
version(custom_widgets)
override void defaultEventHandler_keydown(KeyDownEvent ev) {
//super.defaultEventHandler_keydown(ev);
switch(ev.key) {
case Key.Delete:
textLayout.delete_();
redraw();
break;
case Key.Left:
textLayout.moveLeft();
redraw();
break;
case Key.Right:
textLayout.moveRight();
redraw();
break;
case Key.Up:
textLayout.moveUp();
redraw();
break;
case Key.Down:
textLayout.moveDown();
redraw();
break;
case Key.Home:
textLayout.moveHome();
redraw();
break;
case Key.End:
textLayout.moveEnd();
redraw();
break;
case Key.PageUp:
foreach(i; 0 .. 32)
textLayout.moveUp();
redraw();
break;
case Key.PageDown:
foreach(i; 0 .. 32)
textLayout.moveDown();
redraw();
break;
default:
{} // intentionally blank, let "char" handle it
}
/*
if(ev.key == Key.Backspace) {
textLayout.backspace();
redraw();
}
*/
ensureVisibleInScroll(textLayout.caretBoundingBox());
}
}
///
class LineEdit : EditableTextWidget {
// FIXME: hack
version(custom_widgets) {
override bool showingVerticalScroll() { return false; }
override bool showingHorizontalScroll() { return false; }
}
override int flexBasisWidth() { return 250; }
///
this(Widget parent) {
super(parent);
version(win32_widgets) {
createWin32Window(this, "edit"w, "",
0, WS_EX_CLIENTEDGE);//|WS_HSCROLL|ES_AUTOHSCROLL);
} else version(custom_widgets) {
setupCustomTextEditing();
addEventListener(delegate(CharEvent ev) {
if(ev.character == '\n')
ev.preventDefault();
});
} else static assert(false);
}
override int maxHeight() { return defaultLineHeight + 4; }
override int minHeight() { return defaultLineHeight + 4; }
/+
@property void passwordMode(bool p) {
SetWindowLongPtr(hwnd, GWL_STYLE, GetWindowLongPtr(hwnd, GWL_STYLE) | ES_PASSWORD);
}
+/
}
/++
A [LineEdit] that displays `*` in place of the actual characters.
Alas, Windows requires the window to be created differently to use this style,
so it had to be a new class instead of a toggle on and off on an existing object.
FIXME: this is not yet implemented on Linux, it will work the same as a TextEdit there for now.
History:
Added January 24, 2021
+/
class PasswordEdit : EditableTextWidget {
version(custom_widgets) {
override bool showingVerticalScroll() { return false; }
override bool showingHorizontalScroll() { return false; }
}
override int flexBasisWidth() { return 250; }
///
this(Widget parent) {
super(parent);
version(win32_widgets) {
createWin32Window(this, "edit"w, "",
ES_PASSWORD, WS_EX_CLIENTEDGE);//|WS_HSCROLL|ES_AUTOHSCROLL);
} else version(custom_widgets) {
setupCustomTextEditing();
addEventListener(delegate(CharEvent ev) {
if(ev.character == '\n')
ev.preventDefault();
});
} else static assert(false);
}
override int maxHeight() { return defaultLineHeight + 4; }
override int minHeight() { return defaultLineHeight + 4; }
}
///
class TextEdit : EditableTextWidget {
///
this(Widget parent) {
super(parent);
version(win32_widgets) {
createWin32Window(this, "edit"w, "",
0|WS_VSCROLL|WS_HSCROLL|ES_MULTILINE|ES_WANTRETURN|ES_AUTOHSCROLL|ES_AUTOVSCROLL, WS_EX_CLIENTEDGE);
} else version(custom_widgets) {
setupCustomTextEditing();
} else static assert(false);
}
override int maxHeight() { return int.max; }
override int heightStretchiness() { return 7; }
override int flexBasisWidth() { return 250; }
override int flexBasisHeight() { return 250; }
}
/++
+/
version(none)
class RichTextDisplay : Widget {
@property void content(string c) {}
void appendContent(string c) {}
}
///
class MessageBox : Window {
private string message;
MessageBoxButton buttonPressed = MessageBoxButton.None;
///
this(string message, string[] buttons = ["OK"], MessageBoxButton[] buttonIds = [MessageBoxButton.OK]) {
super(300, 100);
assert(buttons.length);
assert(buttons.length == buttonIds.length);
this.message = message;
int buttonsWidth = cast(int) buttons.length * 50 + (cast(int) buttons.length - 1) * 16;
buttonsWidth = scaleWithDpi(buttonsWidth);
int x = this.width / 2 - buttonsWidth / 2;
foreach(idx, buttonText; buttons) {
auto button = new Button(buttonText, this);
button.x = x;
button.y = height - (button.height + 10);
button.addEventListener(EventType.triggered, ((size_t idx) { return () {
this.buttonPressed = buttonIds[idx];
win.close();
}; })(idx));
button.registerMovement();
x += button.width;
x += scaleWithDpi(16);
if(idx == 0)
button.focus();
}
win.show();
redraw();
}
override void paint(WidgetPainter painter) {
super.paint(painter);
auto cs = getComputedStyle();
painter.outlineColor = cs.foregroundColor();
painter.fillColor = cs.foregroundColor();
painter.drawText(Point(0, 0), message, Point(width, height / 2), TextAlignment.Center | TextAlignment.VerticalCenter);
}
// this one is all fixed position
override void recomputeChildLayout() {}
}
///
enum MessageBoxStyle {
OK, ///
OKCancel, ///
RetryCancel, ///
YesNo, ///
YesNoCancel, ///
RetryCancelContinue /// In a multi-part process, if one part fails, ask the user if you should retry that failed step, cancel the entire process, or just continue with the next step, accepting failure on this step.
}
///
enum MessageBoxIcon {
None, ///
Info, ///
Warning, ///
Error ///
}
/// Identifies the button the user pressed on a message box.
enum MessageBoxButton {
None, /// The user closed the message box without clicking any of the buttons.
OK, ///
Cancel, ///
Retry, ///
Yes, ///
No, ///
Continue ///
}
/++
Displays a modal message box, blocking until the user dismisses it.
Returns: the button pressed.
+/
MessageBoxButton messageBox(string title, string message, MessageBoxStyle style = MessageBoxStyle.OK, MessageBoxIcon icon = MessageBoxIcon.None) {
version(win32_widgets) {
WCharzBuffer t = WCharzBuffer(title);
WCharzBuffer m = WCharzBuffer(message);
UINT type;
with(MessageBoxStyle)
final switch(style) {
case OK: type |= MB_OK; break;
case OKCancel: type |= MB_OKCANCEL; break;
case RetryCancel: type |= MB_RETRYCANCEL; break;
case YesNo: type |= MB_YESNO; break;
case YesNoCancel: type |= MB_YESNOCANCEL; break;
case RetryCancelContinue: type |= MB_CANCELTRYCONTINUE; break;
}
with(MessageBoxIcon)
final switch(icon) {
case None: break;
case Info: type |= MB_ICONINFORMATION; break;
case Warning: type |= MB_ICONWARNING; break;
case Error: type |= MB_ICONERROR; break;
}
switch(MessageBoxW(null, m.ptr, t.ptr, type)) {
case IDOK: return MessageBoxButton.OK;
case IDCANCEL: return MessageBoxButton.Cancel;
case IDTRYAGAIN, IDRETRY: return MessageBoxButton.Retry;
case IDYES: return MessageBoxButton.Yes;
case IDNO: return MessageBoxButton.No;
case IDCONTINUE: return MessageBoxButton.Continue;
default: return MessageBoxButton.None;
}
} else {
string[] buttons;
MessageBoxButton[] buttonIds;
with(MessageBoxStyle)
final switch(style) {
case OK:
buttons = ["OK"];
buttonIds = [MessageBoxButton.OK];
break;
case OKCancel:
buttons = ["OK", "Cancel"];
buttonIds = [MessageBoxButton.OK, MessageBoxButton.Cancel];
break;
case RetryCancel:
buttons = ["Retry", "Cancel"];
buttonIds = [MessageBoxButton.Retry, MessageBoxButton.Cancel];
break;
case YesNo:
buttons = ["Yes", "No"];
buttonIds = [MessageBoxButton.Yes, MessageBoxButton.No];
break;
case YesNoCancel:
buttons = ["Yes", "No", "Cancel"];
buttonIds = [MessageBoxButton.Yes, MessageBoxButton.No, MessageBoxButton.Cancel];
break;
case RetryCancelContinue:
buttons = ["Try Again", "Cancel", "Continue"];
buttonIds = [MessageBoxButton.Retry, MessageBoxButton.Cancel, MessageBoxButton.Continue];
break;
}
auto mb = new MessageBox(message, buttons, buttonIds);
EventLoop el = EventLoop.get;
el.run(() { return !mb.win.closed; });
return mb.buttonPressed;
}
}
/// ditto
int messageBox(string message, MessageBoxStyle style = MessageBoxStyle.OK, MessageBoxIcon icon = MessageBoxIcon.None) {
return messageBox(null, message, style, icon);
}
///
alias void delegate(Widget handlerAttachedTo, Event event) EventHandler;
/++
This is an opaque type you can use to disconnect an event handler when you're no longer interested.
History:
The data members were `public` (albiet undocumented and not intended for use) prior to May 13, 2021. They are now `private`, reflecting the single intended use of this object.
+/
struct EventListener {
private Widget widget;
private string event;
private EventHandler handler;
private bool useCapture;
///
void disconnect() {
widget.removeEventListener(this);
}
}
/++
The purpose of this enum was to give a compile-time checked version of various standard event strings.
Now, I recommend you use a statically typed event object instead.
See_Also: [Event]
+/
enum EventType : string {
click = "click", ///
mouseenter = "mouseenter", ///
mouseleave = "mouseleave", ///
mousein = "mousein", ///
mouseout = "mouseout", ///
mouseup = "mouseup", ///
mousedown = "mousedown", ///
mousemove = "mousemove", ///
keydown = "keydown", ///
keyup = "keyup", ///
char_ = "char", ///
focus = "focus", ///
blur = "blur", ///
triggered = "triggered", ///
change = "change", ///
}
/++
Represents an event that is currently being processed.
Minigui's event model is based on the web browser. An event has a name, a target,
and an associated data object. It starts from the window and works its way down through
the target through all intermediate [Widget]s, triggering capture phase handlers as it goes,
then goes back up again all the way back to the window, triggering bubble phase handlers. At
the end, if [Event.preventDefault] has not been called, it calls the target widget's default
handlers for the event (please note that default handlers will be called even if [Event.stopPropagation]
was called; that just stops it from calling other handlers in the widget tree, but the default happens
whenever propagation is done, not only if it gets to the end of the chain).
This model has several nice points:
$(LIST
* It is easy to delegate dynamic handlers to a parent. You can have a parent container
with event handlers set, then add/remove children as much as you want without needing
to manage the event handlers on them - the parent alone can manage everything.
* It is easy to create new custom events in your application.
* It is familiar to many web developers.
)
There's a few downsides though:
$(LIST
* There's not a lot of type safety.
* You don't get a static list of what events a widget can emit.
* Tracing where an event got cancelled along the chain can get difficult; the downside of
the central delegation benefit is it can be lead to debugging of action at a distance.
)
In May 2021, I started to adjust this model to minigui takes better advantage of D over Javascript
while keeping the benefits - and most compatibility with - the existing model. The main idea is
to simply use a D object type which provides a static interface as well as a built-in event name.
Then, a new static interface allows you to see what an event can emit and attach handlers to it
similarly to C#, which just forwards to the JS style api. They're fully compatible so you can still
delegate to a parent and use custom events as well as using the runtime dynamic access, in addition
to having a little more help from the D compiler and documentation generator.
Your code would change like this:
---
// old
widget.addEventListener("keydown", (Event ev) { ... }, /* optional arg */ useCapture );
// new
widget.addEventListener((KeyDownEvent ev) { ... }, /* optional arg */ useCapture );
---
The old-style code will still work, but using certain members of the [Event] class will generate deprecation warnings. Changing handlers to the new style will silence all those warnings at once without requiring any other changes to your code.
All you have to do is replace the string with a specific Event subclass. It will figure out the event string from the class.
Alternatively, you can cast the Event yourself to the appropriate subclass, but it is easier to let the library do it for you!
Thus the family of functions are:
[Widget.addEventListener] is the fully-flexible base method. It has two main overload families: one with the string and one without. The one with the string takes the Event object, the one without determines the string from the type you pass. The string "*" matches ALL events that pass through.
[Widget.addDirectEventListener] is addEventListener, but only calls the handler if target == this. Useful for something you can't afford to delegate.
[Widget.setDefaultEventHandler] is what is called if no preventDefault was called. This should be called in the widget's constructor to set default behaivor. Default event handlers are only called on the event target.
Let's implement a custom widget that can emit a ChangeEvent describing its `checked` property:
---
class MyCheckbox : Widget {
/// This gives a chance to document it and generates a convenience function to send it and attach handlers.
/// It is NOT actually required but should be used whenever possible.
mixin Emits!(ChangeEvent!bool);
this(Widget parent) {
super(parent);
setDefaultEventHandler((ClickEvent) { checked = !checked; });
}
private bool _checked;
@property bool checked() { return _checked; }
@property void checked(bool set) {
_checked = set;
emit!(ChangeEvent!bool)(&checked);
}
}
---
## Creating Your Own Events
To avoid clashing in the string namespace, your events should use your module and class name as the event string. The simple code `mixin Register;` in your Event subclass will do this for you.
---
class MyEvent : Event {
this(Widget target) { super(EventString, target); }
mixin Register; // adds EventString and other reflection information
}
---
Then declare that it is sent with the [Emits] mixin, so you can use [Widget.emit] to dispatch it.
History:
Prior to May 2021, Event had a set of pre-made members with no extensibility (outside of diy casts) and no static checks on field presence.
After that, those old pre-made members are deprecated accessors and the fields are moved to child classes. To transition, change string events to typed events or do a dynamic cast (don't forget the null check!) in your handler.
+/
/+
## General Conventions
Change events should NOT be emitted when a value is changed programmatically. Indeed, methods should usually not send events. The point of an event is to know something changed and when you call a method, you already know about it.
## Qt-style signals and slots
Some events make sense to use with just name and data type. These are one-way notifications with no propagation nor default behavior and thus separate from the other event system.
The intention is for events to be used when
---
class Demo : Widget {
this() {
myPropertyChanged = Signal!int(this);
}
@property myProperty(int v) {
myPropertyChanged.emit(v);
}
Signal!int myPropertyChanged; // i need to get `this` off it and inspect the name...
// but it can just genuinely not care about `this` since that's not really passed.
}
class Foo : Widget {
// the slot uda is not necessary, but it helps the script and ui builder find it.
@slot void setValue(int v) { ... }
}
demo.myPropertyChanged.connect(&foo.setValue);
---
The Signal type has a disabled default constructor, meaning your widget constructor must pass `this` to it in its constructor.
Some events may also wish to implement the Signal interface. These use particular arguments to call a method automatically.
class StringChangeEvent : ChangeEvent, Signal!string {
mixin SignalImpl
}
+/
class Event : ReflectableProperties {
/// Creates an event without populating any members and without sending it. See [dispatch]
this(string eventName, Widget emittedBy) {
this.eventName = eventName;
this.srcElement = emittedBy;
}
/// Implementations for the [ReflectableProperties] interface/
void getPropertiesList(scope void delegate(string name) sink) const {}
/// ditto
void getPropertyAsString(string name, scope void delegate(string name, scope const(char)[] value, bool valueIsJson) sink) { }
/// ditto
SetPropertyResult setPropertyFromString(string name, scope const(char)[] str, bool strIsJson) {
return SetPropertyResult.notPermitted;
}
/+
/++
This is an internal implementation detail of [Register] and is subject to be changed or removed at any time without notice.
It is just protected so the mixin template can see it from user modules. If I made it private, even my own mixin template couldn't see it due to mixin scoping rules.
+/
protected final void sinkJsonString(string memberName, scope const(char)[] value, scope void delegate(string name, scope const(char)[] value) finalSink) {
if(value.length == 0) {
finalSink(memberName, `""`);
return;
}
char[1024] bufferBacking;
char[] buffer = bufferBacking;
int bufferPosition;
void sink(char ch) {
if(bufferPosition >= buffer.length)
buffer.length = buffer.length + 1024;
buffer[bufferPosition++] = ch;
}
sink('"');
foreach(ch; value) {
switch(ch) {
case '\\':
sink('\\'); sink('\\');
break;
case '"':
sink('\\'); sink('"');
break;
case '\n':
sink('\\'); sink('n');
break;
case '\r':
sink('\\'); sink('r');
break;
case '\t':
sink('\\'); sink('t');
break;
default:
sink(ch);
}
}
sink('"');
finalSink(memberName, buffer[0 .. bufferPosition]);
}
+/
/+
enum EventInitiator {
system,
minigui,
user
}
immutable EventInitiator; initiatedBy;
+/
/++
Events should generally follow the propagation model, but there's some exceptions
to that rule. If so, they should override this to return false. In that case, only
bubbling event handlers on the target itself and capturing event handlers on the containing
window will be called. (That is, [dispatch] will call [sendDirectly] instead of doing the normal
capture -> target -> bubble process.)
History:
Added May 12, 2021
+/
bool propagates() const pure nothrow @nogc @safe {
return true;
}
/++
hints as to whether preventDefault will actually do anything. not entirely reliable.
History:
Added May 14, 2021
+/
bool cancelable() const pure nothrow @nogc @safe {
return true;
}
/++
You can mix this into child class to register some boilerplate. It includes the `EventString`
member, a constructor, and implementations of the dynamic get data interfaces.
If you fail to do this, your event will probably not have full compatibility but it might still work for you.
You can override the default EventString by simply providing your own in the form of
`enum string EventString = "some.name";` The default is the name of your class and its parent entity
which provides some namespace protection against conflicts in other libraries while still being fairly
easy to use.
If you provide your own constructor, it will override the default constructor provided here. A constructor
must call `super(EventString, passed_widget_target)` at some point. The `passed_widget_target` must be the
first argument to your constructor.
History:
Added May 13, 2021.
+/
protected static mixin template Register() {
public enum string EventString = __traits(identifier, __traits(parent, typeof(this))) ~ "." ~ __traits(identifier, typeof(this));
this(Widget target) { super(EventString, target); }
mixin ReflectableProperties.RegisterGetters;
}
/++
This is the widget that emitted the event.
The aliased names come from Javascript for ease of web developers to transition in, but they're all synonyms.
History:
The `source` name was added on May 14, 2021. It is a little weird that `source` and `target` are synonyms,
but that's a side effect of it doing both capture and bubble handlers and people are used to it from the web
so I don't intend to remove these aliases.
+/
Widget source;
/// ditto
alias source target;
/// ditto
alias source srcElement;
Widget relatedTarget; /// Note: likely to be deprecated at some point.
/// Prevents the default event handler (if there is one) from being called
void preventDefault() {
lastDefaultPrevented = true;
defaultPrevented = true;
}
/// Stops the event propagation immediately.
void stopPropagation() {
propagationStopped = true;
}
private bool defaultPrevented;
private bool propagationStopped;
private string eventName;
private bool isBubbling;
/// This is an internal implementation detail you should not use. It would be private if the language allowed it and it may be removed without notice.
protected void adjustScrolling() { }
/// ditto
protected void adjustClientCoordinates(int deltaX, int deltaY) { }
/++
this sends it only to the target. If you want propagation, use dispatch() instead.
This should be made private!!!
+/
void sendDirectly() {
if(srcElement is null)
return;
// i capturing on the parent too. The main reason for this is that gives a central place to log all events for the debug window.
//debug if(eventName != "mousemove" && target !is null && target.parentWindow && target.parentWindow.devTools)
//target.parentWindow.devTools.log("Event ", eventName, " dispatched directly to ", srcElement);
adjustScrolling();
if(auto e = target.parentWindow) {
if(auto handlers = "*" in e.capturingEventHandlers)
foreach(handler; *handlers)
if(handler) handler(e, this);
if(auto handlers = eventName in e.capturingEventHandlers)
foreach(handler; *handlers)
if(handler) handler(e, this);
}
auto e = srcElement;
if(auto handlers = eventName in e.bubblingEventHandlers)
foreach(handler; *handlers)
if(handler) handler(e, this);
if(auto handlers = "*" in e.bubblingEventHandlers)
foreach(handler; *handlers)
if(handler) handler(e, this);
// there's never a default for a catch-all event
if(!defaultPrevented)
if(eventName in e.defaultEventHandlers)
e.defaultEventHandlers[eventName](e, this);
}
/// this dispatches the element using the capture -> target -> bubble process
void dispatch() {
if(srcElement is null)
return;
if(!propagates) {
sendDirectly;
return;
}
//debug if(eventName != "mousemove" && target !is null && target.parentWindow && target.parentWindow.devTools)
//target.parentWindow.devTools.log("Event ", eventName, " dispatched to ", srcElement);
adjustScrolling();
// first capture, then bubble
Widget[] chain;
Widget curr = srcElement;
while(curr) {
auto l = curr;
chain ~= l;
curr = curr.parent;
}
isBubbling = false;
foreach_reverse(e; chain) {
if(auto handlers = "*" in e.capturingEventHandlers)
foreach(handler; *handlers) if(handler !is null) handler(e, this);
if(propagationStopped)
break;
if(auto handlers = eventName in e.capturingEventHandlers)
foreach(handler; *handlers) if(handler !is null) handler(e, this);
// the default on capture should really be to always do nothing
//if(!defaultPrevented)
// if(eventName in e.defaultEventHandlers)
// e.defaultEventHandlers[eventName](e.element, this);
if(propagationStopped)
break;
}
int adjustX;
int adjustY;
isBubbling = true;
if(!propagationStopped)
foreach(e; chain) {
if(auto handlers = eventName in e.bubblingEventHandlers)
foreach(handler; *handlers) if(handler !is null) handler(e, this);
if(propagationStopped)
break;
if(auto handlers = "*" in e.bubblingEventHandlers)
foreach(handler; *handlers) if(handler !is null) handler(e, this);
if(propagationStopped)
break;
if(e.encapsulatedChildren()) {
adjustClientCoordinates(adjustX, adjustY);
target = e;
} else {
adjustX += e.x;
adjustY += e.y;
}
}
if(!defaultPrevented)
foreach(e; chain) {
if(eventName in e.defaultEventHandlers)
e.defaultEventHandlers[eventName](e, this);
}
}
/* old compatibility things */
deprecated("Use some subclass of KeyEventBase instead of plain Event in your handler going forward. WARNING these may crash on non-key events!")
final @property {
Key key() { return (cast(KeyEventBase) this).key; }
KeyEvent originalKeyEvent() { return (cast(KeyEventBase) this).originalKeyEvent; }
bool ctrlKey() { return (cast(KeyEventBase) this).ctrlKey; }
bool altKey() { return (cast(KeyEventBase) this).altKey; }
bool shiftKey() { return (cast(KeyEventBase) this).shiftKey; }
}
deprecated("Use some subclass of MouseEventBase instead of Event in your handler going forward. WARNING these may crash on non-mouse events!")
final @property {
int clientX() { return (cast(MouseEventBase) this).clientX; }
int clientY() { return (cast(MouseEventBase) this).clientY; }
int viewportX() { return (cast(MouseEventBase) this).viewportX; }
int viewportY() { return (cast(MouseEventBase) this).viewportY; }
int button() { return (cast(MouseEventBase) this).button; }
int buttonLinear() { return (cast(MouseEventBase) this).buttonLinear; }
}
deprecated("Use either a KeyEventBase or a MouseEventBase instead of Event in your handler going forward")
final @property {
int state() {
if(auto meb = cast(MouseEventBase) this)
return meb.state;
if(auto keb = cast(KeyEventBase) this)
return keb.state;
assert(0);
}
}
deprecated("Use a CharEvent instead of Event in your handler going forward")
final @property {
dchar character() {
if(auto ce = cast(CharEvent) this)
return ce.character;
return dchar.init;
}
}
// for change events
@property {
///
int intValue() { return 0; }
///
string stringValue() { return null; }
}
}
/++
This lets you statically verify you send the events you claim you send and gives you a hook to document them.
Please note that a widget may send events not listed as Emits. You can always construct and dispatch
dynamic and custom events, but the static list helps ensure you get them right.
If this is declared, you can use [Widget.emit] to send the event.
All events work the same way though, following the capture->widget->bubble model described under [Event].
History:
Added May 4, 2021
+/
mixin template Emits(EventType) {
import arsd.minigui : EventString;
static if(is(EventType : Event) && !is(EventType == Event))
mixin("private EventType[0] emits_" ~ EventStringIdentifier!EventType ~";");
else
static assert(0, "You can only emit subclasses of Event");
}
/// ditto
mixin template Emits(string eventString) {
mixin("private Event[0] emits_" ~ eventString ~";");
}
/*
class SignalEvent(string name) : Event {
}
*/
/++
Command Events are used with a widget wants to issue a higher-level, yet loosely coupled command do its parents and other interested listeners, for example, "scroll up".
Command Events are a bit special in the way they're used. You don't typically refer to them by object, but instead by a name string and a set of arguments. The expectation is that they will be delegated to a parent, which "consumes" the command - it handles it and stops its propagation upward. The [consumesCommand] method will call your handler with the arguments, then stop the command event's propagation for you, meaning you don't have to call [Event.stopPropagation]. A command event should have no default behavior, so calling [Event.preventDefault] is not necessary either.
History:
Added on May 13, 2021. Prior to that, you'd most likely `addEventListener(EventType.triggered, ...)` to handle similar things.
+/
class CommandEvent : Event {
enum EventString = "command";
this(Widget source, string CommandString = EventString) {
super(CommandString, source);
}
}
/++
A [CommandEvent] is typically actually an instance of these to hold the strongly-typed arguments.
+/
class CommandEventWithArgs(Args...) : CommandEvent {
this(Widget source, string CommandString, Args args) { super(source, CommandString); this.args = args; }
Args args;
}
/++
Declares that the given widget consumes a command identified by the `CommandString` AND containing `Args`. Your `handler` is called with the arguments, then the event's propagation is stopped, so it will not be seen by the consumer's parents.
See [CommandEvent] for more information.
Returns:
The [EventListener] you can use to remove the handler.
+/
EventListener consumesCommand(string CommandString, WidgetType, Args...)(WidgetType w, void delegate(Args) handler) {
return w.addEventListener(CommandString, (Event ev) {
if(ev.target is w)
return; // it does not consume its own commands!
if(auto cev = cast(CommandEventWithArgs!Args) ev) {
handler(cev.args);
ev.stopPropagation();
}
});
}
/++
Emits a command to the sender widget's parents with the given `CommandString` and `args`. You have no way of knowing if it was ever actually consumed due to the loose coupling. Instead, the consumer may broadcast a state update back toward you.
+/
void emitCommand(string CommandString, WidgetType, Args...)(WidgetType w, Args args) {
auto event = new CommandEventWithArgs!Args(w, CommandString, args);
event.dispatch();
}
class ResizeEvent : Event {
enum EventString = "resize";
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
}
/++
ClosingEvent is fired when a user is attempting to close a window. You can `preventDefault` to cancel the close.
ClosedEvent happens when the window has been closed. It is already gone by the time this event fires, meaning you cannot prevent the close. Use [ClosingEvent] if you want to cancel, use [ClosedEvent] if you simply want to be notified.
History:
Added June 21, 2021 (dub v10.1)
+/
class ClosingEvent : Event {
enum EventString = "closing";
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
override bool cancelable() const { return true; }
}
/// ditto
class ClosedEvent : Event {
enum EventString = "closed";
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
override bool cancelable() const { return false; }
}
///
class BlurEvent : Event {
enum EventString = "blur";
// FIXME: related target?
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
}
///
class FocusEvent : Event {
enum EventString = "focus";
// FIXME: related target?
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
}
/++
FocusInEvent is a FocusEvent that propagates, while FocusOutEvent is a BlurEvent that propagates.
History:
Added July 3, 2021
+/
class FocusInEvent : Event {
enum EventString = "focusin";
// FIXME: related target?
this(Widget target) { super(EventString, target); }
override bool cancelable() const { return false; }
}
/// ditto
class FocusOutEvent : Event {
enum EventString = "focusout";
// FIXME: related target?
this(Widget target) { super(EventString, target); }
override bool cancelable() const { return false; }
}
///
class ScrollEvent : Event {
enum EventString = "scroll";
this(Widget target) { super(EventString, target); }
override bool cancelable() const { return false; }
}
/++
Indicates that a character has been typed by the user. Normally dispatched to the currently focused widget.
History:
Added May 2, 2021. Previously, this was simply a "char" event and `character` as a member of the [Event] base class.
+/
class CharEvent : Event {
enum EventString = "char";
this(Widget target, dchar ch) {
character = ch;
super(EventString, target);
}
immutable dchar character;
}
/++
You should generally use a `ChangeEvent!Type` instead of this directly. See [ChangeEvent] for more information.
+/
abstract class ChangeEventBase : Event {
enum EventString = "change";
this(Widget target) {
super(EventString, target);
}
/+
// idk where or how exactly i want to do this.
// i might come back to it later.
// If a widget itself broadcasts one of theses itself, it stops propagation going down
// this way the source doesn't get too confused (think of a nested scroll widget)
//
// the idea is like the scroll bar emits a command event saying like "scroll left one line"
// then you consume that command and change you scroll x position to whatever. then you do
// some kind of change event that is broadcast back to the children and any horizontal scroll
// listeners are now able to update, without having an explicit connection between them.
void broadcastToChildren(string fieldName) {
}
+/
}
/++
Single-value widgets (that is, ones with a programming interface that just expose a value that the user has control over) should emit this after their value changes.
Generally speaking, if your widget can reasonably have a `@property T value();` or `@property bool checked();` method, it should probably emit this event when that value changes to inform its parents that they can now read a new value. Whether you emit it on each keystroke or other intermediate values or only when a value is committed (e.g. when the user leaves the field) is up to the widget. You might even make that a togglable property depending on your needs (emitting events can get expensive).
The delegate you pass to the constructor ought to be a handle to your getter property. If your widget has `@property string value()` for example, you emit `ChangeEvent!string(&value);`
Since it is emitted after the value has already changed, [preventDefault] is unlikely to do anything.
History:
Added May 11, 2021. Prior to that, widgets would more likely just send `new Event("change")`. These typed ChangeEvents are still compatible with listeners subscribed to generic change events.
+/
class ChangeEvent(T) : ChangeEventBase {
this(Widget target, T delegate() getNewValue) {
assert(getNewValue !is null);
this.getNewValue = getNewValue;
super(target);
}
private T delegate() getNewValue;
/++
Gets the new value that just changed.
+/
@property T value() {
return getNewValue();
}
/// compatibility method for old generic Events
static if(is(immutable T == immutable int))
override int intValue() { return value; }
/// ditto
static if(is(immutable T == immutable string))
override string stringValue() { return value; }
}
/++
Contains shared properties for [KeyDownEvent]s and [KeyUpEvent]s.
You can construct these yourself, but generally the system will send them to you and there's little need to emit your own.
History:
Added May 2, 2021. Previously, its properties were members of the [Event] base class.
+/
abstract class KeyEventBase : Event {
this(string name, Widget target) {
super(name, target);
}
// for key events
Key key; ///
KeyEvent originalKeyEvent;
/++
Indicates the current state of the given keyboard modifier keys.
History:
Added to events on April 15, 2020.
+/
bool ctrlKey;
/// ditto
bool altKey;
/// ditto
bool shiftKey;
/++
The raw bitflags that are parsed out into [ctrlKey], [altKey], and [shiftKey].
See [arsd.simpledisplay.ModifierState] for other possible flags.
+/
int state;
mixin Register;
}
/++
Indicates that the user has pressed a key on the keyboard, or if they've been holding it long enough to repeat (key down events are sent both on the initial press then repeated by the OS on its own time.) For available properties, see [KeyEventBase].
You can construct these yourself, but generally the system will send them to you and there's little need to emit your own.
Please note that a `KeyDownEvent` will also often send a [CharEvent], but there is not necessarily a one-to-one relationship between them. For example, a capital letter may send KeyDownEvent for Key.Shift, then KeyDownEvent for the letter's key (this key may not match the letter due to keyboard mappings), then CharEvent for the letter, then KeyUpEvent for the letter, and finally, KeyUpEvent for shift.
For some characters, there are other key down events as well. A compose key can be pressed and released, followed by several letters pressed and released to generate one character. This is why [CharEvent] is a separate entity.
See_Also: [KeyUpEvent], [CharEvent]
History:
Added May 2, 2021. Previously, it was only seen as the base [Event] class on "keydown" event listeners.
+/
class KeyDownEvent : KeyEventBase {
enum EventString = "keydown";
this(Widget target) { super(EventString, target); }
}
/++
Indicates that the user has released a key on the keyboard. For available properties, see [KeyEventBase].
You can construct these yourself, but generally the system will send them to you and there's little need to emit your own.
See_Also: [KeyDownEvent], [CharEvent]
History:
Added May 2, 2021. Previously, it was only seen as the base [Event] class on "keyup" event listeners.
+/
class KeyUpEvent : KeyEventBase {
enum EventString = "keyup";
this(Widget target) { super(EventString, target); }
}
/++
Contains shared properties for various mouse events;
You can construct these yourself, but generally the system will send them to you and there's little need to emit your own.
History:
Added May 2, 2021. Previously, its properties were members of the [Event] base class.
+/
abstract class MouseEventBase : Event {
this(string name, Widget target) {
super(name, target);
}
// for mouse events
int clientX; /// The mouse event location relative to the target widget
int clientY; /// ditto
int viewportX; /// The mouse event location relative to the window origin
int viewportY; /// ditto
int button; /// See: [MouseEvent.button]
int buttonLinear; /// See: [MouseEvent.buttonLinear]
/++
Indicates the current state of the given keyboard modifier keys.
History:
Added to mouse events on September 28, 2010.
+/
bool ctrlKey;
/// ditto
bool altKey;
/// ditto
bool shiftKey;
int state; ///
/++
for consistent names with key event.
History:
Added September 28, 2021 (dub v10.3)
+/
alias modifierState = state;
/++
Mouse wheel movement sends down/up/click events just like other buttons clicking. This method is to help you filter that out.
History:
Added May 15, 2021
+/
bool isMouseWheel() {
return button == MouseButton.wheelUp || button == MouseButton.wheelDown;
}
// private
override void adjustClientCoordinates(int deltaX, int deltaY) {
clientX += deltaX;
clientY += deltaY;
}
override void adjustScrolling() {
version(custom_widgets) { // TEMP
viewportX = clientX;
viewportY = clientY;
if(auto se = cast(ScrollableWidget) srcElement) {
clientX += se.scrollOrigin.x;
clientY += se.scrollOrigin.y;
} else if(auto se = cast(ScrollableContainerWidget) srcElement) {
//clientX += se.scrollX_;
//clientY += se.scrollY_;
}
}
}
mixin Register;
}
/++
Indicates that the user has worked with the mouse over your widget. For available properties, see [MouseEventBase].
$(WARNING
Important: MouseDownEvent, MouseUpEvent, ClickEvent, and DoubleClickEvent are all sent for all mouse buttons and
for wheel movement! You should check the [MouseEventBase.button|button] property in most your handlers to get correct
behavior.
)
[MouseDownEvent] is sent when the user presses a mouse button. It is also sent on mouse wheel movement.
[MouseUpEvent] is sent when the user releases a mouse button.
[MouseMoveEvent] is sent when the mouse is moved. Please note you may not receive this in some cases unless a button is also pressed; the system is free to withhold them as an optimization. (In practice, [arsd.simpledisplay] does not request mouse motion event without a held button if it is on a remote X11 link, but does elsewhere at this time.)
[ClickEvent] is sent when the user clicks on the widget. It may also be sent with keyboard control, though minigui prefers to send a "triggered" event in addition to a mouse click and instead of a simulated mouse click in cases like keyboard activation of a button.
[DoubleClickEvent] is sent when the user clicks twice on a thing quickly, immediately after the second MouseDownEvent. The sequence is: MouseDownEvent, MouseUpEvent, ClickEvent, MouseDownEvent, DoubleClickEvent, MouseUpEvent. The second ClickEvent is NOT sent. Note that this is differnet than Javascript! They would send down,up,click,down,up,click,dblclick. Minigui does it differently because this is the way the Windows OS reports it.
[MouseOverEvent] is sent then the mouse first goes over a widget. Please note that this participates in event propagation of children! Use [MouseEnterEvent] instead if you are only interested in a specific element's whole bounding box instead of the top-most element in any particular location.
[MouseOutEvent] is sent when the mouse exits a target. Please note that this participates in event propagation of children! Use [MouseLeaveEvent] instead if you are only interested in a specific element's whole bounding box instead of the top-most element in any particular location.
[MouseEnterEvent] is sent when the mouse enters the bounding box of a widget.
[MouseLeaveEvent] is sent when the mouse leaves the bounding box of a widget.
You can construct these yourself, but generally the system will send them to you and there's little need to emit your own.
Rationale:
If you only want to do drag, mousedown/up works just fine being consistently sent.
If you want click, that event does what you expect (if the user mouse downs then moves the mouse off the widget before going up, no click event happens - a click is only down and back up on the same thing).
If you want double click and listen to that specifically, it also just works, and if you only cared about clicks, odds are the double click should do the same thing as a single click anyway - the double was prolly accidental - so only sending the event once is prolly what user intended.
History:
Added May 2, 2021. Previously, it was only seen as the base [Event] class on event listeners. See the member [EventString] to see what the associated string is with these elements.
+/
class MouseUpEvent : MouseEventBase {
enum EventString = "mouseup"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class MouseDownEvent : MouseEventBase {
enum EventString = "mousedown"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class MouseMoveEvent : MouseEventBase {
enum EventString = "mousemove"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class ClickEvent : MouseEventBase {
enum EventString = "click"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class DoubleClickEvent : MouseEventBase {
enum EventString = "dblclick"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class MouseOverEvent : Event {
enum EventString = "mouseover"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class MouseOutEvent : Event {
enum EventString = "mouseout"; ///
this(Widget target) { super(EventString, target); }
}
/// ditto
class MouseEnterEvent : Event {
enum EventString = "mouseenter"; ///
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
}
/// ditto
class MouseLeaveEvent : Event {
enum EventString = "mouseleave"; ///
this(Widget target) { super(EventString, target); }
override bool propagates() const { return false; }
}
private bool isAParentOf(Widget a, Widget b) {
if(a is null || b is null)
return false;
while(b !is null) {
if(a is b)
return true;
b = b.parent;
}
return false;
}
private struct WidgetAtPointResponse {
Widget widget;
// x, y relative to the widget in the response.
int x;
int y;
}
private WidgetAtPointResponse widgetAtPoint(Widget starting, int x, int y) {
assert(starting !is null);
starting.addScrollPosition(x, y);
auto child = starting.getChildAtPosition(x, y);
while(child) {
if(child.hidden)
continue;
starting = child;
x -= child.x;
y -= child.y;
auto r = starting.widgetAtPoint(x, y);//starting.getChildAtPosition(x, y);
child = r.widget;
if(child is starting)
break;
}
return WidgetAtPointResponse(starting, x, y);
}
version(win32_widgets) {
private:
import core.sys.windows.commctrl;
pragma(lib, "comctl32");
shared static this() {
// http://msdn.microsoft.com/en-us/library/windows/desktop/bb775507(v=vs.85).aspx
INITCOMMONCONTROLSEX ic;
ic.dwSize = cast(DWORD) ic.sizeof;
ic.dwICC = ICC_UPDOWN_CLASS | ICC_WIN95_CLASSES | ICC_BAR_CLASSES | ICC_PROGRESS_CLASS | ICC_COOL_CLASSES | ICC_STANDARD_CLASSES | ICC_USEREX_CLASSES;
if(!InitCommonControlsEx(&ic)) {
//import std.stdio; writeln("ICC failed");
}
}
// everything from here is just win32 headers copy pasta
private:
extern(Windows):
alias HANDLE HMENU;
HMENU CreateMenu();
bool SetMenu(HWND, HMENU);
HMENU CreatePopupMenu();
enum MF_POPUP = 0x10;
enum MF_STRING = 0;
BOOL InitCommonControlsEx(const INITCOMMONCONTROLSEX*);
struct INITCOMMONCONTROLSEX {
DWORD dwSize;
DWORD dwICC;
}
enum HINST_COMMCTRL = cast(HINSTANCE) (-1);
enum {
IDB_STD_SMALL_COLOR,
IDB_STD_LARGE_COLOR,
IDB_VIEW_SMALL_COLOR = 4,
IDB_VIEW_LARGE_COLOR = 5
}
enum {
STD_CUT,
STD_COPY,
STD_PASTE,
STD_UNDO,
STD_REDOW,
STD_DELETE,
STD_FILENEW,
STD_FILEOPEN,
STD_FILESAVE,
STD_PRINTPRE,
STD_PROPERTIES,
STD_HELP,
STD_FIND,
STD_REPLACE,
STD_PRINT // = 14
}
alias HANDLE HIMAGELIST;
HIMAGELIST ImageList_Create(int, int, UINT, int, int);
int ImageList_Add(HIMAGELIST, HBITMAP, HBITMAP);
BOOL ImageList_Destroy(HIMAGELIST);
uint MAKELONG(ushort a, ushort b) {
return cast(uint) ((b << 16) | a);
}
struct TBBUTTON {
int iBitmap;
int idCommand;
BYTE fsState;
BYTE fsStyle;
version(Win64)
BYTE[6] bReserved;
else
BYTE[2] bReserved;
DWORD dwData;
INT_PTR iString;
}
enum {
TB_ADDBUTTONSA = WM_USER + 20,
TB_INSERTBUTTONA = WM_USER + 21,
TB_GETIDEALSIZE = WM_USER + 99,
}
struct SIZE {
LONG cx;
LONG cy;
}
enum {
TBSTATE_CHECKED = 1,
TBSTATE_PRESSED = 2,
TBSTATE_ENABLED = 4,
TBSTATE_HIDDEN = 8,
TBSTATE_INDETERMINATE = 16,
TBSTATE_WRAP = 32
}
enum {
ILC_COLOR = 0,
ILC_COLOR4 = 4,
ILC_COLOR8 = 8,
ILC_COLOR16 = 16,
ILC_COLOR24 = 24,
ILC_COLOR32 = 32,
ILC_COLORDDB = 254,
ILC_MASK = 1,
ILC_PALETTE = 2048
}
alias TBBUTTON* PTBBUTTON, LPTBBUTTON;
enum {
TB_ENABLEBUTTON = WM_USER + 1,
TB_CHECKBUTTON,
TB_PRESSBUTTON,
TB_HIDEBUTTON,
TB_INDETERMINATE, // = WM_USER + 5,
TB_ISBUTTONENABLED = WM_USER + 9,
TB_ISBUTTONCHECKED,
TB_ISBUTTONPRESSED,
TB_ISBUTTONHIDDEN,
TB_ISBUTTONINDETERMINATE, // = WM_USER + 13,
TB_SETSTATE = WM_USER + 17,
TB_GETSTATE = WM_USER + 18,
TB_ADDBITMAP = WM_USER + 19,
TB_DELETEBUTTON = WM_USER + 22,
TB_GETBUTTON,
TB_BUTTONCOUNT,
TB_COMMANDTOINDEX,
TB_SAVERESTOREA,
TB_CUSTOMIZE,
TB_ADDSTRINGA,
TB_GETITEMRECT,
TB_BUTTONSTRUCTSIZE,
TB_SETBUTTONSIZE,
TB_SETBITMAPSIZE,
TB_AUTOSIZE, // = WM_USER + 33,
TB_GETTOOLTIPS = WM_USER + 35,
TB_SETTOOLTIPS = WM_USER + 36,
TB_SETPARENT = WM_USER + 37,
TB_SETROWS = WM_USER + 39,
TB_GETROWS,
TB_GETBITMAPFLAGS,
TB_SETCMDID,
TB_CHANGEBITMAP,
TB_GETBITMAP,
TB_GETBUTTONTEXTA,
TB_REPLACEBITMAP, // = WM_USER + 46,
TB_GETBUTTONSIZE = WM_USER + 58,
TB_SETBUTTONWIDTH = WM_USER + 59,
TB_GETBUTTONTEXTW = WM_USER + 75,
TB_SAVERESTOREW = WM_USER + 76,
TB_ADDSTRINGW = WM_USER + 77,
}
extern(Windows)
BOOL EnumChildWindows(HWND, WNDENUMPROC, LPARAM);
alias extern(Windows) BOOL function (HWND, LPARAM) WNDENUMPROC;
enum {
TB_SETINDENT = WM_USER + 47,
TB_SETIMAGELIST,
TB_GETIMAGELIST,
TB_LOADIMAGES,
TB_GETRECT,
TB_SETHOTIMAGELIST,
TB_GETHOTIMAGELIST,
TB_SETDISABLEDIMAGELIST,
TB_GETDISABLEDIMAGELIST,
TB_SETSTYLE,
TB_GETSTYLE,
//TB_GETBUTTONSIZE,
//TB_SETBUTTONWIDTH,
TB_SETMAXTEXTROWS,
TB_GETTEXTROWS // = WM_USER + 61
}
enum {
CCM_FIRST = 0x2000,
CCM_LAST = CCM_FIRST + 0x200,
CCM_SETBKCOLOR = 8193,
CCM_SETCOLORSCHEME = 8194,
CCM_GETCOLORSCHEME = 8195,
CCM_GETDROPTARGET = 8196,
CCM_SETUNICODEFORMAT = 8197,
CCM_GETUNICODEFORMAT = 8198,
CCM_SETVERSION = 0x2007,
CCM_GETVERSION = 0x2008,
CCM_SETNOTIFYWINDOW = 0x2009
}
enum {
PBM_SETRANGE = WM_USER + 1,
PBM_SETPOS,
PBM_DELTAPOS,
PBM_SETSTEP,
PBM_STEPIT, // = WM_USER + 5
PBM_SETRANGE32 = 1030,
PBM_GETRANGE,
PBM_GETPOS,
PBM_SETBARCOLOR, // = 1033
PBM_SETBKCOLOR = CCM_SETBKCOLOR
}
enum {
PBS_SMOOTH = 1,
PBS_VERTICAL = 4
}
enum {
ICC_LISTVIEW_CLASSES = 1,
ICC_TREEVIEW_CLASSES = 2,
ICC_BAR_CLASSES = 4,
ICC_TAB_CLASSES = 8,
ICC_UPDOWN_CLASS = 16,
ICC_PROGRESS_CLASS = 32,
ICC_HOTKEY_CLASS = 64,
ICC_ANIMATE_CLASS = 128,
ICC_WIN95_CLASSES = 255,
ICC_DATE_CLASSES = 256,
ICC_USEREX_CLASSES = 512,
ICC_COOL_CLASSES = 1024,
ICC_STANDARD_CLASSES = 0x00004000,
}
enum WM_USER = 1024;
}
version(win32_widgets)
pragma(lib, "comdlg32");
///
enum GenericIcons : ushort {
None, ///
// these happen to match the win32 std icons numerically if you just subtract one from the value
Cut, ///
Copy, ///
Paste, ///
Undo, ///
Redo, ///
Delete, ///
New, ///
Open, ///
Save, ///
PrintPreview, ///
Properties, ///
Help, ///
Find, ///
Replace, ///
Print, ///
}
enum FileDialogType {
Automatic,
Open,
Save
}
string previousFileReferenced;
/++
Used in automatic menu functions to indicate that the user should be able to browse for a file.
Params:
storage = an alias to a `static string` variable that stores the last file referenced. It will
use this to pre-fill the dialog with a suggestion.
Please note that it MUST be `static` or you will get compile errors.
filters = the filters param to [getFileName]
type = the type if dialog to show. If `FileDialogType.Automatic`, it the driver code will
guess based on the function name. If it has the word "Save" or "Export" in it, it will show
a save dialog box. Otherwise, it will show an open dialog box.
+/
struct FileName(alias storage = previousFileReferenced, string[] filters = null, FileDialogType type = FileDialogType.Automatic) {
string name;
alias name this;
}
/++
History:
The dialog itself on Linux was modified on December 2, 2021 to include
a directory picker in addition to the command line completion view.
Future_directions:
I want to add some kind of custom preview and maybe thumbnail thing in the future,
at least on Linux, maybe on Windows too.
+/
void getOpenFileName(
void delegate(string) onOK,
string prefilledName = null,
string[] filters = null,
void delegate() onCancel = null,
)
{
return getFileName(true, onOK, prefilledName, filters, onCancel);
}
/++
History:
onCancel was added November 6, 2021.
+/
void getSaveFileName(
void delegate(string) onOK,
string prefilledName = null,
string[] filters = null,
void delegate() onCancel = null,
)
{
return getFileName(false, onOK, prefilledName, filters, onCancel);
}
void getFileName(
bool openOrSave,
void delegate(string) onOK,
string prefilledName = null,
string[] filters = null, // format here is like ["Text files\0*.txt;*.text", "Image files\0*.png;*.jpg"]
void delegate() onCancel = null,
)
{
version(win32_widgets) {
import core.sys.windows.commdlg;
/*
Ofn.lStructSize = sizeof(OPENFILENAME);
Ofn.hwndOwner = hWnd;
Ofn.lpstrFilter = szFilter;
Ofn.lpstrFile= szFile;
Ofn.nMaxFile = sizeof(szFile)/ sizeof(*szFile);
Ofn.lpstrFileTitle = szFileTitle;
Ofn.nMaxFileTitle = sizeof(szFileTitle);
Ofn.lpstrInitialDir = (LPSTR)NULL;
Ofn.Flags = OFN_SHOWHELP | OFN_OVERWRITEPROMPT;
Ofn.lpstrTitle = szTitle;
*/
wchar[1024] file = 0;
wchar[1024] filterBuffer = 0;
makeWindowsString(prefilledName, file[]);
OPENFILENAME ofn;
ofn.lStructSize = ofn.sizeof;
if(filters.length) {
string filter;
foreach(i, f; filters) {
filter ~= f;
filter ~= "\0";
}
filter ~= "\0";
ofn.lpstrFilter = makeWindowsString(filter, filterBuffer[], 0 /* already terminated */).ptr;
}
ofn.lpstrFile = file.ptr;
ofn.nMaxFile = file.length;
if(openOrSave ? GetOpenFileName(&ofn) : GetSaveFileName(&ofn)) {
onOK(makeUtf8StringFromWindowsString(ofn.lpstrFile));
} else {
if(onCancel)
onCancel();
}
} else version(custom_widgets) {
if(filters.length == 0)
filters = ["All Files\0*.*"];
auto picker = new FilePicker(prefilledName, filters);
picker.onOK = onOK;
picker.onCancel = onCancel;
picker.show();
}
}
version(custom_widgets)
private
class FilePicker : Dialog {
void delegate(string) onOK;
void delegate() onCancel;
LineEdit lineEdit;
enum GetFilesResult {
success,
fileNotFound
}
static GetFilesResult getFiles(string cwd, scope void delegate(string name, bool isDirectory) dg) {
version(Windows) {
WIN32_FIND_DATA data;
WCharzBuffer search = WCharzBuffer(cwd ~ "/*");
auto handle = FindFirstFileW(search.ptr, &data);
scope(exit) if(handle !is INVALID_HANDLE_VALUE) FindClose(handle);
if(handle is INVALID_HANDLE_VALUE) {
if(GetLastError() == ERROR_FILE_NOT_FOUND)
return GetFilesResult.fileNotFound;
throw new WindowsApiException("FindFirstFileW");
}
try_more:
string name = makeUtf8StringFromWindowsString(data.cFileName[0 .. findIndexOfZero(data.cFileName[])]);
dg(name, (data.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? true : false);
auto ret = FindNextFileW(handle, &data);
if(ret == 0) {
if(GetLastError() == ERROR_NO_MORE_FILES)
return GetFilesResult.success;
throw new WindowsApiException("FindNextFileW");
}
goto try_more;
} else version(Posix) {
import core.sys.posix.dirent;
auto dir = opendir((cwd ~ "\0").ptr);
scope(exit)
if(dir) closedir(dir);
if(dir is null)
throw new ErrnoApiException("opendir [" ~ cwd ~ "]");
auto dirent = readdir(dir);
if(dirent is null)
return GetFilesResult.fileNotFound;
try_more:
string name = dirent.d_name[0 .. findIndexOfZero(dirent.d_name[])].idup;
dg(name, dirent.d_type == DT_DIR);
dirent = readdir(dir);
if(dirent is null)
return GetFilesResult.success;
goto try_more;
} else static assert(0);
}
// returns common prefix
string loadFiles(string cwd, string[] filters...) {
string[] files;
string[] dirs;
string commonPrefix;
getFiles(cwd, (string name, bool isDirectory) {
if(name == ".")
return; // skip this as unnecessary
if(isDirectory)
dirs ~= name;
else {
foreach(filter; filters)
if(
filter.length <= 1 ||
filter == "*.*" ||
(filter[0] == '*' && name.endsWith(filter[1 .. $])) ||
(filter[$-1] == '*' && name.startsWith(filter[0 .. $ - 1]))
)
{
files ~= name;
if(filter.length > 0 && filter[$-1] == '*') {
if(commonPrefix is null) {
commonPrefix = name;
} else {
foreach(idx, char i; name) {
if(idx >= commonPrefix.length || i != commonPrefix[idx]) {
commonPrefix = commonPrefix[0 .. idx];
break;
}
}
}
}
break;
}
}
});
extern(C) static int comparator(scope const void* a, scope const void* b) {
auto sa = *cast(string*) a;
auto sb = *cast(string*) b;
for(int i = 0; i < sa.length; i++) {
if(i == sb.length)
return 1;
return sa[i] - sb[i];
}
return 0;
}
nonPhobosSort(files, &comparator);
nonPhobosSort(dirs, &comparator);
listWidget.clear();
dirWidget.clear();
foreach(name; dirs)
dirWidget.addOption(name);
foreach(name; files)
listWidget.addOption(name);
return commonPrefix;
}
ListWidget listWidget;
ListWidget dirWidget;
string currentDirectory;
string[] processedFilters;
//string[] filters = null, // format here is like ["Text files\0*.txt;*.text", "Image files\n*.png;*.jpg"]
this(string prefilledName, string[] filters, Window owner = null) {
super(300, 200, "Choose File..."); // owner);
foreach(filter; filters) {
while(filter.length && filter[0] != 0) {
filter = filter[1 .. $];
}
if(filter.length)
filter = filter[1 .. $]; // trim off the 0
while(filter.length) {
int idx = 0;
while(idx < filter.length && filter[idx] != ';') {
idx++;
}
processedFilters ~= filter[0 .. idx];
if(idx < filter.length)
idx++; // skip the ;
filter = filter[idx .. $];
}
}
currentDirectory = ".";
{
auto hl = new HorizontalLayout(this);
dirWidget = new ListWidget(hl);
listWidget = new ListWidget(hl);
// double click events normally trigger something else but
// here user might be clicking kinda fast and we'd rather just
// keep it
dirWidget.addEventListener((scope DoubleClickEvent dev) {
auto ce = new ChangeEvent!void(dirWidget, () {});
ce.dispatch();
});
dirWidget.addEventListener((scope ChangeEvent!void sce) {
string v;
foreach(o; dirWidget.options)
if(o.selected) {
v = o.label;
break;
}
if(v.length) {
currentDirectory ~= "/" ~ v;
loadFiles(currentDirectory, processedFilters);
}
});
// double click here, on the other hand, selects the file
// and moves on
listWidget.addEventListener((scope DoubleClickEvent dev) {
OK();
});
}
lineEdit = new LineEdit(this);
lineEdit.focus();
lineEdit.addEventListener(delegate(CharEvent event) {
if(event.character == '\t' || event.character == '\n')
event.preventDefault();
});
listWidget.addEventListener(EventType.change, () {
foreach(o; listWidget.options)
if(o.selected)
lineEdit.content = o.label;
});
loadFiles(currentDirectory, processedFilters);
lineEdit.addEventListener((KeyDownEvent event) {
if(event.key == Key.Tab) {
auto current = lineEdit.content;
if(current.length >= 2 && current[0 ..2] == "./")
current = current[2 .. $];
auto commonPrefix = loadFiles(".", current ~ "*");
if(commonPrefix.length)
lineEdit.content = commonPrefix;
// FIXME: if that is a directory, add the slash? or even go inside?
event.preventDefault();
}
});
lineEdit.content = prefilledName;
auto hl = new HorizontalLayout(60, this);
auto cancelButton = new Button("Cancel", hl);
auto okButton = new Button("OK", hl);
cancelButton.addEventListener(EventType.triggered, &Cancel);
okButton.addEventListener(EventType.triggered, &OK);
this.addEventListener((KeyDownEvent event) {
if(event.key == Key.Enter || event.key == Key.PadEnter) {
event.preventDefault();
OK();
}
if(event.key == Key.Escape)
Cancel();
});
}
override void OK() {
if(lineEdit.content.length) {
string accepted;
auto c = lineEdit.content;
if(c.length && c[0] == '/')
accepted = c;
else
accepted = currentDirectory ~ "/" ~ lineEdit.content;
if(isDir(accepted)) {
// FIXME: would be kinda nice to support ~ and collapse these paths too
// FIXME: would also be nice to actually show the "Looking in..." directory and maybe the filters but later.
currentDirectory = accepted;
loadFiles(currentDirectory, processedFilters);
lineEdit.content = "";
return;
}
if(onOK)
onOK(accepted);
}
close();
}
override void Cancel() {
if(onCancel)
onCancel();
close();
}
}
private bool isDir(string name) {
version(Windows) {
auto ws = WCharzBuffer(name);
auto ret = GetFileAttributesW(ws.ptr);
if(ret == INVALID_FILE_ATTRIBUTES)
return false;
return (ret & FILE_ATTRIBUTE_DIRECTORY) != 0;
} else version(Posix) {
import core.sys.posix.sys.stat;
stat_t buf;
auto ret = stat((name ~ '\0').ptr, &buf);
if(ret == -1)
return false; // I could probably check more specific errors tbh
return (buf.st_mode & S_IFMT) == S_IFDIR;
} else return false;
}
/*
http://msdn.microsoft.com/en-us/library/windows/desktop/bb775947%28v=vs.85%29.aspx#check_boxes
http://msdn.microsoft.com/en-us/library/windows/desktop/ms633574%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/bb775943%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/bb775951%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms632680%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms644996%28v=vs.85%29.aspx#message_box
http://www.sbin.org/doc/Xlib/chapt_03.html
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760433%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760446%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760443%28v=vs.85%29.aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/bb760476%28v=vs.85%29.aspx
*/
// These are all for setMenuAndToolbarFromAnnotatedCode
/// This item in the menu will be preceded by a separator line
/// Group: generating_from_code
struct separator {}
deprecated("It was misspelled, use separator instead") alias seperator = separator;
/// Program-wide keyboard shortcut to trigger the action
/// Group: generating_from_code
struct accelerator { string keyString; }
/// tells which menu the action will be on
/// Group: generating_from_code
struct menu { string name; }
/// Describes which toolbar section the action appears on
/// Group: generating_from_code
struct toolbar { string groupName; }
///
/// Group: generating_from_code
struct icon { ushort id; }
///
/// Group: generating_from_code
struct label { string label; }
///
/// Group: generating_from_code
struct hotkey { dchar ch; }
///
/// Group: generating_from_code
struct tip { string tip; }
/++
Observes and allows inspection of an object via automatic gui
+/
/// Group: generating_from_code
ObjectInspectionWindow objectInspectionWindow(T)(T t) if(is(T == class)) {
return new ObjectInspectionWindowImpl!(T)(t);
}
class ObjectInspectionWindow : Window {
this(int a, int b, string c) {
super(a, b, c);
}
abstract void readUpdatesFromObject();
}
class ObjectInspectionWindowImpl(T) : ObjectInspectionWindow {
T t;
this(T t) {
this.t = t;
super(300, 400, "ObjectInspectionWindow - " ~ T.stringof);
foreach(memberName; __traits(derivedMembers, T)) {{
alias member = I!(__traits(getMember, t, memberName))[0];
alias type = typeof(member);
static if(is(type == int)) {
auto le = new LabeledLineEdit(memberName ~ ": ", this);
//le.addEventListener("char", (Event ev) {
//if((ev.character < '0' || ev.character > '9') && ev.character != '-')
//ev.preventDefault();
//});
le.addEventListener(EventType.change, (Event ev) {
__traits(getMember, t, memberName) = cast(type) stringToLong(ev.stringValue);
});
updateMemberDelegates[memberName] = () {
le.content = toInternal!string(__traits(getMember, t, memberName));
};
}
}}
}
void delegate()[string] updateMemberDelegates;
override void readUpdatesFromObject() {
foreach(k, v; updateMemberDelegates)
v();
}
}
/++
Creates a dialog based on a data structure.
---
dialog((YourStructure value) {
// the user filled in the struct and clicked OK,
// you can check the members now
});
---
Params:
initialData = the initial value to show in the dialog. It will not modify this unless
it is a class then it might, no promises.
History:
The overload that lets you specify `initialData` was added on December 30, 2021 (dub v10.5)
+/
/// Group: generating_from_code
void dialog(T)(void delegate(T) onOK, void delegate() onCancel = null, string title = T.stringof) {
dialog(T.init, onOK, onCancel, title);
}
/// ditto
void dialog(T)(T initialData, void delegate(T) onOK, void delegate() onCancel = null, string title = T.stringof) {
auto dg = new AutomaticDialog!T(initialData, onOK, onCancel, title);
dg.show();
}
private static template I(T...) { alias I = T; }
private string beautify(string name, char space = ' ', bool allLowerCase = false) {
if(name == "id")
return allLowerCase ? name : "ID";
char[160] buffer;
int bufferIndex = 0;
bool shouldCap = true;
bool shouldSpace;
bool lastWasCap;
foreach(idx, char ch; name) {
if(bufferIndex == buffer.length) return name; // out of space, just give up, not that important
if((ch >= 'A' && ch <= 'Z') || ch == '_') {
if(lastWasCap) {
// two caps in a row, don't change. Prolly acronym.
} else {
if(idx)
shouldSpace = true; // new word, add space
}
lastWasCap = true;
} else {
lastWasCap = false;
}
if(shouldSpace) {
buffer[bufferIndex++] = space;
if(bufferIndex == buffer.length) return name; // out of space, just give up, not that important
shouldSpace = false;
}
if(shouldCap) {
if(ch >= 'a' && ch <= 'z')
ch -= 32;
shouldCap = false;
}
if(allLowerCase && ch >= 'A' && ch <= 'Z')
ch += 32;
buffer[bufferIndex++] = ch;
}
return buffer[0 .. bufferIndex].idup;
}
/++
This is the implementation for [dialog]. None of its details are guaranteed stable and may change at any time; the stable interface is just the [dialog] function at this time.
+/
class AutomaticDialog(T) : Dialog {
T t;
void delegate(T) onOK;
void delegate() onCancel;
override int paddingTop() { return defaultLineHeight; }
override int paddingBottom() { return defaultLineHeight; }
override int paddingRight() { return defaultLineHeight; }
override int paddingLeft() { return defaultLineHeight; }
this(T initialData, void delegate(T) onOK, void delegate() onCancel, string title) {
assert(onOK !is null);
t = initialData;
static if(is(T == class)) {
if(t is null)
t = new T();
}
this.onOK = onOK;
this.onCancel = onCancel;
super(400, cast(int)(__traits(allMembers, T).length * 2) * (defaultLineHeight + 4 + 2) + Window.lineHeight + 56, title);
static if(is(T == class))
this.addDataControllerWidget(t);
else
this.addDataControllerWidget(&t);
auto hl = new HorizontalLayout(this);
auto stretch = new HorizontalSpacer(hl); // to right align
auto ok = new CommandButton("OK", hl);
auto cancel = new CommandButton("Cancel", hl);
ok.addEventListener(EventType.triggered, &OK);
cancel.addEventListener(EventType.triggered, &Cancel);
this.addEventListener((KeyDownEvent ev) {
if(ev.key == Key.Enter || ev.key == Key.PadEnter) {
ok.focus();
OK();
ev.preventDefault();
}
if(ev.key == Key.Escape) {
Cancel();
ev.preventDefault();
}
});
//this.children[0].focus();
}
override void OK() {
onOK(t);
close();
}
override void Cancel() {
if(onCancel)
onCancel();
close();
}
}
private template baseClassCount(Class) {
private int helper() {
int count = 0;
static if(is(Class bases == super)) {
foreach(base; bases)
static if(is(base == class))
count += 1 + baseClassCount!base;
}
return count;
}
enum int baseClassCount = helper();
}
private long stringToLong(string s) {
long ret;
if(s.length == 0)
return ret;
bool negative = s[0] == '-';
if(negative)
s = s[1 .. $];
foreach(ch; s) {
if(ch >= '0' && ch <= '9') {
ret *= 10;
ret += ch - '0';
}
}
if(negative)
ret = -ret;
return ret;
}
interface ReflectableProperties {
/++
Iterates the event's properties as strings. Note that keys may be repeated and a get property request may
call your sink with `null`. It it does, it means the key either doesn't request or cannot be represented by
json in the current implementation.
This is auto-implemented for you if you mixin [RegisterGetters] in your child classes and only have
properties of type `bool`, `int`, `double`, or `string`. For other ones, you will need to do it yourself
as of the June 2, 2021 release.
History:
Added June 2, 2021.
See_Also: [getPropertyAsString], [setPropertyFromString]
+/
void getPropertiesList(scope void delegate(string name) sink) const;// @nogc pure nothrow;
/++
Requests a property to be delivered to you as a string, through your `sink` delegate.
If the `value` is null, it means the property could not be retreived. If `valueIsJson`, it should
be interpreted as json, otherwise, it is just a plain string.
The sink should always be called exactly once for each call (it is basically a return value, but it might
use a local buffer it maintains instead of allocating a return value).
History:
Added June 2, 2021.
See_Also: [getPropertiesList], [setPropertyFromString]
+/
void getPropertyAsString(string name, scope void delegate(string name, scope const(char)[] value, bool valueIsJson) sink);
/++
Sets the given property, if it exists, to the given value, if possible. If `strIsJson` is true, it will json decode (if the implementation wants to) then apply the value, otherwise it will treat it as a plain string.
History:
Added June 2, 2021.
See_Also: [getPropertiesList], [getPropertyAsString], [SetPropertyResult]
+/
SetPropertyResult setPropertyFromString(string name, scope const(char)[] str, bool strIsJson);
/// [setPropertyFromString] possible return values
enum SetPropertyResult {
success = 0, /// the property has been successfully set to the request value
notPermitted = -1, /// the property exists but it cannot be changed at this time
notImplemented = -2, /// the set function is not implemented for the given property (which may or may not exist)
noSuchProperty = -3, /// there is no property by that name
wrongFormat = -4, /// the string was given in the wrong format, e.g. passing "two" for an int value
invalidValue = -5, /// the string is in the correct format, but the specific given value could not be used (for example, because it was out of bounds)
}
/++
You can mix this in to get an implementation in child classes. This does [setPropertyFromString].
Your original base class, however, must implement its own methods. I recommend doing the initial ones by hand.
For [Widget] and [Event], the library provides [Widget.Register] and [Event.Register] that call these for you, so you should
rarely need to use these building blocks directly.
+/
mixin template RegisterSetters() {
override SetPropertyResult setPropertyFromString(string name, scope const(char)[] value, bool valueIsJson) {
switch(name) {
foreach(memberName; __traits(derivedMembers, typeof(this))) {
case memberName:
static if(is(typeof(__traits(getMember, this, memberName)) : const bool)) {
if(value != "true" && value != "false")
return SetPropertyResult.wrongFormat;
__traits(getMember, this, memberName) = value == "true" ? true : false;
return SetPropertyResult.success;
} else static if(is(typeof(__traits(getMember, this, memberName)) : const long)) {
import core.stdc.stdlib;
char[128] zero = 0;
if(buffer.length + 1 >= zero.length)
return SetPropertyResult.wrongFormat;
zero[0 .. buffer.length] = buffer[];
__traits(getMember, this, memberName) = strtol(buffer.ptr, null, 10);
} else static if(is(typeof(__traits(getMember, this, memberName)) : const double)) {
import core.stdc.stdlib;
char[128] zero = 0;
if(buffer.length + 1 >= zero.length)
return SetPropertyResult.wrongFormat;
zero[0 .. buffer.length] = buffer[];
__traits(getMember, this, memberName) = strtod(buffer.ptr, null, 10);
} else static if(is(typeof(__traits(getMember, this, memberName)) : const string)) {
__traits(getMember, this, memberName) = value.idup;
} else {
return SetPropertyResult.notImplemented;
}
}
default:
return super.setPropertyFromString(name, value, valueIsJson);
}
}
}
/++
You can mix this in to get an implementation in child classes. This does [getPropertyAsString] and [getPropertiesList].
Your original base class, however, must implement its own methods. I recommend doing the initial ones by hand.
For [Widget] and [Event], the library provides [Widget.Register] and [Event.Register] that call these for you, so you should
rarely need to use these building blocks directly.
+/
mixin template RegisterGetters() {
override void getPropertiesList(scope void delegate(string name) sink) const {
super.getPropertiesList(sink);
foreach(memberName; __traits(derivedMembers, typeof(this))) {
sink(memberName);
}
}
override void getPropertyAsString(string name, scope void delegate(string name, scope const(char)[] value, bool valueIsJson) sink) {
switch(name) {
foreach(memberName; __traits(derivedMembers, typeof(this))) {
case memberName:
static if(is(typeof(__traits(getMember, this, memberName)) : const bool)) {
sink(name, __traits(getMember, this, memberName) ? "true" : "false", true);
} else static if(is(typeof(__traits(getMember, this, memberName)) : const long)) {
import core.stdc.stdio;
char[32] buffer;
auto len = snprintf(buffer.ptr, buffer.length, "%lld", cast(long) __traits(getMember, this, memberName));
sink(name, buffer[0 .. len], true);
} else static if(is(typeof(__traits(getMember, this, memberName)) : const double)) {
import core.stdc.stdio;
char[32] buffer;
auto len = snprintf(buffer.ptr, buffer.length, "%f", cast(double) __traits(getMember, this, memberName));
sink(name, buffer[0 .. len], true);
} else static if(is(typeof(__traits(getMember, this, memberName)) : const string)) {
sink(name, __traits(getMember, this, memberName), false);
//sinkJsonString(memberName, __traits(getMember, this, memberName), sink);
} else {
sink(name, null, true);
}
return;
}
default:
return super.getPropertyAsString(name, sink);
}
}
}
}
/+
I could fix up the hierarchy kinda like this
class Widget {
Widget[] children() { return null; }
}
interface WidgetContainer {
Widget asWidget();
void addChild(Widget w);
// alias asWidget this; // but meh
}
Widget can keep a (Widget parent) ctor, but it should prolly deprecate and tell people to instead change their ctors to take WidgetContainer instead.
class Layout : Widget, WidgetContainer {}
class Window : WidgetContainer {}
All constructors that previously took Widgets should now take WidgetContainers instead
But I'm kinda meh toward it, im not sure this is a real problem even though there are some addChild things that throw "plz don't".
+/
/+
LAYOUTS 2.0
can just be assigned as a function. assigning a new one will cause it to be immediately called.
they simply are responsible for the recomputeChildLayout. If this pointer is null, it uses the default virtual one.
recomputeChildLayout only really needs a property accessor proxy... just the layout info too.
and even Paint can just use computedStyle...
background color
font
border color and style
And actually the style proxy can offer some helper routines to draw these like the draw 3d box
please note that many widgets and in some modes will completely ignore properties as they will.
they are just hints you set, not promises.
So generally the existing virtual functions are just the default for the class. But individual objects
or stylesheets can override this. The virtual ones count as tag-level specificity in css.
+/
/++
Structure to represent a collection of background hints. New features can be added here, so make sure you use the provided constructors and factories for maximum compatibility.
History:
Added May 24, 2021.
+/
struct WidgetBackground {
/++
A background with the given solid color.
+/
this(Color color) {
this.color = color;
}
this(WidgetBackground bg) {
this = bg;
}
/++
Creates a widget from the string.
Currently, it only supports solid colors via [Color.fromString], but it will likely be expanded in the future to something more like css.
+/
static WidgetBackground fromString(string s) {
return WidgetBackground(Color.fromString(s));
}
private Color color;
}
/++
Interface to a custom visual theme which is able to access and use style hint properties, draw stylistic elements, and even completely override existing class' paint methods (though I'd note that can be a lot harder than it may seem due to the various little details of state you need to reflect visually, so that should be your last result!)
Please note that this is only guaranteed to be used by custom widgets, and custom widgets are generally inferior to system widgets. Layout properties may be used by sytstem widgets though.
You should not inherit from this directly, but instead use [VisualTheme].
History:
Added May 8, 2021
+/
abstract class BaseVisualTheme {
/// Don't implement this, instead use [VisualTheme] and implement `paint` methods on specific subclasses you want to override.
abstract void doPaint(Widget widget, WidgetPainter painter);
/+
/// Don't implement this, instead use [VisualTheme] and implement `StyleOverride` aliases on specific subclasses you want to override.
abstract void useStyleProperties(Widget w, scope void delegate(scope Widget.Style props) dg);
+/
/++
Returns the property as a string, or null if it was not overridden in the style definition. The idea here is something like css,
where the interpretation of the string varies for each property and may include things like measurement units.
+/
abstract string getPropertyString(Widget widget, string propertyName);
/++
Default background color of the window. Widgets also use this to simulate transparency.
Probably some shade of grey.
+/
abstract Color windowBackgroundColor();
abstract Color widgetBackgroundColor();
abstract Color foregroundColor();
abstract Color lightAccentColor();
abstract Color darkAccentColor();
/++
Color used to indicate active selections in lists and text boxes, etc.
+/
abstract Color selectionColor();
abstract OperatingSystemFont defaultFont();
private OperatingSystemFont defaultFontCache_;
private bool defaultFontCachePopulated;
private OperatingSystemFont defaultFontCached() {
if(!defaultFontCachePopulated) {
// FIXME: set this to false if X disconnect or if visual theme changes
defaultFontCache_ = defaultFont();
defaultFontCachePopulated = true;
}
return defaultFontCache_;
}
}
/+
A widget should have:
classList
dataset
attributes
computedStyles
state (persistent)
dynamic state (focused, hover, etc)
+/
// visualTheme.computedStyle(this).paddingLeft
/++
This is your entry point to create your own visual theme for custom widgets.
+/
abstract class VisualTheme(CRTP) : BaseVisualTheme {
override string getPropertyString(Widget widget, string propertyName) {
return null;
}
/+
mixin StyleOverride!Widget
final override void useStyleProperties(Widget w, scope void delegate(scope Widget.Style props) dg) {
w.useStyleProperties(dg);
}
+/
final override void doPaint(Widget widget, WidgetPainter painter) {
auto derived = cast(CRTP) cast(void*) this;
scope void delegate(Widget, WidgetPainter) bestMatch;
int bestMatchScore;
static if(__traits(hasMember, CRTP, "paint"))
foreach(overload; __traits(getOverloads, CRTP, "paint")) {
static if(is(typeof(overload) Params == __parameters)) {
static assert(Params.length == 2);
static assert(is(Params[0] : Widget));
static assert(is(Params[1] == WidgetPainter));
static assert(is(typeof(&__traits(child, derived, overload)) == delegate), "Found a paint method that doesn't appear to be a delegate. One cause of this can be your dmd being too old, make sure it is version 2.094 or newer to use this feature."); // , __traits(getLocation, overload).stringof ~ " is not a delegate " ~ typeof(&__traits(child, derived, overload)).stringof);
alias type = Params[0];
if(cast(type) widget) {
auto score = baseClassCount!type;
if(score > bestMatchScore) {
bestMatch = cast(typeof(bestMatch)) &__traits(child, derived, overload);
bestMatchScore = score;
}
}
} else static assert(0, "paint should be a method.");
}
if(bestMatch)
bestMatch(widget, painter);
else
widget.paint(painter);
}
// I have to put these here even though I kinda don't want to since dmd regressed on detecting unimplemented interface functions through abstract classes
override Color windowBackgroundColor() { return Color(212, 212, 212); }
override Color widgetBackgroundColor() { return Color.white; }
override Color foregroundColor() { return Color.black; }
override Color darkAccentColor() { return Color(172, 172, 172); }
override Color lightAccentColor() { return Color(223, 223, 223); }
override Color selectionColor() { return Color(0, 0, 128); }
override OperatingSystemFont defaultFont() { return null; } // will just use the default out of simpledisplay's xfontstr
private static struct Cached {
// i prolly want to do this
}
}
final class DefaultVisualTheme : VisualTheme!DefaultVisualTheme {
/+
OperatingSystemFont defaultFont() { return new OperatingSystemFont("Times New Roman", 8, FontWeight.medium); }
Color windowBackgroundColor() { return Color(242, 242, 242); }
Color darkAccentColor() { return windowBackgroundColor; }
Color lightAccentColor() { return windowBackgroundColor; }
+/
}
/++
Event fired when an [Observeable] variable changes. You will want to add an event listener referencing
the field like `widget.addEventListener((scope StateChanged!(Whatever.field) ev) { });`
History:
Moved from minigui_addons.webview to main minigui on November 27, 2021 (dub v10.4)
+/
class StateChanged(alias field) : Event {
enum EventString = __traits(identifier, __traits(parent, field)) ~ "." ~ __traits(identifier, field) ~ ":change";
override bool cancelable() const { return false; }
this(Widget target, typeof(field) newValue) {
this.newValue = newValue;
super(EventString, target);
}
typeof(field) newValue;
}
/++
Convenience function to add a `triggered` event listener.
Its implementation is simply `w.addEventListener("triggered", dg);`
History:
Added November 27, 2021 (dub v10.4)
+/
void addWhenTriggered(Widget w, void delegate() dg) {
w.addEventListener("triggered", dg);
}
/++
Observable varables can be added to widgets and when they are changed, it fires
off a [StateChanged] event so you can react to it.
It is implemented as a getter and setter property, along with another helper you
can use to subscribe whith is `name_changed`. You can also subscribe to the [StateChanged]
event through the usual means. Just give the name of the variable. See [StateChanged] for an
example.
History:
Moved from minigui_addons.webview to main minigui on November 27, 2021 (dub v10.4)
+/
mixin template Observable(T, string name) {
private T backing;
mixin(q{
void } ~ name ~ q{_changed (void delegate(T) dg) {
this.addEventListener((StateChanged!this_thing ev) {
dg(ev.newValue);
});
}
@property T } ~ name ~ q{ () {
return backing;
}
@property void } ~ name ~ q{ (T t) {
backing = t;
auto event = new StateChanged!this_thing(this, t);
event.dispatch();
}
});
mixin("private alias this_thing = " ~ name ~ ";");
}
private bool startsWith(string test, string thing) {
if(test.length < thing.length)
return false;
return test[0 .. thing.length] == thing;
}
private bool endsWith(string test, string thing) {
if(test.length < thing.length)
return false;
return test[$ - thing.length .. $] == thing;
}
// still do layout delegation
// and... split off Window from Widget.
version(minigui_screenshots)
struct Screenshot {
string name;
}
version(minigui_screenshots)
static if(__VERSION__ > 2092)
mixin(q{
shared static this() {
import core.runtime;
static UnitTestResult screenshotMagic() {
string name;
import arsd.png;
auto results = new Window();
auto button = new Button("do it", results);
Window.newWindowCreated = delegate(Window w) {
Timer timer;
timer = new Timer(250, {
auto img = w.win.takeScreenshot();
timer.destroy();
version(Windows)
writePng("/var/www/htdocs/minigui-screenshots/windows/" ~ name ~ ".png", img);
else
writePng("/var/www/htdocs/minigui-screenshots/linux/" ~ name ~ ".png", img);
w.close();
});
};
button.addWhenTriggered( {
foreach(test; __traits(getUnitTests, mixin(__MODULE__))) {
name = null;
static foreach(attr; __traits(getAttributes, test)) {
static if(is(typeof(attr) == Screenshot))
name = attr.name;
}
if(name.length) {
test();
}
}
});
results.loop();
return UnitTestResult(0, 0, false, false);
}
Runtime.extendedModuleUnitTester = &screenshotMagic;
}
});
version(minigui_screenshots) {
version(unittest)
void main() {}
else static assert(0, "dont forget the -unittest flag to dmd");
}
// FIXME: i called hotkey accelerator in some places. hotkey = key when menu is active like E&xit. accelerator = global shortcut.
// FIXME: make multiple accelerators disambiguate based ona rgs
// FIXME: MainWindow ctor should have same arg order as Window
// FIXME: mainwindow ctor w/ client area size instead of total size.
// Push on/off button (basically an alternate display of a checkbox) -- BS_PUSHLIKE and maybe BS_TEXT (BS_TOP moves it). see also BS_FLAT.
// FIXME: tri-state checkbox
// FIXME: subordinate controls grouping...
| D |
import std.stdio;
import fmtgp.multiplication;
void main() {
writeln(multiplication1(2, 2));
writeln(egyptianMultiplication(4, 4));
}
| D |
instance DIA_Garwig_EXIT(C_Info)
{
npc = Nov_608_Garwig;
nr = 999;
condition = DIA_Garwig_EXIT_Condition;
information = DIA_Garwig_EXIT_Info;
permanent = TRUE;
description = Dialog_Ende;
};
func int DIA_Garwig_EXIT_Condition()
{
return TRUE;
};
func void DIA_Garwig_EXIT_Info()
{
AI_StopProcessInfos(self);
};
instance DIA_Garwig_Wurst(C_Info)
{
npc = Nov_608_Garwig;
nr = 3;
condition = DIA_Garwig_Wurst_Condition;
information = DIA_Garwig_Wurst_Info;
permanent = FALSE;
description = "Would you like a sausage?";
};
func int DIA_Garwig_Wurst_Condition()
{
if((Kapitel == 1) && (MIS_GoraxEssen == LOG_Running) && (Npc_HasItems(self,ItFo_Schafswurst) == 0) && (Npc_HasItems(other,ItFo_Schafswurst) >= 1))
{
return TRUE;
};
};
func void DIA_Garwig_Wurst_Info()
{
var string NovizeText;
var string NovizeLeft;
AI_Output(other,self,"DIA_Garwig_Wurst_15_00"); //Would you like a sausage?
AI_Output(self,other,"DIA_Garwig_Wurst_06_01"); //Ah - delicious, that. Thank you so much, brother.
B_GiveInvItems(other,self,ItFo_Schafswurst,1);
Wurst_Gegeben = Wurst_Gegeben + 1;
CreateInvItems(self,ItFo_Sausage,1);
B_UseItem(self,ItFo_Sausage);
NovizeLeft = IntToString(13 - Wurst_Gegeben);
NovizeText = ConcatStrings(NovizeLeft,PRINT_NovizenLeft);
AI_PrintScreen(NovizeText,-1,YPOS_GoldGiven,FONT_ScreenSmall,2);
};
instance DIA_Garwig_Hello(C_Info)
{
npc = Nov_608_Garwig;
nr = 3;
condition = DIA_Garwig_Hello_Condition;
information = DIA_Garwig_Hello_Info;
permanent = FALSE;
important = TRUE;
};
func int DIA_Garwig_Hello_Condition()
{
if(other.guild == GIL_NOV)
{
return TRUE;
};
};
func void DIA_Garwig_Hello_Info()
{
AI_Output(self,other,"DIA_Garwig_Hello_06_00"); //Innos be with you - I've never seen you before, are you new around here?
AI_Output(other,self,"DIA_Garwig_Hello_15_01"); //Yes, I only just joined.
AI_Output(self,other,"DIA_Garwig_Hello_06_02"); //In that case, I hope you'll get settled here fast. Let me know if I can help you with anything.
};
instance DIA_Garwig_Room(C_Info)
{
npc = Nov_608_Garwig;
nr = 5;
condition = DIA_Garwig_Room_Condition;
information = DIA_Garwig_Room_Info;
permanent = FALSE;
description = "What room is this?";
};
func int DIA_Garwig_Room_Condition()
{
return TRUE;
};
func void DIA_Garwig_Room_Info()
{
AI_Output(other,self,"DIA_Garwig_Room_15_00"); //What room is this?
AI_Output(self,other,"DIA_Garwig_Room_06_01"); //This is where they keep the holy relics of the monastery.
AI_Output(other,self,"DIA_Garwig_Room_15_02"); //What relics?
AI_Output(self,other,"DIA_Garwig_Room_06_03"); //Here rests the Hammer of Innos, along with the Shield of Fire. These are the most important relics of the Church of Innos outside of the capital of the realm.
};
instance DIA_Garwig_Hammer(C_Info)
{
npc = Nov_608_Garwig;
nr = 99;
condition = DIA_Garwig_Hammer_Condition;
information = DIA_Garwig_Hammer_Info;
permanent = TRUE;
description = "Tell me about the hammer.";
};
func int DIA_Garwig_Hammer_Condition()
{
if(Npc_KnowsInfo(other,DIA_Garwig_Room))
{
return TRUE;
};
};
func void DIA_Garwig_Hammer_Info()
{
AI_Output(other,self,"DIA_Garwig_Hammer_15_00"); //Tell me about the hammer.
AI_Output(self,other,"DIA_Garwig_Hammer_06_01"); //This is the sacred Hammer of Innos. With this hammer, Saint Rhobar slew the Stone Sentinel.
AI_Output(self,other,"DIA_Garwig_Hammer_06_02"); //The Holy Scriptures say that the Stone Sentinel was invulnerable. He stood in battle like a tower, and the weapons of his enemies were smashed on his skin of stone.
AI_Output(self,other,"DIA_Garwig_Hammer_06_03"); //With the name of Innos on his lips, Rhobar hurled himself at the monster and crushed it with one mighty blow of his hammer.
};
instance DIA_Garwig_Shield(C_Info)
{
npc = Nov_608_Garwig;
nr = 98;
condition = DIA_Garwig_Shield_Condition;
information = DIA_Garwig_Shield_Info;
permanent = FALSE;
description = "Tell me about the shield.";
};
func int DIA_Garwig_Shield_Condition()
{
if(Npc_KnowsInfo(other,DIA_Garwig_Room))
{
return TRUE;
};
};
func void DIA_Garwig_Shield_Info()
{
AI_Output(other,self,"DIA_Garwig_Shield_15_00"); //Tell me about the shield.
AI_Output(self,other,"DIA_Garwig_Shield_06_01"); //The Shield of Fire was borne by Dominique in the battle on the Southern Isles.
AI_Output(self,other,"DIA_Garwig_Shield_06_02"); //But the power of this shield is never to be wielded again - therefore, we have nailed it to the wall.
};
instance DIA_Garwig_Auge(C_Info)
{
npc = Nov_608_Garwig;
nr = 4;
condition = DIA_Garwig_Auge_Condition;
information = DIA_Garwig_Auge_Info;
permanent = FALSE;
description = "Is the Eye of Innos kept here, too?";
};
func int DIA_Garwig_Auge_Condition()
{
if(Npc_KnowsInfo(other,DIA_Garwig_Room) && (Kapitel <= 2))
{
return TRUE;
};
};
func void DIA_Garwig_Auge_Info()
{
AI_Output(other,self,"DIA_Garwig_Auge_15_00"); //Is the Eye of Innos kept here, too?
AI_Output(self,other,"DIA_Garwig_Auge_06_01"); //Of course not. What a strange idea. Nobody knows where that divine artifact is to be found.
};
instance DIA_Garwig_SLEEP(C_Info)
{
npc = Nov_608_Garwig;
nr = 23;
condition = DIA_Garwig_SLEEP_Condition;
information = DIA_Garwig_SLEEP_Info;
permanent = TRUE;
description = "What are you doing here?";
};
func int DIA_Garwig_SLEEP_Condition()
{
if(other.guild == GIL_NOV)
{
return TRUE;
};
};
func void DIA_Garwig_SLEEP_Info()
{
AI_Output(other,self,"DIA_Garwig_SLEEP_15_00"); //What are you doing here?
AI_Output(self,other,"DIA_Garwig_SLEEP_06_01"); //I am the guardian of the sacred artifacts.
Info_ClearChoices(DIA_Garwig_SLEEP);
Info_AddChoice(DIA_Garwig_SLEEP,Dialog_Back,DIA_Garwig_SLEEP_BACK);
Info_AddChoice(DIA_Garwig_SLEEP,"Shall I take over from you for a while?",DIA_Garwig_SLEEP_EXCHANGE);
Info_AddChoice(DIA_Garwig_SLEEP,"Why are the artifacts being guarded?",DIA_Garwig_SLEEP_THIEF);
Info_AddChoice(DIA_Garwig_SLEEP,"Don't you ever sleep?",DIA_Garwig_SLEEP_NEVER);
};
func void DIA_Garwig_SLEEP_BACK()
{
Info_ClearChoices(DIA_Garwig_SLEEP);
};
func void DIA_Garwig_SLEEP_EXCHANGE()
{
AI_Output(other,self,"DIA_Garwig_SLEEP_EXCHANGE_15_00"); //Shall I take over from you for a while?
AI_Output(self,other,"DIA_Garwig_SLEEP_EXCHANGE_06_01"); //Is this a test? The mages have sent you to test me, right? Ooh - I knew it!
AI_Output(self,other,"DIA_Garwig_SLEEP_EXCHANGE_06_02"); //But I shall pass this test. Tell your mages that I stand firm as a rock, and that I shall resist all temptations, for I am a worthy guardian.
};
func void DIA_Garwig_SLEEP_THIEF()
{
AI_Output(other,self,"DIA_Garwig_SLEEP_THIEF_15_00"); //Why are the artifacts being guarded? Is there any reason to worry they might be stolen?
AI_Output(self,other,"DIA_Garwig_SLEEP_THIEF_06_01"); //What an extraordinary concept. Whatever makes you think that?
AI_Output(self,other,"DIA_Garwig_SLEEP_THIEF_06_02"); //Only those who serve Innos are authorized to set foot in the monastery. And no true believer would ever harbor such thoughts.
};
func void DIA_Garwig_SLEEP_NEVER()
{
AI_Output(other,self,"DIA_Garwig_SLEEP_NEVER_15_00"); //Don't you ever sleep?
AI_Output(self,other,"DIA_Garwig_SLEEP_NEVER_06_01"); //What an unusual notion. Of course I don't ever sleep. Innos himself grants me the power which allows me to forego sleep altogether.
AI_Output(self,other,"DIA_Garwig_SLEEP_NEVER_06_02"); //For how else could I fulfill the sacred duties of guardianship?
Info_ClearChoices(DIA_Garwig_SLEEP);
Info_AddChoice(DIA_Garwig_SLEEP,"Do you really NEVER sleep?",DIA_Garwig_SLEEP_AGAIN);
};
func void DIA_Garwig_SLEEP_AGAIN()
{
AI_Output(other,self,"DIA_Garwig_SLEEP_AGAIN_15_00"); //Do you really NEVER sleep?
AI_Output(self,other,"DIA_Garwig_SLEEP_AGAIN_06_01"); //No. If a guardian falls asleep, he has failed.
AI_Output(self,other,"DIA_Garwig_SLEEP_AGAIN_06_02"); //But I shall not fail, for Innos gives me strength and endurance, and I shall never tire.
};
instance DIA_Garwig_THIEF(C_Info)
{
npc = Nov_608_Garwig;
nr = 2;
condition = DIA_Garwig_THIEF_Condition;
information = DIA_Garwig_THIEF_Info;
permanent = TRUE;
important = TRUE;
};
func int DIA_Garwig_THIEF_Condition()
{
if(Npc_IsInState(self,ZS_Talk) && (Npc_HasItems(hero,Holy_Hammer_MIS) == 1))
{
return TRUE;
};
};
func void DIA_Garwig_THIEF_Info()
{
if(Hammer_Taken == TRUE)
{
AI_Output(self,other,"DIA_Garwig_THIEF_06_00"); //(upset) Thief! You have disgraced not only yourself and me, but this entire monastery!
AI_Output(self,other,"DIA_Garwig_THIEF_06_01"); //You shall atone for this sacrilege. And, above all - GIVE ME BACK THAT HAMMER!!
}
else
{
AI_Output(self,other,"DIA_Garwig_THIEF_06_02"); //(desperate) The hammer has disappeared - how could that happen?
AI_Output(self,other,"DIA_Garwig_THIEF_06_03"); //I have failed. Innos will punish me!
};
};
instance DIA_Garwig_Abgeben(C_Info)
{
npc = Nov_608_Garwig;
nr = 2;
condition = DIA_Garwig_Abgeben_Condition;
information = DIA_Garwig_Abgeben_Info;
permanent = TRUE;
description = "I'm bringing back the hammer.";
};
func int DIA_Garwig_Abgeben_Condition()
{
if(Npc_HasItems(other,Holy_Hammer_MIS) >= 1)
{
return TRUE;
};
};
func void DIA_Garwig_Abgeben_Info()
{
AI_Output(other,self,"DIA_Garwig_Abgeben_15_00"); //I'm bringing back the hammer.
if(Hammer_Taken == TRUE)
{
AI_Output(self,other,"DIA_Garwig_Abgeben_06_01"); //You are a villainous thief!
}
else
{
AI_Output(self,other,"DIA_Garwig_Abgeben_06_02"); //So it's you who took it...
};
AI_Output(self,other,"DIA_Garwig_Abgeben_06_03"); //But it is not my place to judge you. Innos shall administer his justice upon you, and you shall receive his punishment!
B_GiveInvItems(other,self,Holy_Hammer_MIS,1);
Hammer_Taken = FALSE;
};
instance DIA_Garwig_PICKPOCKET(C_Info)
{
npc = Nov_608_Garwig;
nr = 900;
condition = DIA_Garwig_PICKPOCKET_Condition;
information = DIA_Garwig_PICKPOCKET_Info;
permanent = TRUE;
description = Pickpocket_60;
};
func int DIA_Garwig_PICKPOCKET_Condition()
{
return C_Beklauen(52,80);
};
func void DIA_Garwig_PICKPOCKET_Info()
{
Info_ClearChoices(DIA_Garwig_PICKPOCKET);
Info_AddChoice(DIA_Garwig_PICKPOCKET,Dialog_Back,DIA_Garwig_PICKPOCKET_BACK);
Info_AddChoice(DIA_Garwig_PICKPOCKET,DIALOG_PICKPOCKET,DIA_Garwig_PICKPOCKET_DoIt);
};
func void DIA_Garwig_PICKPOCKET_DoIt()
{
B_Beklauen();
Info_ClearChoices(DIA_Garwig_PICKPOCKET);
};
func void DIA_Garwig_PICKPOCKET_BACK()
{
Info_ClearChoices(DIA_Garwig_PICKPOCKET);
};
| D |
module engine.renderer.render;
import std.algorithm : sort, remove;
import std.stdio : writeln;
import gl3n.linalg;
import glamour.shader : Shader;
import derelict.opengl3.gl3;
import engine;
import engine.renderer.memory;
import shaders = engine.renderer.shaders;
interface Drawable {
void onBind();
void onUnbind();
void draw();
}
struct Priority {
ubyte sort;
ubyte p1;
ubyte p2;
ubyte p3;
uint toUlong() const {
return sort * 256 * 256 * 256 + p1 * 256 * 256 + p2 * 256 + p3;
}
int opCmp(ref const Priority b) const {
return toUlong - b.toUlong;
}
}
class RenderList {
static struct Item {
Drawable drawable;
Priority priority;
int opCmp(ref const Item b) const {
return priority.opCmp(b.priority);
}
}
Item[] items;
void add(Drawable d, Priority p) {
Item item;
item.drawable = d;
item.priority = p;
items ~= item;
}
void draw() {
foreach (item; items) {
item.drawable.onBind();
item.drawable.draw();
item.drawable.onUnbind();
}
}
void reset() {
items.length = 0;
}
void sort() {
items.sort!"a.priority.sort<b.priority.sort"();
//writeln(items.length);
}
}
class Renderer {
public:
alias Allocator = GpuChunkAllocator!GL_ARRAY_BUFFER;
Allocator verticesAllocator; //for vec2
GLuint projectionMatrixUbo;
GLuint modelMatrixUbo;
GLuint projectionBindingPoint = 2;
GLuint modelBindingPoint = 3;
Camera camera = Camera(vec2(640, 480), vec2(0, 0), 1000);
RenderList renderList;
RenderList guiRenderList;
void init() {
verticesAllocator = new Allocator;
renderList = new RenderList;
guiRenderList = new RenderList;
const char* ver = glGetString(GL_VERSION);
const char* ver2 = glGetString(GL_SHADING_LANGUAGE_VERSION);
writeln("opengl version: ", *ver);
writeln("glsl version: ", *ver2);
glGenBuffers(1, &projectionMatrixUbo);
glBindBuffer(GL_UNIFORM_BUFFER, projectionMatrixUbo);
glBufferData(GL_UNIFORM_BUFFER, mat4.sizeof, null, GL_DYNAMIC_DRAW);
glBindBuffer(GL_UNIFORM_BUFFER, 0);
glGenBuffers(1, &modelMatrixUbo);
glBindBuffer(GL_UNIFORM_BUFFER, modelMatrixUbo);
glBufferData(GL_UNIFORM_BUFFER, mat4.sizeof, null, GL_DYNAMIC_DRAW);
glBindBuffer(GL_UNIFORM_BUFFER, 0);
}
void draw() {
glViewport(0, 0, cast(int) camera.wh.x, cast(int) camera.wh.y);
glClearColor(1, 1, 1, 1);
glClear(GL_COLOR_BUFFER_BIT);
mat4 projection = buildProjectionMatrix(camera);
setProjectionMatrix(projection);
renderList.sort();
renderList.draw();
renderList.reset();
Camera guiCamera=camera;
guiCamera.pos=vec2(guiCamera.wh.x,-guiCamera.wh.y);
projection = buildProjectionMatrixForGui(guiCamera);
setProjectionMatrix(projection);
guiRenderList.sort();
guiRenderList.draw();
guiRenderList.reset();
}
void setProjectionMatrix(mat4 mat) {
glBindBuffer(GL_UNIFORM_BUFFER, projectionMatrixUbo);
glBufferSubData(GL_UNIFORM_BUFFER, 0, mat4.sizeof, &mat);
glBindBufferBase(GL_UNIFORM_BUFFER, projectionBindingPoint, projectionMatrixUbo);
glBindBuffer(GL_UNIFORM_BUFFER, 0);
}
void setModelMatrix(mat4 mat) {
glBindBuffer(GL_UNIFORM_BUFFER, modelMatrixUbo);
glBufferSubData(GL_UNIFORM_BUFFER, 0, mat4.sizeof, &mat);
glBindBufferBase(GL_UNIFORM_BUFFER, modelBindingPoint, modelMatrixUbo);
glBindBuffer(GL_UNIFORM_BUFFER, 0);
}
void onResize(int x, int y) {
camera.wh.x = x;
camera.wh.y = y;
}
}
struct Camera {
vec2 wh;
vec2 pos;
float zoom;
float rot;
vec2 getCameraGlobalSize() {
float windowRatio = cast(float) wh.y / wh.x;
vec2 size = vec2(1 / windowRatio, 1);
size /= zoom;
return size;
}
vec2 cameraToGlobal(vec2i sreenPos) {
vec2 global = sreenPos;
float f = cast(float) wh.y / wh.x;
global -= wh * 0.5;
global.x /= f * wh.x;
global.y /= -1 * wh.y;
global /= zoom / 50;
global += pos;
return global;
}
vec2i globalToCamera(vec2 pos) {
float f = cast(float) wh.y / wh.x;
pos -= this.pos;
pos *= zoom / 50;
pos.x *= f * wh.x;
pos.y *= -1 * wh.y;
pos += wh * 0.5;
return vec2i(cast(int) pos.x, cast(int) pos.y);
}
///In pixels
vec2 vectorSize(vec2 v) {
float f = cast(float) wh.y / wh.x;
v *= zoom / 50;
v.x *= f * wh.x;
v.y *= wh.y;
// v+=wh*0.5;
return v;
}
}
// Convert from world coordinates to normalized device coordinates.
// http://www.songho.ca/opengl/gl_projectionmatrix.html
private mat4 buildProjectionMatrix(Camera cam) {
mat4 m = void;
float w = cam.wh.x;
float h = cam.wh.y;
float ratio = w / h;
vec2 extents = vec2(ratio * 25.0f, 25.0f);
extents /= cam.zoom;
vec2 lower = cam.pos - extents;
vec2 upper = cam.pos + extents;
m[0][0] = 2.0f / (upper.x - lower.x);
m[1][0] = 0.0f;
m[2][0] = 0.0f;
m[3][0] = 0.0f;
m[0][1] = 0.0f;
m[1][1] = 2.0f / (upper.y - lower.y);
m[2][1] = 0.0f;
m[3][1] = 0.0f;
m[0][2] = 0.0f;
m[1][2] = 0.0f;
m[2][2] = 1.0f;
m[3][2] = 0.0f;
m[0][3] = -(upper.x + lower.x) / (upper.x - lower.x);
m[1][3] = -(upper.y + lower.y) / (upper.y - lower.y);
m[2][3] = 0.0f; //zBias;
m[3][3] = 1.0f;
return m;
}
private mat4 buildProjectionMatrixForGui(Camera cam) {
mat4 m = void;
float w = cam.wh.x;
float h = cam.wh.y;
vec2 extents = vec2(w,h);
vec2 lower = cam.pos - extents;
vec2 upper = cam.pos + extents;
m[0][0] = 4.0f / (upper.x - lower.x);
m[1][0] = 0.0f;
m[2][0] = 0.0f;
m[3][0] = 0.0f;
m[0][1] = 0.0f;
m[1][1] = 4.0f / (upper.y - lower.y);
m[2][1] = 0.0f;
m[3][1] = 0.0f;
m[0][2] = 0.0f;
m[1][2] = 0.0f;
m[2][2] = 1.0f;
m[3][2] = 0.0f;
m[0][3] = -(upper.x + lower.x) / (upper.x - lower.x);
m[1][3] = -(upper.y + lower.y) / (upper.y - lower.y);
m[2][3] = 0.0f; //zBias;
m[3][3] = 1.0f;
return m;
} | D |
INSTANCE Info_Mod_Jora_Hi (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_Hi_Condition;
information = Info_Mod_Jora_Hi_Info;
permanent = 0;
important = 1;
};
FUNC INT Info_Mod_Jora_Hi_Condition()
{
if (Wld_IsTime(05,15,20,04))
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_Hi_Info()
{
AI_Output(self, hero, "Info_Mod_Jora_Hi_08_00"); //Hey du. Brauchst du 'ne Waffe oder sonst was? Ich kann dir was verkaufen.
Log_CreateTopic (TOPIC_MOD_HAENDLER_STADT, LOG_NOTE);
B_LogEntry (TOPIC_MOD_HAENDLER_STADT, "Jora verkauft Waffen und andere Sachen.");
};
INSTANCE Info_Mod_Jora_MatteoLehrling1 (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_MatteoLehrling1_Condition;
information = Info_Mod_Jora_MatteoLehrling1_Info;
permanent = 0;
important = 0;
description = "Hat sich da unter deinem Stand gerade etwas bewegt? (Apfel platzieren)";
};
FUNC INT Info_Mod_Jora_MatteoLehrling1_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Matteo_LehrlingQuest2))
&& (Mod_Jora_Apfel == 0)
&& (Npc_HasItems(hero, ItFo_Apple_Matteo_Schlecht) > 0)
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_MatteoLehrling1_Info()
{
B_Say (hero, self, "$PLACEAPFEL01");
AI_PlayAni (self, "T_PLUNDER");
B_Say (hero, self, "$PLACEAPFEL02");
Npc_RemoveInvItems (hero, ItFo_Apple_Matteo_Schlecht, 1);
Mod_Jora_Apfel = 1;
};
INSTANCE Info_Mod_Jora_MatteoLehrling2 (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_MatteoLehrling2_Condition;
information = Info_Mod_Jora_MatteoLehrling2_Info;
permanent = 0;
important = 0;
description = "Hey, wird der da drüben nicht gesucht? (Apfel platzieren)";
};
FUNC INT Info_Mod_Jora_MatteoLehrling2_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Matteo_LehrlingQuest2))
&& (Mod_Jora_Apfel == 0)
&& (Npc_HasItems(hero, ItFo_Apple_Matteo_Schlecht) > 0)
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_MatteoLehrling2_Info()
{
B_Say (hero, self, "$PLACEAPFEL03");
AI_PlayAni (self, "T_SEARCH");
B_Say (hero, self, "$PLACEAPFEL04");
Npc_RemoveInvItems (hero, ItFo_Apple_Matteo_Schlecht, 1);
Mod_Jora_Apfel = 1;
};
INSTANCE Info_Mod_Jora_MatteoLehrling3 (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_MatteoLehrling3_Condition;
information = Info_Mod_Jora_MatteoLehrling3_Info;
permanent = 0;
important = 0;
description = "Schöne Äpfel hast du da ... (Apfel platzieren)";
};
FUNC INT Info_Mod_Jora_MatteoLehrling3_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Matteo_LehrlingQuest2))
&& (Mod_Jora_Apfel == 0)
&& (Npc_HasItems(hero, ItFo_Apple_Matteo_Schlecht) > 0)
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_MatteoLehrling3_Info()
{
B_Say (hero, self, "$PLACEAPFEL05");
Npc_RemoveInvItems (hero, ItFo_Apple_Matteo_Schlecht, 1);
Mod_Jora_Apfel = 1;
};
INSTANCE Info_Mod_Jora_Blutkelch (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_Blutkelch_Condition;
information = Info_Mod_Jora_Blutkelch_Info;
permanent = 0;
important = 0;
description = "Wie immer gut sortiert, dein Angebot.";
};
FUNC INT Info_Mod_Jora_Blutkelch_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Mustafa_PosWechsel))
&& (!Npc_KnowsInfo(hero, Info_Mod_Baltram_Blutkelch))
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_Blutkelch_Info()
{
AI_Output(hero, self, "Info_Mod_Jora_Blutkelch_15_00"); //Wie immer gut sortiert, dein Angebot. Hast du vielleicht auch einen Blutkelch?
AI_Output(self, hero, "Info_Mod_Jora_Blutkelch_08_01"); //Nie gehört. Was soll das sein?
AI_Output(hero, self, "Info_Mod_Jora_Blutkelch_15_02"); //Weiß ich auch nicht genau. Bis ein andermal.
};
INSTANCE Info_Mod_Jora_Anschlagtafel (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_Anschlagtafel_Condition;
information = Info_Mod_Jora_Anschlagtafel_Info;
permanent = 1;
important = 0;
description = "Ich habe deinen Aushang an der Anschlagtafel gesehen ...";
};
FUNC INT Info_Mod_Jora_Anschlagtafel_Condition()
{
if (Mod_Anschlagtafel_Khorinis_Jora == 1)
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_Anschlagtafel_Info()
{
B_Say (hero, self, "$ANSCHLAGTAFEL01");
if (Npc_HasItems(hero, ItRw_Bolt) >= Mod_Anschlagtafel_Khorinis_Jora_Bolzen)
&& (Npc_HasItems(hero, ItRw_Bow_L_01) >= Mod_Anschlagtafel_Khorinis_Jora_Kurzbogen)
&& (Npc_HasItems(hero, ItRw_Bow_L_02) >= Mod_Anschlagtafel_Khorinis_Jora_Weidenbogen)
&& (Npc_HasItems(hero, ItLsTorch) >= Mod_Anschlagtafel_Khorinis_Jora_Fackel)
&& (Npc_HasItems(hero, ItMw_2H_Axe_L_01) >= Mod_Anschlagtafel_Khorinis_Jora_Spitzhacke)
&& (Npc_HasItems(hero, ItMi_Lute) >= Mod_Anschlagtafel_Khorinis_Jora_Laute)
&& (Npc_HasItems(hero, ItAm_Prot_Edge_01) >= Mod_Anschlagtafel_Khorinis_Jora_Harnischamulett)
&& (Npc_HasItems(hero, ItFo_KWine) >= Mod_Anschlagtafel_Khorinis_Jora_Klosterwein)
&& (Npc_HasItems(hero, ItFo_Schafswurst) >= Mod_Anschlagtafel_Khorinis_Jora_Schafswurst)
&& (Npc_HasItems(hero, ItRw_Arrow) >= Mod_Anschlagtafel_Khorinis_Jora_Pfeil)
{
Npc_RemoveInvItems (hero, ItRw_Bolt, Mod_Anschlagtafel_Khorinis_Jora_Bolzen);
Npc_RemoveInvItems (hero, ItRw_Bow_L_01, Mod_Anschlagtafel_Khorinis_Jora_Kurzbogen);
Npc_RemoveInvItems (hero, ItRw_Bow_L_02, Mod_Anschlagtafel_Khorinis_Jora_Weidenbogen);
Npc_RemoveInvItems (hero, ItLsTorch, Mod_Anschlagtafel_Khorinis_Jora_Fackel);
Npc_RemoveInvItems (hero, ItMw_2H_Axe_L_01, Mod_Anschlagtafel_Khorinis_Jora_Spitzhacke);
Npc_RemoveInvItems (hero, ItMi_Lute, Mod_Anschlagtafel_Khorinis_Jora_Laute);
Npc_RemoveInvItems (hero, ItAm_Prot_Edge_01, Mod_Anschlagtafel_Khorinis_Jora_Harnischamulett);
Npc_RemoveInvItems (hero, ItFo_KWine, Mod_Anschlagtafel_Khorinis_Jora_Klosterwein);
Npc_RemoveInvItems (hero, ItFo_Schafswurst, Mod_Anschlagtafel_Khorinis_Jora_Schafswurst);
Npc_RemoveInvItems (hero, ItRw_Arrow, Mod_Anschlagtafel_Khorinis_Jora_Pfeil);
AI_Output(self, hero, "Info_Mod_Jora_Anschlagtafel_08_00"); //Was? Zeig her ... Tatsächlich, alles dabei. Ausgesprochen gut gemacht.
AI_Output(self, hero, "Info_Mod_Jora_Anschlagtafel_08_01"); //Hier ist deine Entlohnung.
B_GiveInvItems (self, hero, ItMi_Gold, Mod_Anschlagtafel_Khorinis_Jora_Gold);
AI_Output(self, hero, "Info_Mod_Jora_Anschlagtafel_08_02"); //Hat mich gefreut mit dir Geschäfte zu machen.
if (Mod_Anschlagtafel_Khorinis_Jora_Gold < 200)
{
B_GivePlayerXP (300);
}
else if (Mod_Anschlagtafel_Khorinis_Jora_Gold < 400)
{
B_GivePlayerXP (400);
}
else if (Mod_Anschlagtafel_Khorinis_Jora_Gold < 600)
{
B_GivePlayerXP (500);
}
else
{
B_GivePlayerXP (600);
};
Mod_Anschlagtafel_Khorinis_Jora = 0;
Mod_Anschlagtafel_Khorinis_Jora_Cooldown = 3600;
Npc_RemoveInvItems (hero, ItWr_Anschlagtafel_Jora, 1);
}
else
{
B_Say (hero, self, "$ANSCHLAGTAFEL02");
};
};
INSTANCE Info_Mod_Jora_Trade (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_Trade_Condition;
information = Info_Mod_Jora_Trade_Info;
permanent = 1;
important = 0;
trade = 1;
description = DIALOG_TRADE;
};
FUNC INT Info_Mod_Jora_Trade_Condition()
{
if (Npc_KnowsInfo(hero, Info_Mod_Jora_Hi))
&& (Wld_IsTime(05,15,20,04))
{
return 1;
};
};
FUNC VOID Info_Mod_Jora_Trade_Info()
{
B_GiveTradeInv (self);
B_Say (hero, self, "$TRADE_1");
};
INSTANCE Info_Mod_Jora_Pickpocket (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_Pickpocket_Condition;
information = Info_Mod_Jora_Pickpocket_Info;
permanent = 1;
important = 0;
description = Pickpocket_90;
};
FUNC INT Info_Mod_Jora_Pickpocket_Condition()
{
C_Beklauen (76, ItMi_Gold, 29);
};
FUNC VOID Info_Mod_Jora_Pickpocket_Info()
{
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
Info_AddChoice (Info_Mod_Jora_Pickpocket, DIALOG_BACK, Info_Mod_Jora_Pickpocket_BACK);
Info_AddChoice (Info_Mod_Jora_Pickpocket, DIALOG_PICKPOCKET, Info_Mod_Jora_Pickpocket_DoIt);
};
FUNC VOID Info_Mod_Jora_Pickpocket_BACK()
{
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
};
FUNC VOID Info_Mod_Jora_Pickpocket_DoIt()
{
if (B_Beklauen() == TRUE)
{
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
}
else
{
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
Info_AddChoice (Info_Mod_Jora_Pickpocket, DIALOG_PP_BESCHIMPFEN, Info_Mod_Jora_Pickpocket_Beschimpfen);
Info_AddChoice (Info_Mod_Jora_Pickpocket, DIALOG_PP_BESTECHUNG, Info_Mod_Jora_Pickpocket_Bestechung);
Info_AddChoice (Info_Mod_Jora_Pickpocket, DIALOG_PP_HERAUSREDEN, Info_Mod_Jora_Pickpocket_Herausreden);
};
};
FUNC VOID Info_Mod_Jora_Pickpocket_Beschimpfen()
{
B_Say (hero, self, "$PICKPOCKET_BESCHIMPFEN");
B_Say (self, hero, "$DIRTYTHIEF");
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_Theft, 1);
};
FUNC VOID Info_Mod_Jora_Pickpocket_Bestechung()
{
B_Say (hero, self, "$PICKPOCKET_BESTECHUNG");
var int rnd; rnd = r_max(99);
if (rnd < 25)
|| ((rnd >= 25) && (rnd < 50) && (Npc_HasItems(hero, ItMi_Gold) < 50))
|| ((rnd >= 50) && (rnd < 75) && (Npc_HasItems(hero, ItMi_Gold) < 100))
|| ((rnd >= 75) && (rnd < 100) && (Npc_HasItems(hero, ItMi_Gold) < 200))
{
B_Say (self, hero, "$DIRTYTHIEF");
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
AI_StopProcessInfos (self);
B_Attack (self, hero, AR_Theft, 1);
}
else
{
if (rnd >= 75)
{
B_GiveInvItems (hero, self, ItMi_Gold, 200);
}
else if (rnd >= 50)
{
B_GiveInvItems (hero, self, ItMi_Gold, 100);
}
else if (rnd >= 25)
{
B_GiveInvItems (hero, self, ItMi_Gold, 50);
};
B_Say (self, hero, "$PICKPOCKET_BESTECHUNG_01");
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
AI_StopProcessInfos (self);
};
};
FUNC VOID Info_Mod_Jora_Pickpocket_Herausreden()
{
B_Say (hero, self, "$PICKPOCKET_HERAUSREDEN");
if (r_max(99) < Mod_Verhandlungsgeschick)
{
B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_01");
Info_ClearChoices (Info_Mod_Jora_Pickpocket);
}
else
{
B_Say (self, hero, "$PICKPOCKET_HERAUSREDEN_02");
};
};
INSTANCE Info_Mod_Jora_EXIT (C_INFO)
{
npc = Mod_589_NONE_Jora_NW;
nr = 1;
condition = Info_Mod_Jora_EXIT_Condition;
information = Info_Mod_Jora_EXIT_Info;
permanent = 1;
important = 0;
description = DIALOG_ENDE;
};
FUNC INT Info_Mod_Jora_EXIT_Condition()
{
return 1;
};
FUNC VOID Info_Mod_Jora_EXIT_Info()
{
AI_StopProcessInfos (self);
}; | D |
module epcompat.ordinal;
import std.traits;
/**
An integral type with specified inclusive bounds.
No bounds checking is implemented.
See also bound.d in https://code.dlang.org/packages/phobos-next
*/
// TODO Normaal gesproken zijn EP ranges altijd integers, maar wanneer deel van een packed record wordt
// het kleinst mogelijke base type gezocht. Dat wordt hier geimplementeerd. Maar voor 1-1 compatibiliteit
// is het nodig dat configureerbaar te maken. Helaas heb ik geen trait gevonden voor het opvragen van align().
struct Ordinal(alias lower, alias upper) if (isIntegral!(typeof(lower)) &&
isIntegral!(typeof(upper)))
{
static assert(lower < upper);
private mixin template implementation(T)
{
T _payload = init;
static T init()
{
return lower;
}
static T min()
{
return lower;
}
static T max()
{
return upper;
}
this(long from)
{
opAssign(from);
}
T opAssign(long from)
{
import std.conv;
return _payload = to!T(from);
}
import std.typecons;
mixin Proxy!_payload;
alias _payload this;
}
static if (lower < 0)
{
static if (lower >= byte.min && upper <= byte.max)
{
mixin implementation!byte;
}
else static if (lower >= short.min && upper <= short.max)
{
mixin implementation!short;
}
else static if (lower >= int.min && upper <= int.max)
{
mixin implementation!int;
}
else
{
static assert(lower >= long.min && upper <= long.max);
mixin implementation!long;
}
}
else
{
static if (upper <= ubyte.max)
{
mixin implementation!ubyte;
}
else static if (upper <= ushort.max)
{
mixin implementation!ushort;
}
else static if (upper <= uint.max)
{
mixin implementation!uint;
}
else
{
static assert(upper <= ulong.max);
mixin implementation!ulong;
}
}
}
unittest
{
Ordinal!(-3, 10) o1;
assert(o1.min == -3);
assert(o1.max == 10);
assert(o1.sizeof == 1);
static assert(!__traits(compiles, Ordinal!(33, 6))); // 33 > 6
static assert(Ordinal!(0, 255).sizeof == 1);
static assert(Ordinal!(-1, 255).sizeof == 2);
static assert(Ordinal!(-1, 127).sizeof == 1);
static assert(Ordinal!(-1, 70000).sizeof == 4);
alias O2 = Ordinal!(10, 300);
static assert(O2.min == 10);
static assert(O2.max == 300);
static assert(O2.init == 10);
O2 o2;
assert(o2 == 10);
assert(o2.min == 10);
assert(o2.max == 300);
assert(o2.sizeof == 2);
o2 = 20;
o2 = 300;
import std.conv;
ushort us = to!ushort(o2 + 10);
assert(us == 310);
o2 = us - 10;
assert(o2 == 300);
int i = o2;
assert(i == 300);
o2 = i - 10;
o1 = 10;
o2 = o1;
assert(o2 == 10);
o2++;
assert(o2 == 11);
void intfun(int) {}
void o2fun(O2 arg) {}
intfun(o2);
o2fun(o2);
o2fun(O2(o1));
o2fun(O2(10L));
// http://forum.dlang.org/post/mailman.1513.1310326809.14074.digitalmars-d-learn@puremagic.com
//o2fun(o1); // No implicit argument conversion, sadly.
//o2fun(10); // No implicit argument conversion, sadly.
// TODO bounds check:
//us = 9;
//o2fun(O2(us)); // FIXME Should be illegal.
//o2fun(O2(9)); // FIXME Should be illegal.
//import std.exception;
//assertThrown(o2 = 9);
//assertThrown(o2 = 301);
//o1 = 10;
//assertThrown(o1++);
}
| D |
int main() {
double d1;
double d2;
double d3;
double d4;
double d5;
double d6;
double d7;
double d8;
d1 = 69.82413714;
d2 = 960.7071281;
d3 = 0.5281794697;
d4 = 0.5281794697;
d5 = -5039.128903;
d6 = 7585.800593;
d7 = -11748.63533;
d8 = -13446.89678;
Print(d1 * d2);
Print(d4 * d4);
Print(d5 * d6);
Print(d7 * d8);
}
| D |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.