<Ui xmlns="http://www.blizzard.com/wow/ui/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.blizzard.com/wow/ui/
..\FrameXML\UI.xsd">
	<Script file="GuildInfoTable.lua" />

	<Frame name="GprofileFrame" toplevel="true" enableMouse="true" movable="true" parent="GuildFrameLFGFrame">
        <Size>
            <AbsDimension x="40" y="22" />
		</Size>
		<Anchors>
			<Anchor point="LEFT">
				<Offset>
					<AbsDimension x="0" y="0" />
				</Offset>
			</Anchor>
		</Anchors>
		<Frames>
			<Button name="GuildframeSaveButton" hidden="false" inherits="UIPanelButtonTemplate" text="Save">
				<Size>
					<AbsDimension x="40" y="22" />
				</Size>
				<Anchors>
					<Anchor point="CENTER">
						<Offset>
							<AbsDimension x="-60" y="0" />
						</Offset>
					</Anchor>
				</Anchors>
				<Scripts>
					<OnLoad>
					</OnLoad>
					<OnClick>
				        GuildInfoTable_GetMembers();
				    </OnClick>
					<OnEnter>
                    </OnEnter>
					<OnLeave>
				    </OnLeave>
				</Scripts>
			</Button>
		</Frames>
		<Scripts>
			<OnLoad>
			     GuildRosterFrame_OnLoad();
                 this:RegisterEvent("GUILD_ROSTER_UPDATE");
			</OnLoad>
			<OnEvent>
                debug("Got event"..event);
                if (event == "GUILD_ROSTER_UPDATE") then
                    GuildInfoTable_GetMembers();
                end
            </OnEvent>
		</Scripts>
	</Frame>
	<GameTooltip name="ProfileHiddenTooltip" inherits="GameTooltipTemplate" parent="UIParent" hidden="true" />
</Ui>
