{"action":"created","comment":{"url":"https://api.github.com/repos/ivanovdmitry/template/pulls/comments/87637236","pull_request_review_id":8245397,"id":87637236,"diff_hunk":"@@ -0,0 +1,50 @@\n+#pragma once\n+\n+#include <functional>\n+#include <list>\n+#include <algorithm>\n+#include <memory>\n+#include <string>\n+\n+using MessageHandler = std::function<void()>;\n+\n+class IObserver // Subscriber\n+{\n+public:\n+  virtual ~IObserver() {}\n+  virtual void SendMessage(MessageHandler) = 0;\n+  virtual bool operator==(IObserver &) = 0;","path":"src/Observer.hpp","position":null,"original_position":16,"commit_id":"2c8f1dce662a28ba40e03db636a3bee6922edc75","original_commit_id":"e70ee8d12e224a8aa9a44b1addd758192a1ef4f0","user":{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},"body":"fix","created_at":"2016-11-11T18:46:08Z","updated_at":"2016-11-11T18:46:08Z","html_url":"https://github.com/ivanovdmitry/template/pull/22#discussion_r87637236","pull_request_url":"https://api.github.com/repos/ivanovdmitry/template/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/ivanovdmitry/template/pulls/comments/87637236"},"html":{"href":"https://github.com/ivanovdmitry/template/pull/22#discussion_r87637236"},"pull_request":{"href":"https://api.github.com/repos/ivanovdmitry/template/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/ivanovdmitry/template/pulls/22","id":93210178,"html_url":"https://github.com/ivanovdmitry/template/pull/22","diff_url":"https://github.com/ivanovdmitry/template/pull/22.diff","patch_url":"https://github.com/ivanovdmitry/template/pull/22.patch","issue_url":"https://api.github.com/repos/ivanovdmitry/template/issues/22","number":22,"state":"open","locked":false,"title":"Observer","user":{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-10T19:01:10Z","updated_at":"2016-11-11T18:46:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"400c0708c429249a2a6f6a753195018b41e53bcd","assignee":{"login":"rokuz","id":5437220,"avatar_url":"https://avatars.githubusercontent.com/u/5437220?v=3","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},"assignees":[{"login":"rokuz","id":5437220,"avatar_url":"https://avatars.githubusercontent.com/u/5437220?v=3","gravatar_id":"","url":"https://api.github.com/users/rokuz","html_url":"https://github.com/rokuz","followers_url":"https://api.github.com/users/rokuz/followers","following_url":"https://api.github.com/users/rokuz/following{/other_user}","gists_url":"https://api.github.com/users/rokuz/gists{/gist_id}","starred_url":"https://api.github.com/users/rokuz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rokuz/subscriptions","organizations_url":"https://api.github.com/users/rokuz/orgs","repos_url":"https://api.github.com/users/rokuz/repos","events_url":"https://api.github.com/users/rokuz/events{/privacy}","received_events_url":"https://api.github.com/users/rokuz/received_events","type":"User","site_admin":false},{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},{"login":"DmitryPetrishchev","id":22403635,"avatar_url":"https://avatars.githubusercontent.com/u/22403635?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryPetrishchev","html_url":"https://github.com/DmitryPetrishchev","followers_url":"https://api.github.com/users/DmitryPetrishchev/followers","following_url":"https://api.github.com/users/DmitryPetrishchev/following{/other_user}","gists_url":"https://api.github.com/users/DmitryPetrishchev/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryPetrishchev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryPetrishchev/subscriptions","organizations_url":"https://api.github.com/users/DmitryPetrishchev/orgs","repos_url":"https://api.github.com/users/DmitryPetrishchev/repos","events_url":"https://api.github.com/users/DmitryPetrishchev/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryPetrishchev/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/ivanovdmitry/template/pulls/22/commits","review_comments_url":"https://api.github.com/repos/ivanovdmitry/template/pulls/22/comments","review_comment_url":"https://api.github.com/repos/ivanovdmitry/template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivanovdmitry/template/issues/22/comments","statuses_url":"https://api.github.com/repos/ivanovdmitry/template/statuses/2c8f1dce662a28ba40e03db636a3bee6922edc75","head":{"label":"ivanovdmitry:Observer","ref":"Observer","sha":"2c8f1dce662a28ba40e03db636a3bee6922edc75","user":{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},"repo":{"id":69765510,"name":"template","full_name":"ivanovdmitry/template","owner":{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanovdmitry/template","description":"Иванов Дмитрий, Петрищев Дмитрий","fork":true,"url":"https://api.github.com/repos/ivanovdmitry/template","forks_url":"https://api.github.com/repos/ivanovdmitry/template/forks","keys_url":"https://api.github.com/repos/ivanovdmitry/template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanovdmitry/template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanovdmitry/template/teams","hooks_url":"https://api.github.com/repos/ivanovdmitry/template/hooks","issue_events_url":"https://api.github.com/repos/ivanovdmitry/template/issues/events{/number}","events_url":"https://api.github.com/repos/ivanovdmitry/template/events","assignees_url":"https://api.github.com/repos/ivanovdmitry/template/assignees{/user}","branches_url":"https://api.github.com/repos/ivanovdmitry/template/branches{/branch}","tags_url":"https://api.github.com/repos/ivanovdmitry/template/tags","blobs_url":"https://api.github.com/repos/ivanovdmitry/template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanovdmitry/template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanovdmitry/template/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanovdmitry/template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanovdmitry/template/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanovdmitry/template/languages","stargazers_url":"https://api.github.com/repos/ivanovdmitry/template/stargazers","contributors_url":"https://api.github.com/repos/ivanovdmitry/template/contributors","subscribers_url":"https://api.github.com/repos/ivanovdmitry/template/subscribers","subscription_url":"https://api.github.com/repos/ivanovdmitry/template/subscription","commits_url":"https://api.github.com/repos/ivanovdmitry/template/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanovdmitry/template/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanovdmitry/template/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanovdmitry/template/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanovdmitry/template/contents/{+path}","compare_url":"https://api.github.com/repos/ivanovdmitry/template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanovdmitry/template/merges","archive_url":"https://api.github.com/repos/ivanovdmitry/template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanovdmitry/template/downloads","issues_url":"https://api.github.com/repos/ivanovdmitry/template/issues{/number}","pulls_url":"https://api.github.com/repos/ivanovdmitry/template/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanovdmitry/template/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanovdmitry/template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanovdmitry/template/labels{/name}","releases_url":"https://api.github.com/repos/ivanovdmitry/template/releases{/id}","deployments_url":"https://api.github.com/repos/ivanovdmitry/template/deployments","created_at":"2016-10-01T21:45:30Z","updated_at":"2016-10-27T19:21:31Z","pushed_at":"2016-11-11T18:45:17Z","git_url":"git://github.com/ivanovdmitry/template.git","ssh_url":"git@github.com:ivanovdmitry/template.git","clone_url":"https://github.com/ivanovdmitry/template.git","svn_url":"https://github.com/ivanovdmitry/template","homepage":"","size":114,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ivanovdmitry:master","ref":"master","sha":"7cd1b2977584842d7df64555ccb577fb91ee4cec","user":{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},"repo":{"id":69765510,"name":"template","full_name":"ivanovdmitry/template","owner":{"login":"ivanovdmitry","id":11354019,"avatar_url":"https://avatars.githubusercontent.com/u/11354019?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanovdmitry","html_url":"https://github.com/ivanovdmitry","followers_url":"https://api.github.com/users/ivanovdmitry/followers","following_url":"https://api.github.com/users/ivanovdmitry/following{/other_user}","gists_url":"https://api.github.com/users/ivanovdmitry/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanovdmitry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanovdmitry/subscriptions","organizations_url":"https://api.github.com/users/ivanovdmitry/orgs","repos_url":"https://api.github.com/users/ivanovdmitry/repos","events_url":"https://api.github.com/users/ivanovdmitry/events{/privacy}","received_events_url":"https://api.github.com/users/ivanovdmitry/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanovdmitry/template","description":"Иванов Дмитрий, Петрищев Дмитрий","fork":true,"url":"https://api.github.com/repos/ivanovdmitry/template","forks_url":"https://api.github.com/repos/ivanovdmitry/template/forks","keys_url":"https://api.github.com/repos/ivanovdmitry/template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanovdmitry/template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanovdmitry/template/teams","hooks_url":"https://api.github.com/repos/ivanovdmitry/template/hooks","issue_events_url":"https://api.github.com/repos/ivanovdmitry/template/issues/events{/number}","events_url":"https://api.github.com/repos/ivanovdmitry/template/events","assignees_url":"https://api.github.com/repos/ivanovdmitry/template/assignees{/user}","branches_url":"https://api.github.com/repos/ivanovdmitry/template/branches{/branch}","tags_url":"https://api.github.com/repos/ivanovdmitry/template/tags","blobs_url":"https://api.github.com/repos/ivanovdmitry/template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanovdmitry/template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanovdmitry/template/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanovdmitry/template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanovdmitry/template/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanovdmitry/template/languages","stargazers_url":"https://api.github.com/repos/ivanovdmitry/template/stargazers","contributors_url":"https://api.github.com/repos/ivanovdmitry/template/contributors","subscribers_url":"https://api.github.com/repos/ivanovdmitry/template/subscribers","subscription_url":"https://api.github.com/repos/ivanovdmitry/template/subscription","commits_url":"https://api.github.com/repos/ivanovdmitry/template/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanovdmitry/template/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanovdmitry/template/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanovdmitry/template/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanovdmitry/template/contents/{+path}","compare_url":"https://api.github.com/repos/ivanovdmitry/template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanovdmitry/template/merges","archive_url":"https://api.github.com/repos/ivanovdmitry/template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanovdmitry/template/downloads","issues_url":"https://api.github.com/repos/ivanovdmitry/template/issues{/number}","pulls_url":"https://api.github.com/repos/ivanovdmitry/template/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanovdmitry/template/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanovdmitry/template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanovdmitry/template/labels{/name}","releases_url":"https://api.github.com/repos/ivanovdmitry/template/releases{/id}","deployments_url":"https://api.github.com/repos/ivanovdmitry/template/deployments","created_at":"2016-10-01T21:45:30Z","updated_at":"2016-10-27T19:21:31Z","pushed_at":"2016-11-11T18:45:17Z","git_url":"git://github.com/ivanovdmitry/template.git","ssh_url":"git@github.com:ivanovdmitry/template.git","clone_url":"https://github.com/ivanovdmitry/template.git","svn_url":"https://github.com/ivanovdmitry/template","homepage":"","size":114,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivanovdmitry/template/pulls/22"},"html":{"href":"https://github.com/ivanovdmitry/template/pull/22"},"issue":{"href":"https://api.github.com/repos/ivanovdmitry/template/issues/22"},"comments":{"href":"https://api.github.com/repos/ivanovdmitry/template/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/ivanovdmitry/template/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/ivanovdmitry/template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivanovdmitry/template/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/ivanovdmitry/template/statuses/2c8f1dce662a28ba40e03db636a3bee6922edc75"}}}}
{"actor":{"display_login":"ivanovdmitry"}}